163 lines
3.8 KiB
CSS
163 lines
3.8 KiB
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));
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Thin.ttf") format("ttf");
|
|
font-weight: 100;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-ExtraLight.ttf") format("ttf");
|
|
font-weight: 200;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Light.ttf") format("ttf");
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Regular.ttf") format("ttf");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Medium.ttf") format("ttf");
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-SemiBold.ttf") format("ttf");
|
|
font-weight: 600;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Bold.ttf") format("ttf");
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-ExtraBold.ttf") format("ttf");
|
|
font-weight: 800;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-ThinItalic.ttf") format("ttf");
|
|
font-weight: 100;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-ExtraLightItalic.ttf") format("ttf");
|
|
font-weight: 200;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-LightItalic.ttf") format("ttf");
|
|
font-weight: 300;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-Italic.ttf") format("ttf");
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-MediumItalic.ttf") format("ttf");
|
|
font-weight: 500;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-SemiBoldItalic.ttf") format("ttf");
|
|
font-weight: 600;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-BoldItalic.ttf") format("ttf");
|
|
font-weight: 700;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "MapleMono";
|
|
src: url("/fonts/MapleMono-ExtraBoldItalic.ttf") format("ttf");
|
|
font-weight: 800;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
font-family: "MapleMono", monospace;
|
|
}
|