mirror of
https://github.com/ZetaKebab/kesper.git
synced 2025-07-01 09:27:37 +00:00
Use accent color as header background when there is no cover image
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
|
||||
:root {
|
||||
/* Colours */
|
||||
--brand: #ff383c;
|
||||
--brand: #296EB4;
|
||||
--blue: #3eb0ef;
|
||||
--green: #a4d037;
|
||||
--purple: #ad26b4;
|
||||
|
@ -114,7 +114,7 @@ body {
|
||||
margin-top: 64px;
|
||||
padding-bottom: 12px;
|
||||
color: #fff;
|
||||
background: color-mod(var(--darkgrey) l(-5%)) no-repeat center center;
|
||||
background: var(--brand) no-repeat center center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
@ -283,7 +283,7 @@ body {
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
background: color-mod(var(--darkgrey) l(-5%));
|
||||
background: var(--brand);
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
@ -303,22 +303,6 @@ body {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.site-header-background:not(.responsive-header-img) .site-nav-left-wrapper:after,
|
||||
.site-nav-main .site-nav-left-wrapper:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
width: 40px;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.site-header-background:not(.responsive-header-img) .site-nav-left-wrapper:after,
|
||||
.site-nav-main .site-nav-left-wrapper:after {
|
||||
right: 0;
|
||||
background: linear-gradient(to right, color-mod(var(--darkgrey) l(-5%) a(0)) 0%,color-mod(var(--darkgrey) l(-5%)) 100%);
|
||||
}
|
||||
|
||||
.site-nav-left {
|
||||
flex: 1 0 auto;
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user