Skip to content

Commit 73df3d1

Browse files
微調整
asideと専門事業用のtableのコントラスト比が低いため、文字の色と透過度を調整。 携帯で選択した時に背景色が一瞬青色になるのを修正(半透明の白になるように変更)
1 parent efde4ef commit 73df3d1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

style.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ aside p:hover, aside p:focus
123123
/* # ダークモード # */
124124
@media (prefers-color-scheme: dark)
125125
{
126-
aside p{opacity: 0.7;}
126+
aside p
127+
{
128+
opacity: 0.8;
129+
color: black;
130+
}
127131
aside p:hover, aside p:focus{opacity: 1.0;}
128132
aside p a{opacity: 1.0;}
129133
}
@@ -137,8 +141,8 @@ aside p:hover, aside p:focus
137141
/* # ダークモード # */
138142
@media (prefers-color-scheme: dark)
139143
{
140-
aside p a {color: #d0adf0;}
141-
aside p a:hover, aside p a:focus{color: #9e9eff;}
144+
aside p a {color: black;}
145+
aside p a:hover, aside p a:focus{color: black;}
142146
}
143147

144148
/* # ダークモード # */
@@ -167,6 +171,9 @@ aside p:hover, aside p:focus
167171
footer b p{font-size: 2.0rem;}
168172
}
169173

174+
/* # 携帯のタップした一瞬の時の色を透明に変更 # */
175+
a:active{-webkit-tap-highlight-color: rgba(255, 255, 255, .15);}
176+
170177
/* # # 範囲選択の時の文字の色 # # */
171178
/* # ライトモード # */
172179
@media (prefers-color-scheme: light)

0 commit comments

Comments
 (0)