VirtualStaining / style.css
edyoshikun's picture
hugginface activates light and dark with default theme settings.
0ca2db3
raw
history blame
1.21 kB
/* Default styling for light mode */
.title-block, .description-block, .article-block {
background-color: #f0f0f0 !important; /* 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 !important; /* Dark text for light mode */
}
.description-block {
font-size: 18px;
color: #444 !important; /* Slightly lighter text for light mode */
}
.article-block {
font-size: 16px;
margin-top: 30px;
color: #555 !important; /* Even lighter text for light mode */
}
/* Dark mode styling */
@media (prefers-color-scheme: dark) {
.title-block, .description-block, .article-block {
background-color: #2b2b2b !important; /* Dark background for dark mode */
color: #f0f0f0 !important; /* Light text for dark mode */
}
.title-block {
color: #e0e0e0 !important; /* Light text for dark mode */
}
.description-block {
color: #d0d0d0 !important; /* Lighter text for dark mode */
}
.article-block {
color: #c0c0c0 !important; /* Even lighter text for dark mode */
}
}