2018-12-06 18:31:31 +03:00
|
|
|
html {
|
2018-12-07 22:57:22 +03:00
|
|
|
font-family: $font-family-sans-serif;
|
2018-12-06 18:31:31 +03:00
|
|
|
font-size: 62.5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: $color-bg;
|
|
|
|
color: $color-text;
|
|
|
|
font-size: $font-size-base;
|
2020-01-23 12:44:05 +03:00
|
|
|
line-height: 1.4em;
|
2018-12-06 18:31:31 +03:00
|
|
|
margin: auto;
|
2020-01-23 12:44:05 +03:00
|
|
|
max-width: 64em;
|
|
|
|
padding: 4em;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 684px) {
|
|
|
|
body {
|
|
|
|
font-size: $font-size-base * .85;
|
2020-01-23 12:44:05 +03:00
|
|
|
padding: 2em;
|
2018-12-06 18:31:31 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-23 10:54:12 +03:00
|
|
|
@mixin word-wrap {
|
2018-12-06 18:31:31 +03:00
|
|
|
hyphens: auto;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
@include word-wrap;
|
2020-01-23 10:54:12 +03:00
|
|
|
|
2018-12-06 18:31:31 +03:00
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
small,
|
|
|
|
sub,
|
|
|
|
sup {
|
|
|
|
font-size: 75%;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-color: $color-blossom;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-blossom;
|
|
|
|
|
2018-12-16 18:22:49 +03:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
2018-12-06 18:31:31 +03:00
|
|
|
&:hover {
|
|
|
|
color: $color-fade;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: .4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 3px solid $color-blossom;
|
|
|
|
font-style: italic;
|
|
|
|
margin-left: 1.5em;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background-color: $color-bg-alt;
|
2019-09-03 01:57:53 +03:00
|
|
|
border: 1px solid $color-bg-alt;
|
2019-05-03 14:46:15 +03:00
|
|
|
border-radius: 4px;
|
2018-12-06 18:31:31 +03:00
|
|
|
display: block;
|
|
|
|
overflow-x: auto;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
background-color: $color-bg-alt;
|
2019-05-03 14:46:15 +03:00
|
|
|
border-radius: 4px;
|
2018-12-06 18:31:31 +03:00
|
|
|
font-size: .9em;
|
|
|
|
padding: 0 .5em;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2020-01-23 10:54:12 +03:00
|
|
|
pre > code {
|
2018-12-06 18:31:31 +03:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
text-align: justify;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
border-bottom: 1px solid $color-bg-alt;
|
|
|
|
padding: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
|
|
|
border: 1px solid $color-text;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid $color-blossom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button,
|
|
|
|
button,
|
2020-01-23 10:54:12 +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;
|
2020-01-23 12:44:05 +03:00
|
|
|
padding: 1em;
|
2018-12-06 18:31:31 +03:00
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&[disabled] {
|
|
|
|
cursor: default;
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-fade;
|
|
|
|
border-color: $color-fade;
|
|
|
|
color: $color-bg;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea,
|
|
|
|
select,
|
|
|
|
input[type] {
|
|
|
|
background-color: $color-bg-alt;
|
|
|
|
border: 1px solid $color-bg-alt;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
color: $color-text;
|
2020-01-23 12:44:05 +03:00
|
|
|
margin: .5em;
|
|
|
|
padding: 1em;
|
2018-12-06 18:31:31 +03:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid $color-blossom;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-23 10:54:12 +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;
|
|
|
|
margin-bottom: .5rem;
|
|
|
|
}
|