Style updated. Introduced css variables

This commit is contained in:
Roman Timashev committed 2017-09-13 14:18:18 +03:00
1 parent 51a1edcea3
commit 5f732d8468
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -9,7 +9,7 @@
h1 {
font-size: $biggest-font-size;
text-align: center;
margin-bottom: $half-margin;
margin-bottom: $small-margin;
}
h2 {
@@ -40,6 +40,9 @@
}
p {
--margin: 20px;
margin-left: var(--margin);
margin-right: var(--margin);
margin-bottom: 1.75em;
line-height: 1.75em;
}
+1 -1
View File
@@ -51,7 +51,7 @@ $smaller-font-size: 0.9rem;
$normal-font-size: 1.0rem;
$bigger-font-size: 1.2rem;
$big-font-size: 1.5rem;
$biggest-font-size: 2.5rem;
$biggest-font-size: 2.25rem;
//MENU
$menu-thickness: 2.5em;