mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 09:11:51 +02:00
(v1.4.0.9042) auto dark theme website
This commit is contained in:
@ -24,6 +24,14 @@
|
||||
# how to conduct AMR analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
*/
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.navbar-default {
|
||||
background-color: #213730;
|
||||
}
|
||||
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
|
||||
background-color: #355951;
|
||||
}
|
||||
}
|
||||
|
||||
/* R for Data Science (r4ds) */
|
||||
#r4ds a {
|
||||
@ -98,7 +106,7 @@ pre, code {
|
||||
font-family: 'Courier New', monospace;
|
||||
font-size: 100% !important;
|
||||
font-weight: bold;
|
||||
background-color: #f4f4f4;
|
||||
/*background-color: #f4f4f4*/;
|
||||
}
|
||||
pre {
|
||||
font-size: 90% !important;
|
||||
@ -201,6 +209,16 @@ thead ~ tbody {
|
||||
/* only when it has a header */
|
||||
border-bottom: 2px solid black;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
thead {
|
||||
border-top: 2px solid white;
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
thead ~ tbody {
|
||||
/* only when it has a header */
|
||||
border-bottom: 2px solid white;
|
||||
}
|
||||
}
|
||||
thead th {
|
||||
text-align: inherit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user