Fix hero BG
This commit is contained in:
@ -48,6 +48,13 @@ ul {
|
|||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.dark-mode .hero {
|
||||||
|
background: url(/img/hero-bg-invert.png);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-color: #282828;
|
||||||
|
}
|
||||||
|
|
||||||
.hero ul {
|
.hero ul {
|
||||||
font-size: 20pt;
|
font-size: 20pt;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@ -56,6 +63,10 @@ ul {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.dark-mode .hero * {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.hero ul li {
|
.hero ul li {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
BIN
static/img/hero-bg-invert.png
Normal file
BIN
static/img/hero-bg-invert.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 145 KiB |
Reference in New Issue
Block a user