mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
docs: add dark mode for course banners
This commit is contained in:
parent
945df6d53a
commit
d8234140a6
@ -432,10 +432,13 @@ html[data-theme='dark'] .links-container {
|
||||
border: var(--ifm-global-border-width) solid var(--ifm-color-emphasis-200);
|
||||
padding: var(--banner-padding);
|
||||
border-radius: var(--ifm-global-radius);
|
||||
background-color: #F1F0FC;
|
||||
background-position: top right;
|
||||
background-repeat: no-repeat;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
html[data-theme='light'] .course-banner-container {
|
||||
background-color: #F1F0FC;
|
||||
color: var(--banner-font-color);
|
||||
}
|
||||
|
||||
@ -453,13 +456,22 @@ html[data-theme='dark'] .links-container {
|
||||
}
|
||||
|
||||
.course-banner-container .level {
|
||||
border: 2px solid var(--ifm-link-color);
|
||||
border: 2px solid;
|
||||
border-radius: 60px;
|
||||
color: var(--unleash-logo-purple);
|
||||
padding-inline: .5em;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
html[data-theme='light'] .course-banner-container .level {
|
||||
border-color: var(--unleash-logo-purple);
|
||||
color: var(--unleash-logo-purple);
|
||||
}
|
||||
|
||||
html[data-theme='dark'] .course-banner-container .level {
|
||||
border-color: var(--ifm-link-color);
|
||||
color: var(--ifm-link-color);
|
||||
}
|
||||
|
||||
.course-banner-container p {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user