From 344bf7d6ed7cee7093005c50d03d71d23fd2ce4d Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Wed, 20 Dec 2017 23:08:39 +0100 Subject: [PATCH] Fix design --- _includes/footer.html | 41 ----------------------------------------- _includes/header.html | 5 +---- _includes/menu.html | 8 ++++++-- _layouts/page.html | 6 +++++- assets/css/index.css | 28 ++++------------------------ 5 files changed, 16 insertions(+), 72 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 1cd5399..0551d02 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,44 +1,3 @@ - - - - -
diff --git a/_includes/header.html b/_includes/header.html index 55884e9..09afd53 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -15,7 +15,7 @@
- Zom.bi + Zom.bi

The friendly neighborhood tech community

    {% include menu.html %} @@ -33,6 +33,3 @@
-
- -
diff --git a/_includes/menu.html b/_includes/menu.html index 1f574ae..3eef7e7 100644 --- a/_includes/menu.html +++ b/_includes/menu.html @@ -1,5 +1,9 @@ -{% for page in site.pages %} -
  • {{ page.menutitle }}
  • +{% for node in site.pages %} +{% if node.url == page.url %} +
  • {{ node.menutitle }}
  • +{% else %} +
  • {{ node.menutitle }}
  • +{% endif %} {% endfor %}
  • Git
  • Wiki
  • diff --git a/_layouts/page.html b/_layouts/page.html index 4f0db4c..a0d28cd 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -1,3 +1,7 @@ {% include header.html %} -{{ content }} +
    +
    + {{ content }} +
    +
    {% include footer.html %} diff --git a/assets/css/index.css b/assets/css/index.css index 2a1e40b..adf8cab 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -61,7 +61,7 @@ body { display: block; font-weight: bold; letter-spacing: 1px; - transition: all 0.35s ease-in-out; + /* transition: all 0.35s ease-in-out; */ } .header-subnav li a.is-active { @@ -118,28 +118,9 @@ body { color: #1eb513 !important; } -.post .title { - color: #1eb513; - font-size: 2rem; - line-height:2.2rem; -} - -.post .info { - font-size: 0.8rem; - color: #555; - margin-top: 5px; - margin-bottom: 5px; -} - -.post .content { - font-size: 0.9rem; -} - -.post .authorline { - font-size: 0.75rem; - color: #555; - padding-left: 1.7rem; -} +.whitebox h1 { color: #1eb513; font-size: 2em; } +.whitebox h2 { color: #1eb513; font-size: 1.5em; } +.whitebox h3 { color: #1eb513; font-size: 1em; } .sidebar .boxhead { font-size:1.1rem; @@ -168,4 +149,3 @@ body { text-transform:lowercase; color: #555; } -