Fix(Structure): Split styles.css into separate files for different components and sections.
This commit is contained in:
26
styles/navigation.css
Normal file
26
styles/navigation.css
Normal file
@@ -0,0 +1,26 @@
|
||||
/* Navigation */
|
||||
nav {
|
||||
background-color: var(--secondary-colour);
|
||||
padding: 1rem;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
nav a {
|
||||
color: var(--text-background-colour);
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: var(--accent-colour);
|
||||
}
|
||||
Reference in New Issue
Block a user