Spaces:
Running
Running
/* Default styling for light mode */ | |
.title-block, .description-block, .article-block { | |
background-color: #f0f0f0; /* Light background for light mode */ | |
border-radius: 10px; | |
padding: 20px; | |
margin-bottom: 20px; | |
text-align: center; | |
} | |
.title-block { | |
font-size: 28px; | |
font-weight: bold; | |
color: #333; /* Dark text for light mode */ | |
} | |
.description-block { | |
font-size: 18px; | |
color: #444; /* Slightly lighter text for light mode */ | |
} | |
.article-block { | |
font-size: 16px; | |
margin-top: 30px; | |
color: #555; /* Even lighter text for light mode */ | |
} | |
/* Dark mode styling */ | |
@media (prefers-color-scheme: dark) { | |
.title-block, .description-block, .article-block { | |
background-color: #2b2b2b; /* Dark background for dark mode */ | |
color: #f0f0f0; /* Light text for dark mode */ | |
} | |
.title-block { | |
color: #e0e0e0; /* Light text for dark mode */ | |
} | |
.description-block { | |
color: #d0d0d0; /* Lighter text for dark mode */ | |
} | |
.article-block { | |
color: #c0c0c0; /* Even lighter text for dark mode */ | |
} | |
} | |