1
0
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:
2020-12-21 22:46:29 +01:00
parent 81af41da3a
commit ee70883246
105 changed files with 4069 additions and 1785 deletions

View File

@ -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;
}