pattern / assets /css /styles.css
AAZ1215's picture
dark_mode (#3)
b5f9fcc verified
:root {
--bg-primary: #ffffff;
--bg-secondary: #f1f3f6;
--text-primary: #000000;
--text-secondary: #333333;
--border-color: #4a90e2;
--shadow-color: rgba(0, 0, 0, 0.1);
}
/* Dark mode */
[data-theme="dark"] {
--bg-primary: #1e1e1e;
--bg-secondary: #2d2d2d;
--text-primary: #ffffff;
--text-secondary: #e0e0e0;
--border-color: #6bb6ff;
--shadow-color: rgba(0, 0, 0, 0.3);
}
body {
font-family: 'Segoe UI', sans-serif;
background-color: var(--bg-primary);
color: var(--text-primary);
}
.block-container {
max-width: 900px;
margin: 0 auto;
padding: 2rem;
}
.project-header {
text-align: center;
margin-top: 1rem;
margin-bottom: 2rem;
}
.home-container {
display: flex;
justify-content: center;
align-items: center;
height: 70vh;
}
.home-card {
background: var(--bg-primary);
border-radius: 12px;
padding: 2rem;
box-shadow: 0 8px 20px var(--shadow-color);
max-width: 600px;
text-align: center;
}
.about-box {
background-color: var(--bg-secondary);
border-left: 5px solid var(--border-color);
padding: 1rem;
margin-bottom: 1.5rem;
border-radius: 6px;
font-size: 0.95rem;
color: var(--text-secondary);
}
img {
border-radius: 10px;
}
/* Reduce sidebar width */
.css-1d391kg, .css-1d391kg > div {
width: 250px !important;
}
/* Standard text sizes */
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
p, li { font-size: 1rem; }
/* Sidebar tweaks */
.css-1lcbmhc { padding-top: 2rem; }
@media (prefers-color-scheme: dark) {
:root {
--bg-primary: #1e1e1e;
--bg-secondary: #2d2d2d;
--text-primary: #ffffff;
--text-secondary: #e0e0e0;
--border-color: #6bb6ff;
--shadow-color: rgba(0, 0, 0, 0.3);
}
}