From 1f3c5a5e662a5a949d0060ad3cded421fc164a76 Mon Sep 17 00:00:00 2001 From: theo lem <=> Date: Wed, 6 May 2020 17:44:15 +0200 Subject: [PATCH] Better support for chrome, modified header position. --- content/pages/about.md | 7 +++-- output/construction.html | 6 ++-- output/courtyard.html | 6 ++-- output/index.html | 6 ++-- output/pages/about.html | 9 ++++-- output/pages/download.html | 6 ++-- output/sunday.html | 6 ++-- output/theme/css/main-v2.css | 41 ++++++++++----------------- themes/felicie/static/css/main-v2.css | 41 ++++++++++----------------- themes/felicie/templates/base.html | 6 ++-- 10 files changed, 65 insertions(+), 69 deletions(-) diff --git a/content/pages/about.md b/content/pages/about.md index 3a81f02..30e9f42 100644 --- a/content/pages/about.md +++ b/content/pages/about.md @@ -5,6 +5,9 @@ Category: misc Slug: about Summary: About this website -Website by theo and felicie using [Pelican](https://blog.getpelican.com/) and [Libertinage font](http://osp.kitchen/foundry/libertinage/). -Hosted by OVH, managed by theo. \ No newline at end of file +Website by felicie and theo using [Pelican](https://blog.getpelican.com/) and [Libertinage font](http://osp.kitchen/foundry/libertinage/). + +Hosted by OVH, managed by theo. + +For information about this website : contact [ at ] theo-lem.org. \ No newline at end of file diff --git a/output/construction.html b/output/construction.html index adfb3fc..bc90786 100644 --- a/output/construction.html +++ b/output/construction.html @@ -5,11 +5,14 @@ Better days | Construction + +
-

better days

+

better
days

+

Construction

@@ -29,7 +32,6 @@
about
download diff --git a/output/courtyard.html b/output/courtyard.html index a152fab..d467dd4 100644 --- a/output/courtyard.html +++ b/output/courtyard.html @@ -5,11 +5,14 @@ Better days | Courtyard + +
-

better days

+

better
days

+

Courtyard

@@ -39,7 +42,6 @@ He can hear neighbors laughing out loud, as they always had in peaceful sunny sp
about
download diff --git a/output/index.html b/output/index.html index e523887..997891b 100644 --- a/output/index.html +++ b/output/index.html @@ -5,11 +5,14 @@ Better days | home + +
-

better days

+

better
days

+
@@ -34,7 +37,6 @@
about download diff --git a/output/pages/about.html b/output/pages/about.html index 903f729..aad74a7 100644 --- a/output/pages/about.html +++ b/output/pages/about.html @@ -5,19 +5,22 @@ Better days | About + +
-

better days

+

better
days

+
-

Website by theo and felicie using Pelican and Libertinage font.

+

Website by felicie and theo using Pelican and Libertinage font.

Hosted by OVH, managed by theo.

+

For information about this website : contact [ at ] theo-lem.org.

diff --git a/output/pages/download.html b/output/pages/download.html index d87d372..f2266c7 100644 --- a/output/pages/download.html +++ b/output/pages/download.html @@ -5,18 +5,20 @@ Better days | Download + +
-

better days

+

better
days

+

You can download all the content of this website here.

diff --git a/output/sunday.html b/output/sunday.html index 48d30e0..bc5518c 100644 --- a/output/sunday.html +++ b/output/sunday.html @@ -5,11 +5,14 @@ Better days | Sunday + +
-

better days

+

better
days

+

Sunday

@@ -27,7 +30,6 @@
about
download diff --git a/output/theme/css/main-v2.css b/output/theme/css/main-v2.css index 6b5c22e..371bf6c 100644 --- a/output/theme/css/main-v2.css +++ b/output/theme/css/main-v2.css @@ -10,16 +10,16 @@ h1{ -font-family: solidemirage; + font-family: solidemirage; font-size: 60px; } header{ position: fixed; z-index: 5; - margin-left: 280px; - top: 50px; - height: 50px; + margin-left: 80%; + top: 10%; + height: 100px; border: 3px solid #00FF00; border-radius: 10px; background-color: #ffffff; @@ -28,32 +28,14 @@ header{ display: flex; flex-direction: column; justify-content: center; + + font; } #articles { margin-top: 100px; } - -#home { - position: fixed; - bottom: 110px; - right: 10px; - z-index: 10; - - border: 2px solid #000000; - border-radius: 10px; - background-color: #ffffff; - margin: 20px; - padding: 10px; - - display: flex; - flex-direction: column; - justify-content: center; - font-family: solidemirage; - font-size: 15px; -} - #about { position: fixed; bottom: 60px; @@ -119,6 +101,8 @@ header{ .img-menu { border: 3px solid #000000; border-radius: 10px; + /* for chrome and safari support */ + max-width: 70%; } .img-menu:hover { @@ -131,8 +115,13 @@ header{ } a { - color: black; - text-decoration:unset; + color: black; + text-decoration: unset; +} + +/* only underline anchors inside content text */ +p a { + text-decoration: underline; } .article-title { diff --git a/themes/felicie/static/css/main-v2.css b/themes/felicie/static/css/main-v2.css index 6b5c22e..371bf6c 100644 --- a/themes/felicie/static/css/main-v2.css +++ b/themes/felicie/static/css/main-v2.css @@ -10,16 +10,16 @@ h1{ -font-family: solidemirage; + font-family: solidemirage; font-size: 60px; } header{ position: fixed; z-index: 5; - margin-left: 280px; - top: 50px; - height: 50px; + margin-left: 80%; + top: 10%; + height: 100px; border: 3px solid #00FF00; border-radius: 10px; background-color: #ffffff; @@ -28,32 +28,14 @@ header{ display: flex; flex-direction: column; justify-content: center; + + font; } #articles { margin-top: 100px; } - -#home { - position: fixed; - bottom: 110px; - right: 10px; - z-index: 10; - - border: 2px solid #000000; - border-radius: 10px; - background-color: #ffffff; - margin: 20px; - padding: 10px; - - display: flex; - flex-direction: column; - justify-content: center; - font-family: solidemirage; - font-size: 15px; -} - #about { position: fixed; bottom: 60px; @@ -119,6 +101,8 @@ header{ .img-menu { border: 3px solid #000000; border-radius: 10px; + /* for chrome and safari support */ + max-width: 70%; } .img-menu:hover { @@ -131,8 +115,13 @@ header{ } a { - color: black; - text-decoration:unset; + color: black; + text-decoration: unset; +} + +/* only underline anchors inside content text */ +p a { + text-decoration: underline; } .article-title { diff --git a/themes/felicie/templates/base.html b/themes/felicie/templates/base.html index 6914869..9387fea 100644 --- a/themes/felicie/templates/base.html +++ b/themes/felicie/templates/base.html @@ -4,18 +4,20 @@ {% block title %}{{ SITENAME }}{% endblock %} + +
-

better days

+

better
days

+
{% block content%} {% endblock %}