mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
variant: move color-dependend properties
This commit is contained in:
parent
911ec6fa86
commit
013dcc0ba7
2 changed files with 5 additions and 3 deletions
|
@ -1066,7 +1066,6 @@ option {
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand > label:after {
|
.expand > label:after {
|
||||||
background-color: var(--INTERNAL-MAIN-LINK-HOVER-color);
|
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
|
@ -1629,10 +1628,8 @@ article ul > li > input[type="checkbox"] {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
/* For iOS < 15 */
|
/* For iOS < 15 */
|
||||||
background-color: var(--INTERNAL-MAIN-BG-color); /* box background */
|
|
||||||
border: 0.15em solid currentColor;
|
border: 0.15em solid currentColor;
|
||||||
border-radius: 0.15em;
|
border-radius: 0.15em;
|
||||||
color: var(--INTERNAL-MAIN-TEXT-color);
|
|
||||||
display: inline-grid;
|
display: inline-grid;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
height: 1.15em;
|
height: 1.15em;
|
||||||
|
|
|
@ -365,6 +365,11 @@ pre .copy-to-clipboard-button:hover {
|
||||||
--VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BG-color);
|
--VARIABLE-BOX-BG-color: var(--INTERNAL-BOX-BG-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
article ul > li > input[type="checkbox"] {
|
||||||
|
background-color: var(--INTERNAL-MAIN-BG-color); /* box background */
|
||||||
|
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||||
|
}
|
||||||
|
|
||||||
#body .tab-nav-button {
|
#body .tab-nav-button {
|
||||||
color: var(--INTERNAL-MAIN-TEXT-color);
|
color: var(--INTERNAL-MAIN-TEXT-color);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue