Adjust background color for mobile navigation menu
This commit is contained in:
3
assets/css/colors.css
Normal file
3
assets/css/colors.css
Normal file
@@ -0,0 +1,3 @@
|
||||
:root {
|
||||
--background-color: #f4f4f4;
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
@import url('fonts.css');
|
||||
@import url('navigation.css');
|
||||
@import url('colors.css');
|
||||
|
||||
html {
|
||||
background-color: #f4f4f4;
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
@@ -90,9 +90,8 @@
|
||||
left: -100%;
|
||||
top: 80px;
|
||||
flex-direction: column;
|
||||
background-color: white;
|
||||
background-color: var(--background-color);
|
||||
width: 100%;
|
||||
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
|
||||
z-index: 1000;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user