pedf
/
fakulta-online
Archived
1
0
Fork 0

Základ obsahu v úvodní stránce

master
Emil Miler 5 years ago
parent 8707eca810
commit a523890fbb

@ -1,2 +1,4 @@
+++
+++
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus porttitor faucibus dapibus. Aliquam maximus nulla at viverra auctor. Sed vestibulum urna eget est sagittis vulputate. Cras non faucibus diam, sed suscipit mi. Donec venenatis sapien quis ex ultrices, vel pharetra tellus convallis. Integer cursus metus eu nisl aliquet, non commodo diam commodo. Donec venenatis massa erat, quis faucibus ex efficitur eget. In eu efficitur ipsum. Maecenas eros leo, consectetur vel libero eget, ultrices vulputate ex. Nam posuere tellus vel libero placerat aliquam. Sed dignissim purus a scelerisque lacinia.

@ -8,7 +8,7 @@ body {
background: url(/body-bg.svg) top center no-repeat #d22d40;
background-size:100% auto;
color: #fff;
font-size: 1.6em;
font-size: 1.3em;
}
header {
@ -18,6 +18,7 @@ header {
max-width: $header-width;
margin: 0 auto;
padding: 2em 1em;
font-size: 1.35em;
img { width: 250px; }
@ -26,3 +27,14 @@ header {
text-align: right;
}
}
main {
max-width: $main-width;
padding: 1em;
margin: 0 auto;
&.fullwidth { max-width: $header-width; }
.partial { max-width: 35%; }
h2 { font-size: 3em; }
}

@ -14,7 +14,14 @@
<span id="menu">Menu</span>
</header>
{% block content %}
{{ section.content | safe }}
<main class="fullwidth">
<section class="partial">
<h2>{{ config.title }}</h2>
{{ section.content | safe }}
</section>
<aside class="partial">
</aside>
</main>
{% endblock %}
</body>
</html>