Skip to content

Commit f676277

Browse files
committed
Slightly nicer language switch colors
1 parent 44adf31 commit f676277

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

assets/css/custom.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
}
7373

7474
.language-switch-button {
75-
background-color: rgba(0, 0, 0, 0.5);
75+
background-color: rgba(128, 128, 128, 1);
7676
border-width: 2px;
7777
border-style: solid;
7878
border-color: white;
@@ -81,16 +81,15 @@
8181
padding: 5px 10px;
8282
cursor: pointer;
8383
transition: opacity 0.3s, background-color 0.3s;
84-
opacity: 0.7;
84+
opacity: 1;
8585
}
8686

8787
body.page-language-js .language-switch-button.lang-js,
8888
body.page-language-ts .language-switch-button.lang-ts {
8989
background-color: black;
90-
color: white;
9190
}
9291

9392
.language-switch-button:hover {
94-
opacity: 1;
95-
background-color: rgba(0, 0, 0, 0.8);
93+
opacity: 0.8;
94+
background-color: rgba(20, 20, 20, 0.8);
9695
}

0 commit comments

Comments
 (0)