Commit 5b69e231 authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

change layout

parent 1e8b510a
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
# in the templates via {{ site.myvariable }}. # in the templates via {{ site.myvariable }}.
title: LCSB Jekyll default theme title: LCSB Jekyll default theme
email: lcsb-sysadmins@uni.lu email: lcsb-sysadmins@uni.lu
banner: minerva
date: "2018" date: "2018"
description: >- # this means to ignore newlines until "baseurl:" description: >- # this means to ignore newlines until "baseurl:"
This is a default LCSB Jekyll template. This is a default LCSB Jekyll template.
......
...@@ -2,20 +2,11 @@ ...@@ -2,20 +2,11 @@
<data class="u-url" href="{{ "/" | relative_url }}"></data> <data class="u-url" href="{{ "/" | relative_url }}"></data>
<div class="wrapper"> <div class="wrapper">
<div>
<div class="footer-col-wrapper"> {%- include social.html -%}
<div class="footer-col footer-col-2">
{%- include social.html -%}
</div>
<div class="footer-col footer-col-1">
<a href="https://wwwen.uni.lu/"><img class="footer-lcsb" src="{{ '/assets/footer.uni-lcsb.svg' | relative_url }}" type="image/svg+xml"></img></a>
</div>
<div class="footer-col footer-col-3">
<div>Copyright © <a href="https://wwwen.uni.lu/">Université du Luxembourg</a> {{ site.date | escape }}. All rights reserved. </div>
</div> </div>
<br/>
<div><small>Copyright © <a href="https://wwwen.uni.lu/">Université du Luxembourg</a> {{ site.date | escape }}. All rights reserved. </small></div>
</div> </div>
</div> </div>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%} {%- seo -%}
<link rel="shortcut icon" type="image/png" href="{{ '/assets/favicon.png' | relative_url }}"/>
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}"> <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
{%- if jekyll.environment == 'production' and site.google_analytics -%} {%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%} {%- include google-analytics.html -%}
......
<header class="site-header" role="banner"> <header class="site-header" role="banner">
<div id="bannerwrapper">
<img class="banner-line" src="{{ '/assets/banner-line.svg' | relative_url }}" type="image/svg+xml"></img> <div class="wrapper">
<img class="banner-uni" src="{{ '/assets/banner-uni.svg' | relative_url }}" type="image/svg+xml"></img>
<img class="banner-lcsb" src="{{ '/assets/banner-lcsb.svg' | relative_url }}" type="image/svg+xml"></img>
<div id="bannertext" class="wrapper">
{%- assign default_paths = site.pages | map: "path" -%} {%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%} {%- assign page_paths = site.header_pages | default: default_paths -%}
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a> <img src="{{ '/assets/banner-' | relative_url }}{{site.banner}}.svg" type="image/svg+xml"></img>
{%- if page_paths -%} {%- if page_paths -%}
<nav class="site-nav"> <nav class="site-nav">
...@@ -32,5 +29,9 @@ ...@@ -32,5 +29,9 @@
</nav> </nav>
{%- endif -%} {%- endif -%}
</div> </div>
</div> </header>
</header>
...@@ -12,39 +12,6 @@ ...@@ -12,39 +12,6 @@
* SVG BANNER * SVG BANNER
*/ */
#bannerwrapper {
max-width: 100%;
max-height: $banner-height;
}
#bannertext {
margin-top: 20px;
margin-left: 20%;
}
.banner-uni {
position: fixed;
top: 0;
left: 0;
height: 100px;
}
.banner-lcsb {
position: fixed;
top: 0;
right: 0;
height: 100px;
}
.banner-line {
position: fixed;
top: 0;
left: 0;
height: 100px;
width: 100%;
}
.site-title { .site-title {
@include relative-font-size(1.625); @include relative-font-size(1.625);
font-weight: 300; font-weight: 300;
...@@ -163,6 +130,21 @@ ...@@ -163,6 +130,21 @@
margin-left: 0; margin-left: 0;
} }
.social-media-list {
margin: 0;
padding: 0;
list-style-type: none;
text-align: center;
li {
display: inline;
a {
text-decoration: none;
padding: .2em 1em;
}
}
}
.footer-col-wrapper { .footer-col-wrapper {
@include relative-font-size(0.9375); @include relative-font-size(0.9375);
color: $grey-color; color: $grey-color;
...@@ -172,39 +154,6 @@ ...@@ -172,39 +154,6 @@
align-items: center; align-items: center;
} }
.footer-col {
float: left;
margin-bottom: $spacing-unit / 2;
padding-left: $spacing-unit / 2;
}
.footer-col-1 {
width: -webkit-calc(30% - (#{$spacing-unit} / 2));
width: calc(30% - (#{$spacing-unit} / 2));
}
.footer-col-2 {
width: -webkit-calc(20% - (#{$spacing-unit} / 2));
width: calc(20% - (#{$spacing-unit} / 2));
}
.footer-col-3 {
width: -webkit-calc(70% - (#{$spacing-unit} / 2));
width: calc(70% - (#{$spacing-unit} / 2));
}
@include media-query($on-laptop) {
.footer-col-1,
.footer-col-2 {
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
width: calc(50% - (#{$spacing-unit} / 2));
}
.footer-col-3 {
width: -webkit-calc(100% - (#{$spacing-unit} / 2));
width: calc(100% - (#{$spacing-unit} / 2));
}
}
@include media-query($on-palm) { @include media-query($on-palm) {
.footer-col { .footer-col {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# You don't need to edit this file, it's empty on purpose. # You don't need to edit this file, it's empty on purpose.
# Edit theme's home layout instead if you wanna make some changes # Edit theme's home layout instead if you wanna make some changes
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults # See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: default layout: page
--- ---
# LCSB jekyll about page. # LCSB jekyll about page.
......
This diff is collapsed.
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