Commit b3e0a664 authored by Nina's avatar Nina

Add margin top and bottom to main content

parent 1a8912d5
<!DOCTYPE html>
<html lang='en' class="has-navbar-fixed-top">
<head>
<link href='{{ "favicon.ico" | absolute_url }}' rel='shortcut icon' type='image/x-icon'>
<link href='{{ "favicon.ico" | absolute_url }}' rel='icon' type='image/x-icon'>
<meta charset='UTF-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<title>{% if page.title %} {{ page.title }} {% else %} {{ site.title }} {% endif %}</title>
<meta content='{% if page.excerpt %} {{ page.excerpt | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ site.description }} {% endif %}' name='description'>
<link href='{{ "assets/css/styles.css" | absolute_url }}' rel='stylesheet' media='all'>
</head>
<body>
{% include navbar.html %}
<html lang='en' class="has-navbar-fixed-top fixed">
<head>
<link href='{{ "favicon.ico" | absolute_url }}' rel='shortcut icon' type='image/x-icon'>
<link href='{{ "favicon.ico" | absolute_url }}' rel='icon' type='image/x-icon'>
<meta charset='UTF-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<title>{% if page.title %} {{ page.title }} {% else %} {{ site.title }} {% endif %}</title>
<meta
content='{% if page.excerpt %} {{ page.excerpt | strip_html | strip_newlines | truncate: 160 }} {% else %} {{ site.description }} {% endif %}'
name='description'>
<link href='{{ "assets/css/styles.css" | absolute_url }}' rel='stylesheet' media='all'>
</head>
<body>
{% include navbar.html %}
<main class="main-content ">
<div class="columns">
<div class="column is-offset-2-desktop is-two-thirds-desktop is-offset-1-mobile is-four-fifths-mobile">
{{ content }}
</div>
</div>
{% include footer.html %}
</body>
</html>
</main>
{% include footer.html %}
</body>
</html>
\ No newline at end of file
......@@ -29,6 +29,11 @@ $link: $green;
margin-bottom: 3em;
}
.main-content {
margin-top: 4em;
margin-bottom: 4em;
}
h1 {
font-size: 2rem;
font-weight: 600;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment