Style updated. Introduced css variables
This commit is contained in:
1 parent
51a1edcea3
commit
5f732d8468
2 files changed
+5
-2
No files matched your search
@@ -9,7 +9,7 @@
|
|||||||
h1 {
|
h1 {
|
||||||
font-size: $biggest-font-size;
|
font-size: $biggest-font-size;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: $half-margin;
|
margin-bottom: $small-margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@@ -40,6 +40,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
|
--margin: 20px;
|
||||||
|
margin-left: var(--margin);
|
||||||
|
margin-right: var(--margin);
|
||||||
margin-bottom: 1.75em;
|
margin-bottom: 1.75em;
|
||||||
line-height: 1.75em;
|
line-height: 1.75em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ $smaller-font-size: 0.9rem;
|
|||||||
$normal-font-size: 1.0rem;
|
$normal-font-size: 1.0rem;
|
||||||
$bigger-font-size: 1.2rem;
|
$bigger-font-size: 1.2rem;
|
||||||
$big-font-size: 1.5rem;
|
$big-font-size: 1.5rem;
|
||||||
$biggest-font-size: 2.5rem;
|
$biggest-font-size: 2.25rem;
|
||||||
|
|
||||||
//MENU
|
//MENU
|
||||||
$menu-thickness: 2.5em;
|
$menu-thickness: 2.5em;
|
||||||
|
|||||||
Reference in new issue
Block a user