move css into separate files
This commit is contained in:
parent
afc3f1c577
commit
bf4f142cb7
6 changed files with 152 additions and 128 deletions
62
_includes/page.css
Normal file
62
_includes/page.css
Normal file
|
@ -0,0 +1,62 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: Aileron, sans-serif;
|
||||
line-height: 1.5;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: var(--page-width);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
color: var(--color-primary);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: 700;
|
||||
font-size: 2.8rem;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-weight: 300;
|
||||
font-size: 2.4rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 300;
|
||||
font-size: 1.8rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 400;
|
||||
font-size: 1.3rem;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
:root {
|
||||
font-size: 17px;
|
||||
--page-width: 75rem;
|
||||
--color-text: #495057;
|
||||
--color-primary: {{ eseColor }};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue