Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Miroslav Kratochvil
jekyll-theme-lcsb-default
Commits
5b69e231
Commit
5b69e231
authored
Mar 20, 2018
by
Yohan Jarosz
Browse files
change layout
parent
1e8b510a
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
_config.yml
View file @
5b69e231
...
...
@@ -15,6 +15,7 @@
# in the templates via {{ site.myvariable }}.
title
:
LCSB Jekyll default theme
email
:
lcsb-sysadmins@uni.lu
banner
:
minerva
date
:
"
2018"
description
:
>-
# this means to ignore newlines until "baseurl:"
This is a default LCSB Jekyll template.
...
...
_includes/footer.html
View file @
5b69e231
...
...
@@ -2,20 +2,11 @@
<data
class=
"u-url"
href=
"{{ "
/"
|
relative_url
}}"
></data>
<div
class=
"wrapper"
>
<div
class=
"footer-col-wrapper"
>
<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>
{%- include social.html -%}
</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>
...
...
_includes/head.html
View file @
5b69e231
...
...
@@ -3,6 +3,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
{%- seo -%}
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"{{ '/assets/favicon.png' | relative_url }}"
/>
<link
rel=
"stylesheet"
href=
"{{ "
/
assets
/
main.css
"
|
relative_url
}}"
>
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
...
...
_includes/header.html
View file @
5b69e231
<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>
<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"
>
<div
class=
"wrapper"
>
{%- assign default_paths = site.pages | map: "path" -%}
{%- 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 -%}
<nav
class=
"site-nav"
>
...
...
@@ -32,5 +29,9 @@
</nav>
{%- endif -%}
</div>
</div>
</header>
</header>
_sass/minima/_layout.scss
View file @
5b69e231
...
...
@@ -12,39 +12,6 @@
* 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
{
@include
relative-font-size
(
1
.625
);
font-weight
:
300
;
...
...
@@ -163,6 +130,21 @@
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
{
@include
relative-font-size
(
0
.9375
);
color
:
$grey-color
;
...
...
@@ -172,39 +154,6 @@
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
)
{
.footer-col
{
...
...
about.md
View file @
5b69e231
...
...
@@ -2,7 +2,7 @@
# 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
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout
:
default
layout
:
page
---
# LCSB jekyll about page.
...
...
assets/banner-minerva.svg
0 → 100644
View file @
5b69e231
This diff is collapsed.
Click to expand it.
assets/favicon.png
0 → 100644
View file @
5b69e231
3.18 KB
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment