dynamise gradient colors

This commit is contained in:
sakrecoer 2020-08-05 11:35:30 +02:00
parent e8b32e4519
commit 95ee751fa7
3 changed files with 7 additions and 7 deletions

View file

@ -211,7 +211,7 @@ a:hover {
}
.linksbg {
background-size: 100%;
background: rgb(31,23,41);
background: linear-gradient(180deg, rgba(31,23,41,1) 26%, rgba(56,255,89,0.25) 100%);
background: _palette(bg);
background: linear-gradient(180deg, _palette(bg) 26%, _palette(accent2-alt) 100%);
}

View file

@ -124,9 +124,9 @@ nav {
padding: 20px;
border-radius: 3px;
background: rgb(0, 31, 36);
background: -moz-linear-gradient(#000, rgb(0, 31, 36));
background: -webkit-linear-gradient(#000, rgb(0, 31, 36));
background: -o-linear-gradient(#000, rgb(0, 31, 36));
background: -moz-linear-gradient(_palette(border), _palette(bg));
background: -webkit-linear-gradient(_palette(border), _palette(bg));
background: -o-linear-gradient(_palette(border), _palette(bg));
}
.close-button {

View file

@ -7,8 +7,8 @@
padding: 0;
margin: 0;
background-size: 100%;
background: rgb(31,23,41);
background: linear-gradient(180deg, rgba(31,23,41,1) 26%, rgba(56,255,89,0.25) 100%);
background: _palette(bg-alt);
background: linear-gradient(180deg, _palette(bg-alt) 0%, _palette(accent1-alt) 180%);
> section {
position: absolute;