Fix: \n 1. Set GitHub contributions calendar scroll position to start at right-most (latest date). \n 2. Set GitHub contributions calendar first column with day of week axis labels to fixed position above scrollable rest of table. \n 3. Removed light-mode-icon.svg

This commit is contained in:
2025-03-06 17:09:33 +00:00
parent e5e29273a9
commit e1597f496f
12 changed files with 47 additions and 61 deletions

12
styles/layouts/footer.css Normal file
View File

@@ -0,0 +1,12 @@
/* Footer styles */
footer {
background-color: var(--primary-colour);
color: var(--text-background-colour);
text-align: center;
padding: 2rem 1rem;
margin-top: 4rem;
}
footer a {
color: var(--text-background-colour);
}

12
styles/layouts/header.css Normal file
View File

@@ -0,0 +1,12 @@
/* Header styles */
header {
background-color: var(--primary-colour);
color: var(--text-background-colour);
padding: 2rem 1rem;
text-align: center;
}
header h1 {
color: var(--text-background-colour);
}

View File

@@ -0,0 +1,30 @@
/* 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;
flex-wrap: wrap;
}
nav ul li {
margin-top: auto;
margin-bottom: auto;
}
nav a {
color: var(--text-background-colour);
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
nav a:hover {
color: var(--accent-colour);
}