2024-02-14 01:18:06 +03:00
|
|
|
*,
|
|
|
|
*::after,
|
|
|
|
*::before {
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-size-adjust: 100%;
|
|
|
|
}
|
|
|
|
|
2018-12-06 18:31:31 +03:00
|
|
|
html {
|
2024-02-14 01:18:06 +03:00
|
|
|
font-family: $font-family-base;
|
2018-12-06 18:31:31 +03:00
|
|
|
font-size: 62.5%;
|
2024-02-14 01:18:06 +03:00
|
|
|
overflow-y: scroll;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: $color-bg;
|
|
|
|
color: $color-text;
|
|
|
|
font-size: $font-size-base;
|
2024-02-14 01:18:06 +03:00
|
|
|
font-synthesis: weight style small-caps;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.5;
|
2018-12-06 18:31:31 +03:00
|
|
|
margin: auto;
|
2024-02-14 01:18:06 +03:00
|
|
|
max-width: 52em;
|
|
|
|
padding: 6em 4em 4em 4em;
|
|
|
|
text-rendering: optimizeLegibility;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 684px) {
|
|
|
|
body {
|
2024-02-14 01:18:06 +03:00
|
|
|
font-size: $font-size-base * 0.85;
|
|
|
|
padding: 4em 1em 2em 1em;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-weight: 700;
|
2024-02-14 01:18:06 +03:00
|
|
|
hyphens: auto;
|
2018-12-06 18:31:31 +03:00
|
|
|
line-height: 1.1;
|
2024-02-14 01:18:06 +03:00
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
margin-top: 3rem;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
word-wrap: break-word;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 2.35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
p {
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-06 18:31:31 +03:00
|
|
|
small,
|
|
|
|
sub,
|
|
|
|
sup {
|
|
|
|
font-size: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-color: $color-blossom;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-blossom;
|
2024-02-14 01:18:06 +03:00
|
|
|
text-decoration: inherit;
|
|
|
|
transition: color 0.25s;
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: $color-blossom;
|
|
|
|
}
|
2018-12-06 18:31:31 +03:00
|
|
|
|
2018-12-16 18:22:49 +03:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
2018-12-06 18:31:31 +03:00
|
|
|
&:hover {
|
2024-02-14 01:18:06 +03:00
|
|
|
opacity: .5;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2024-02-14 01:18:06 +03:00
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
margin-top: 0;
|
2018-12-06 18:31:31 +03:00
|
|
|
padding-left: 1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2024-02-14 01:18:06 +03:00
|
|
|
margin-bottom: 0.4em;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2024-02-14 01:18:06 +03:00
|
|
|
background-color: $color-bg-alt;
|
|
|
|
border-left: 5px solid $color-blossom;
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
padding: 0.8em 0.8em 0.8em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote p {
|
|
|
|
margin-bottom: 0;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
img,
|
|
|
|
video {
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
margin-top: 0;
|
2018-12-06 18:31:31 +03:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background-color: $color-bg-alt;
|
2019-05-03 14:46:15 +03:00
|
|
|
border-radius: 4px;
|
2024-02-14 01:18:06 +03:00
|
|
|
border: 1px solid $color-bg-alt;
|
2018-12-06 18:31:31 +03:00
|
|
|
display: block;
|
2024-02-14 01:18:06 +03:00
|
|
|
font-size: 0.9em;
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
margin-top: 0;
|
2018-12-06 18:31:31 +03:00
|
|
|
overflow-x: auto;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
code,
|
|
|
|
kbd,
|
|
|
|
samp {
|
|
|
|
background-color: $color-bg-code;
|
2019-05-03 14:46:15 +03:00
|
|
|
border-radius: 4px;
|
2024-02-14 01:18:06 +03:00
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 0 0.2em;
|
2018-12-06 18:31:31 +03:00
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
pre>code {
|
2018-12-06 18:31:31 +03:00
|
|
|
background-color: transparent;
|
2024-02-14 01:18:06 +03:00
|
|
|
font-size: 1em;
|
2018-12-06 18:31:31 +03:00
|
|
|
padding: 0;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
text-align: justify;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
2024-02-14 01:18:06 +03:00
|
|
|
border-bottom: 1px dashed $color-blossom;
|
|
|
|
padding: 0.5em;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
border: 1px solid $color-text;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid $color-blossom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button,
|
|
|
|
button,
|
2024-02-14 01:18:06 +03:00
|
|
|
input[type="submit"],
|
|
|
|
input[type="reset"],
|
|
|
|
input[type="button"] {
|
2018-12-06 18:31:31 +03:00
|
|
|
background-color: $color-blossom;
|
|
|
|
border: 1px solid $color-blossom;
|
|
|
|
border-radius: 1px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: $color-bg;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2024-02-14 01:18:06 +03:00
|
|
|
padding: 5px 10;
|
2018-12-06 18:31:31 +03:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
cursor: default;
|
2024-02-14 01:18:06 +03:00
|
|
|
opacity: 0.5;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
&:focus:enabled,
|
|
|
|
&:hover:enabled {
|
2018-12-06 18:31:31 +03:00
|
|
|
background-color: $color-fade;
|
|
|
|
border-color: $color-fade;
|
|
|
|
color: $color-bg;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
select,
|
2024-02-14 01:18:06 +03:00
|
|
|
input {
|
2018-12-06 18:31:31 +03:00
|
|
|
background-color: $color-bg-alt;
|
|
|
|
border: 1px solid $color-bg-alt;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: $color-text;
|
2024-02-14 01:18:06 +03:00
|
|
|
margin-bottom: 10;
|
|
|
|
padding: 6px 10;
|
2018-12-06 18:31:31 +03:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid $color-blossom;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-14 01:18:06 +03:00
|
|
|
input[type="checkbox"]:focus {
|
2018-12-06 18:31:31 +03:00
|
|
|
outline: 1px dotted $color-blossom;
|
|
|
|
}
|
|
|
|
|
|
|
|
label,
|
|
|
|
legend,
|
|
|
|
fieldset {
|
|
|
|
display: block;
|
|
|
|
font-weight: 600;
|
2024-02-14 01:18:06 +03:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|