website/static/custom.css

99 lines
1.6 KiB
CSS
Raw Normal View History

2023-10-21 12:46:00 +03:00
:root {
2024-09-06 14:52:16 +03:00
--font: "Onest", sans-serif;
2023-10-21 12:46:00 +03:00
--bg-color: #15171f;
--font-color: #dadada;
2024-07-23 10:49:55 +03:00
--nav-font-color: white;
2024-07-23 15:51:08 +03:00
--font-size: 1.2rem;
2024-09-06 14:52:16 +03:00
}
@font-face {
2023-10-21 12:46:00 +03:00
src: url("./fonts/Onest-Medium.ttf");
font-family: "Onest";
2024-07-23 11:45:39 +03:00
font-weight: bold;
2024-09-06 14:52:16 +03:00
}
@font-face {
2023-10-21 12:46:00 +03:00
src: url("./fonts/Onest-Regular.ttf");
font-family: "Onest";
2024-07-23 11:45:39 +03:00
font-weight: normal;
2024-09-06 14:52:16 +03:00
}
body {
2024-07-23 10:49:55 +03:00
margin: 1rem auto;
2023-10-21 12:46:00 +03:00
background-color: var(--bg-color);
font-family: var(--font);
color: var(--font-color);
font-size: var(--font-size);
2024-07-23 10:49:55 +03:00
line-height: 1.8;
2024-08-23 16:06:35 +03:00
max-width: min(54rem, 85%);
2024-07-23 10:49:55 +03:00
padding: 0 1rem;
2024-09-06 14:52:16 +03:00
}
nav * {
margin-right: 1rem;
color: var(--nav-font-color);
}
img {
max-inline-size: 85%;
block-size: auto;
display: block;
margin-left: auto;
margin-right: auto;
}
.mc {
2024-03-13 20:35:24 +03:00
overflow-x: auto;
2024-07-23 11:34:23 +03:00
text-align: justify;
2024-09-06 14:52:16 +03:00
}
nav a {
2024-07-23 11:34:23 +03:00
text-decoration: none;
2024-09-06 14:52:16 +03:00
}
.mc h1,
.mc h2,
.mc h3,
.mc h4,
.mc h5 {
2023-10-21 12:46:00 +03:00
color: #fff;
2024-09-06 14:52:16 +03:00
text-align: left !important;
}
.mc a {
2023-10-21 12:46:00 +03:00
color: #fff;
font-weight: 400;
2024-09-06 14:52:16 +03:00
text-align: left !important;
}
.mc a:hover {
2023-10-21 12:46:00 +03:00
text-decoration: underline;
2024-09-06 14:52:16 +03:00
}
.mc code {
2023-10-21 12:46:00 +03:00
color: #fff;
background-color: #0d0e13;
border-radius: 0.1rem;
2024-09-06 14:52:16 +03:00
}
.mc pre {
2023-12-27 12:17:31 +03:00
background-color: #0d0e13;
2024-09-06 14:52:16 +03:00
}
.mc table {
2023-10-21 12:46:00 +03:00
display: block;
2024-03-13 20:35:24 +03:00
overflow-x: auto;
2023-10-21 12:46:00 +03:00
width: 100%;
flex-direction: column;
2024-03-13 19:57:11 +03:00
text-align: center;
2023-10-21 12:46:00 +03:00
border-collapse: collapse;
white-space: nowrap;
margin-bottom: 15px;
2024-09-06 14:52:16 +03:00
}
.mc table td,
table th {
2023-10-21 12:46:00 +03:00
padding: 15px;
border-bottom: 1px solid #d6d6d6;
2024-09-06 14:52:16 +03:00
}