Header card tweaks
This commit is contained in:
parent
7e9cf5c478
commit
db98015d41
3 changed files with 38 additions and 4 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1189,6 +1189,14 @@ except for when immediately preceeded by a heading */
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-sans);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kg-header-card h2.kg-header-card-header {
|
||||||
|
color: color-mod(var(--color-darkgrey) l(-5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
.has-serif-title .kg-header-card h2.kg-header-card-header {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Captions */
|
/* Captions */
|
||||||
figcaption {
|
figcaption {
|
||||||
|
@ -1848,7 +1856,7 @@ html.dark-mode .gh-content :not(pre) > code {
|
||||||
color: var(--color-wash);
|
color: var(--color-wash);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.dark-mode .gh-content a:not(.kg-btn):not(.kg-nft-card-container) {
|
html.dark-mode .gh-content a:not(.kg-btn):not(.kg-nft-card-container):not(.kg-product-card-button):not(.kg-header-card-button) {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1905,6 +1913,19 @@ html.dark-mode .site-archive-header .no-image {
|
||||||
background: var(--color-darkmode);
|
background: var(--color-darkmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.dark-mode .kg-header-card.kg-style-dark {
|
||||||
|
background: color-mod(var(--color-darkgrey) l(-5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
html.dark-mode .kg-header-card.kg-style-light {
|
||||||
|
background: color-mod(var(--color-darkgrey) l(+5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
html.dark-mode .kg-header-card h2.kg-header-card-header,
|
||||||
|
html.dark-mode .kg-header-card h3.kg-header-card-subheader {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
html.auto-color body {
|
html.auto-color body {
|
||||||
color: rgba(255, 255, 255, 0.75);
|
color: rgba(255, 255, 255, 0.75);
|
||||||
|
@ -1986,7 +2007,7 @@ html.dark-mode .site-archive-header .no-image {
|
||||||
color: var(--color-wash);
|
color: var(--color-wash);
|
||||||
}
|
}
|
||||||
|
|
||||||
html.auto-color .gh-content a:not(.kg-btn):not(.kg-nft-card-container) {
|
html.auto-color .gh-content a:not(.kg-btn):not(.kg-nft-card-container):not(.kg-product-card-button):not(.kg-header-card-button) {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2042,6 +2063,19 @@ html.dark-mode .site-archive-header .no-image {
|
||||||
color: rgba(255, 255, 255, 0.9);
|
color: rgba(255, 255, 255, 0.9);
|
||||||
background: var(--color-darkmode);
|
background: var(--color-darkmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.auto-color .kg-header-card.kg-style-dark {
|
||||||
|
background: color-mod(var(--color-darkgrey) l(-5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
html.auto-color .kg-header-card.kg-style-light {
|
||||||
|
background: color-mod(var(--color-darkgrey) l(+5%));
|
||||||
|
}
|
||||||
|
|
||||||
|
html.auto-color .kg-header-card h2.kg-header-card-header,
|
||||||
|
html.auto-color .kg-header-card h3.kg-header-card-subheader {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue