Initial commit. Color scheme. Navbar.
This commit is contained in:
58
style.css
Normal file
58
style.css
Normal file
@@ -0,0 +1,58 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
--background: #070F2B;
|
||||
--primary: #9290C3;
|
||||
--secondary: #535C91;
|
||||
--highlight: #1B1A55;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--primary);
|
||||
margin: 0;
|
||||
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
|
||||
nav {
|
||||
/* display: flex; */
|
||||
/* flex-direction: row; */
|
||||
border-radius: 1rem;
|
||||
background-color: var(--highlight);
|
||||
margin: 1rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-links > a {
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
color: var(--primarxy);
|
||||
text-decoration: none;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.nav-links > a:hover {
|
||||
background-color: var(--secondary);
|
||||
}
|
||||
|
||||
.nav-links:last-child {
|
||||
padding-right: 0.75rem;
|
||||
}
|
||||
|
||||
.nav-logo {
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.nav-logo > img {
|
||||
height: 2.5rem;
|
||||
}
|
||||
Reference in New Issue
Block a user