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:
55
styles/pages/home/home.css
Normal file
55
styles/pages/home/home.css
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
|
||||
/* Main content styles */
|
||||
main {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ul, li {
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* Common card styles */
|
||||
.expertise-card,
|
||||
.project-card,
|
||||
.experience-card {
|
||||
background: var(--text-background-colour);
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
margin-bottom: 2rem;
|
||||
margin-top: 2rem;
|
||||
padding-left: 1.5vw;
|
||||
padding-right: 1.5vw;
|
||||
}
|
||||
.expertise-card h3,
|
||||
.project-card h3,
|
||||
.experience-card h3 {
|
||||
color: var(--secondary-colour);
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@media (max-width: 768px) {
|
||||
nav ul {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.expertise-grid,
|
||||
.projects-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user