Moved all of the styles in to Flex from my website
This commit is contained in:
parent
0d56e19d6a
commit
9b3495da5d
4 changed files with 160 additions and 6 deletions
|
@ -293,7 +293,7 @@ main {
|
|||
font-size: 11px;
|
||||
}
|
||||
|
||||
// Flex theme and Theme selection separator
|
||||
// Flex credits and theme selection separator
|
||||
span.footer-separator {
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
@ -694,3 +694,17 @@ div.admonition.warning {
|
|||
color: @admonition-warning-color;
|
||||
background-color: @admonition-warning-bg-color;
|
||||
}
|
||||
|
||||
//
|
||||
// Dark Theme
|
||||
//
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html:not(.light-theme) {
|
||||
@import (multiple) "dark-theme.less";
|
||||
}
|
||||
}
|
||||
|
||||
html.dark-theme {
|
||||
@import (multiple) "dark-theme.less";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue