Добавлены стили для статей
This commit is contained in:
parent
ac189b603f
commit
e7d3b02d92
@ -14,3 +14,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
p {
|
||||||
|
line-height: 1.5;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-top: 1.2em;
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: $base-monospace-font-family;
|
||||||
|
font-size: 90%;
|
||||||
|
padding: 1em;
|
||||||
|
background-color: #f6f8fa; // from github
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: $base-monospace-font-family;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
$base-font-family: 'PT Serif', serif;
|
$base-font-family: 'PT Serif', serif;
|
||||||
|
$base-monospace-font-family: 'PT Mono', monospace;
|
||||||
|
|
||||||
// Базовый размер шрифта
|
// Базовый размер шрифта
|
||||||
$base-font-size: 20px;
|
$base-font-size: 20px;
|
||||||
$base-font-color: #000;
|
$base-font-color: #24292e; // from github
|
||||||
|
|
||||||
// Ширина страницы
|
// Ширина страницы
|
||||||
$preferred-width: 700px;
|
$preferred-width: 700px;
|
||||||
|
@ -33,4 +33,4 @@
|
|||||||
<meta property="og:locale" content="ru_RU">
|
<meta property="og:locale" content="ru_RU">
|
||||||
|
|
||||||
{# Links and styles #}
|
{# Links and styles #}
|
||||||
<link href="https://fonts.googleapis.com/css?family=PT+Serif:400,700&subset=cyrillic" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=PT+Mono|PT+Serif:400,700&subset=cyrillic" rel="stylesheet">
|
||||||
|
Loading…
Reference in New Issue
Block a user