remove unused styles and variables, code cleanup
remove color values and variable from Navigation.astro add extra whitespace in style tag for Footer.astro
This commit is contained in:
parent
7f1ce46495
commit
42d47d1cdb
@ -25,6 +25,7 @@ const backgroundColorNightMode = "#240046";
|
||||
font-size: 1.3rem;
|
||||
letter-spacing: 0.05rem;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
footer {
|
||||
background-color: var(--backgroundColorNightMode);
|
||||
|
@ -1,9 +1,6 @@
|
||||
---
|
||||
const backgroundColor = "#ffd4de";
|
||||
const backgroundColorNightMode = "#240046";
|
||||
const transPrideBlue = "#5bcefa";
|
||||
const transPridePink = "#f5a9b8";
|
||||
const transPrideWhite = "#ffffff";
|
||||
---
|
||||
|
||||
<nav>
|
||||
@ -37,7 +34,7 @@ const transPrideWhite = "#ffffff";
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<style define:vars={{backgroundColor, backgroundColorNightMode, transPrideBlue, transPridePink, transPrideWhite}}>
|
||||
<style define:vars={{backgroundColor, backgroundColorNightMode}}>
|
||||
nav {
|
||||
background-color: var(--backgroundColor);
|
||||
grid-row: 2/3;
|
||||
@ -52,17 +49,6 @@ const transPrideWhite = "#ffffff";
|
||||
padding-top: 0.75rem;
|
||||
padding-left: 1.5rem;
|
||||
border-radius: 25px;
|
||||
/* border-right: 10px solid;
|
||||
border-image-slice: 1;
|
||||
border-width: 5px;
|
||||
border-image-source: linear-gradient(
|
||||
to bottom,
|
||||
var(--transPrideBlue) 0 20%,
|
||||
var(--transPridePink) 20% 40%,
|
||||
var(--transPrideWhite) 40% 60%,
|
||||
var(--transPridePink) 60% 80%,
|
||||
var(--transPrideBlue) 80%
|
||||
); */
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
|
Loading…
x
Reference in New Issue
Block a user