Files
masha_site/assets/css/extended/custom.css
2025-09-24 12:23:47 +03:00

45 lines
948 B
CSS

:root {
--theme: 255, 255, 255;
--entry: 248, 249, 250;
--primary: 17, 17, 17;
--secondary: 90, 90, 90;
--content: 36, 36, 36;
}
body {
background: rgb(var(--theme));
}
.main {
max-width: 820px;
}
.profile .profile-title {
letter-spacing: 0.2px;
}
.profile .profile-subtitle {
opacity: 0.85;
}
.profile img {
border-radius: 20px; /* скругление углов */
object-fit: cover; /* чтобы картинка обрезалась ровно */
max-width: 260px; /* можно увеличить, если нужно */
height: auto;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* лёгкая тень */
}
/* Blog specific styles */
.post-entry {
margin-bottom: 2rem;
padding: 1.5rem;
background: rgba(var(--entry), 0.8);
border-radius: 8px;
transition: transform 0.2s;
}
.post-entry:hover {
transform: translateY(-2px);
}
.entry-content h2 {
margin-top: 2rem;
color: rgb(var(--primary));
}