mirror of https://github.com/jlelse/GoBlog
Finally fix styles
This commit is contained in:
parent
2855c4724e
commit
19bb3e62ed
|
@ -53,12 +53,14 @@ body {
|
|||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
|
||||
*:not([class*='c-']) {
|
||||
@include color(color, primary);
|
||||
}
|
||||
* {
|
||||
@include color(color, primary);
|
||||
max-width: 100%;
|
||||
}
|
||||
[class*='c-'] {
|
||||
// monokai is dark, so we need to use light color for text
|
||||
color: #{map-get($colors, primary-dark)};
|
||||
}
|
||||
*::selection {
|
||||
@include color(color, background);
|
||||
@include color(background, primary);
|
||||
|
|
|
@ -30,13 +30,14 @@ body {
|
|||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
body *:not([class*=c-]) {
|
||||
body * {
|
||||
color: #000;
|
||||
color: var(--primary, #000);
|
||||
}
|
||||
body * {
|
||||
max-width: 100%;
|
||||
}
|
||||
body [class*=c-] {
|
||||
color: #fff;
|
||||
}
|
||||
body *::selection {
|
||||
color: #fff;
|
||||
color: var(--background, #fff);
|
||||
|
|
Loading…
Reference in New Issue