Skip to content
Snippets Groups Projects
Commit fcbc76ad authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Left-column layout

parent 3f729188
No related branches found
No related tags found
2 merge requests!17Develop,!3Develop
......@@ -12,10 +12,10 @@
<body>
{%- include header.html -%}
<main id="page-content" aria-label="Content">
<main id="site-content" aria-label="Content">
{% if page.content_title %}
<h1 id="page-title">
<h1 id="site-title">
{{ page.content_title }}
</h1>
{% endif %}
......
---
layout: default
---
<article>
<div id="left-column">
<h2>{{ page.section }}</h2>
<ul>
{% for link in page.pages %}
<li><a href="{{ site.baseurl }}{{ link.href }}">{{ link.title }}</a></li>
{% endfor %}
</ul>
</div>
<div>
<header>
<h1>
{{ page.title | escape }}
</h1>
</header>
{{ content }}
</div>
</article>
\ No newline at end of file
......@@ -47,20 +47,63 @@
}
#site-content {
div {
padding-left: $PADDING_PAGE_LEFT;
width: $WIDTH_CONTENT;
padding-right: 10px;
margin: 0px;
}
h1.title {
font-size: 37px;
color: #005472;
line-height: 1.1;
font-weight: 300;
margin: 0 0 12px 0;
}
}
article {
padding-left: $PADDING_PAGE_LEFT;
padding-bottom: 50px;
width: $WIDTH_CONTENT;
padding-right: 10px;
margin: 0px;
display: flex;
flex-direction: row;
#left-column {
padding-top: 20px;
padding-right: 20px;
h2 {
color: #005472;
font-size: 25px;
line-height: 1.2;
font-weight: 300;
margin: 0;
border-bottom: 1px solid #ccc;
}
ul {
width: 200px;
padding-inline-start: 20px;
list-style: none;
margin: 0px;
li {
padding: 0;
margin: 0;
a {
color: #222;
line-height: 1.2;
text-decoration: none;
display: block;
border-bottom: 1px solid #efefef;
padding: 10px 5px 10px 15px;
}
a:hover {
color: #060606;
text-decoration: underline;
}
}
}
}
}
}
#site-footer-primary {
......
......@@ -2,4 +2,4 @@
# This line is required so that Jekyll generates this file
---
@import "elixir";
@import "elixir";
\ No newline at end of file
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "elixir-theme"
spec.version = "0.1.0"
spec.version = "0.1.1"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment