From a190063b83a7e56c34944d228a06318823e9cf86 Mon Sep 17 00:00:00 2001 From: Gaspard Jankowiak Date: Sat, 23 Mar 2019 10:39:24 +0100 Subject: [PATCH] fix css for subtitle --- _layouts/default.html | 2 -- css/screen.scss | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 8572539..ff15dde 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -63,9 +63,7 @@ {% endif %}
-
{{ page.subtitle }}
-
{{ content }} diff --git a/css/screen.scss b/css/screen.scss index a0e4e87..0e117e6 100644 --- a/css/screen.scss +++ b/css/screen.scss @@ -108,6 +108,8 @@ ol li:hover { border-right: 3px solid $links; padding-right: 7px; } .centered_img { display: block; margin: 1em auto; } +.center { text-align: center; } + #wrapper { max-width: $in_width; margin: auto; } #outter-wrapper { width: 100%; height: auto; min-height: 100%; position: relative; } #foot_image { height: 150px; background: linear-gradient(to top, #FFFFFF 0%, #FFFFFF 50%, #EEEEEE 100%); @@ -122,7 +124,7 @@ ol li:hover { border-right: 3px solid $links; padding-right: 7px; } #info span { display: inline-block; width: 100%; max-width: 618px; vertical-align: middle; } -#page_subtitle { font-family: "OpenSansLight",sans; font-size: 2em; margin: 1em; } +#page_subtitle { font-family: "OpenSansLight",sans; font-size: 2em; margin: 1em; text-align: center; } #main_email { padding: 0.5em; }