move css into separate files
This commit is contained in:
parent
afc3f1c577
commit
bf4f142cb7
6 changed files with 152 additions and 128 deletions
|
@ -24,55 +24,5 @@ eleventyComputed:
|
|||
</html>
|
||||
|
||||
{% css %}
|
||||
:root {
|
||||
--page-width: 75rem;
|
||||
--color-text: #495057;
|
||||
--color-primary: {{ eseColor }};
|
||||
font-size: 17px;
|
||||
}
|
||||
* {
|
||||
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;
|
||||
}
|
||||
{% include "page.css" %}
|
||||
{% endcss %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue