website/static/custom.css

102 lines
1.5 KiB
CSS
Raw Normal View History

2023-10-21 12:46:00 +03:00
:root {
--font: 'Onest', sans-serif;
--bg-color: #15171f;
--font-color: #dadada;
2024-07-23 10:49:55 +03:00
--nav-font-color: white;
2024-07-23 11:40:09 +03:00
--font-size: 1.15rem;
2023-10-21 12:46:00 +03:00
}
@font-face {
src: url("./fonts/Onest-Medium.ttf");
font-family: "Onest";
2024-07-23 11:45:39 +03:00
font-weight: bold;
2023-10-21 12:46:00 +03:00
}
@font-face {
src: url("./fonts/Onest-Regular.ttf");
font-family: "Onest";
2024-07-23 11:45:39 +03:00
font-weight: normal;
2023-10-21 12:46:00 +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-07-23 12:23:32 +03:00
max-width: min(64rem, 90%);
2024-07-23 10:49:55 +03:00
padding: 0 1rem;
2023-10-21 12:46:00 +03:00
}
2024-07-23 10:49:55 +03:00
nav * {
margin-right: 1rem;
color: var(--nav-font-color);
2023-10-21 12:46:00 +03:00
}
2024-01-22 12:01:17 +03:00
img {
2024-07-23 11:34:23 +03:00
max-inline-size: 85%;
2024-01-22 12:24:11 +03:00
block-size: auto;
2024-01-22 13:07:13 +03:00
display: block;
margin-left: auto;
margin-right: auto;
2024-01-22 12:01:17 +03:00
}
2023-10-21 12:46:00 +03:00
.mc {
2024-03-13 20:35:24 +03:00
overflow-x: auto;
2024-07-23 11:34:23 +03:00
text-align: justify;
2023-10-21 12:46:00 +03:00
}
2024-07-23 11:34:23 +03:00
2024-07-23 11:46:31 +03:00
nav a {
2024-07-23 11:34:23 +03:00
text-decoration: none;
}
2023-10-21 12:46:00 +03:00
/* РАЗМЕТКА */
.mc h1, .mc h2, .mc h3, .mc h4, .mc h5 {
color: #fff;
2024-07-23 11:42:12 +03:00
text-align: left!important;
2023-10-21 12:46:00 +03:00
}
.mc a {
color: #fff;
font-weight: 400;
}
.mc a:hover {
text-decoration: underline;
}
.mc code {
color: #fff;
background-color: #0d0e13;
border-radius: 0.1rem;
}
2023-12-27 12:17:31 +03:00
.mc pre {
background-color: #0d0e13;
}
2023-10-21 12:46:00 +03:00
.mc table {
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;
}
.mc table * {
}
.mc table td, table th {
padding: 15px;
border-bottom: 1px solid #d6d6d6;
}
2024-04-09 19:56:42 +03:00
img[alt=play_button_exp] { width: 120px; }