Fix design

This commit is contained in:
madmaurice 2017-12-20 23:08:39 +01:00 committed by Hive
parent 443ed9347a
commit 344bf7d6ed
5 changed files with 16 additions and 72 deletions

View file

@ -1,45 +1,4 @@
</div> </div>
</div>
<div class="medium-3 columns content-box sidebar">
<div class="whitebox">
<h2 class="boxhead">Search</h2>
<div class="searchbox">
<form>
<input type="text" placeholder="Search..." class="last"/>
</form>
</div>
</div>
<div class="whitebox">
<h2 class="boxhead">Recent Comments</h2>
</div>
<div class="whitebox">
<h2 class="boxhead">Archives</h2>
</div>
<div class="whitebox">
<h2 class="boxhead">Categories</h2>
<ul class="list last">
<li><a href="#">Intern</a></li>
<li><a href="#">Allgemein</a></li>
<li><a href="#">Zeug</a></li>
<li><a href="#">Off Topic</a></li>
<li><a href="#">Projekte</a></li>
<li><a href="#">Server</a></li>
<li><a href="#">Proggen</a></li>
</ul>
</div>
<div class="whitebox">
<h2 class="boxhead">Meta</h2>
<ul class="list last">
<li><a href="#">Log in</a></li>
<li><a href="#">Entries RSS</a></li>
<li><a href="#">Comments RSS</a></li>
<li><a href="#">WordPress.org</a></li>
</ul>
</div>
</div>
</div>
<div class="row"> <div class="row">
<div class="columns small-12"> <div class="columns small-12">

View file

@ -15,7 +15,7 @@
<body> <body>
<header class="header"> <header class="header">
<a class="#header"><img src="{{ "images/logo-green.png" | relative_url }}" alt="Zom.bi"></a> <a class="#header"><img src="{{ "/assets/images/logo-green.png" | relative_url }}" alt="Zom.bi"></a>
<h2 class="tagline show-for-medium">The friendly neighborhood tech community</h2> <h2 class="tagline show-for-medium">The friendly neighborhood tech community</h2>
<ul class="header-subnav show-for-medium"> <ul class="header-subnav show-for-medium">
{% include menu.html %} {% include menu.html %}
@ -33,6 +33,3 @@
</div> </div>
<div class="row main"> <div class="row main">
<div class="medium-9 columns content-box">
<!-- Post begin -->
<div class="whitebox">

View file

@ -1,5 +1,9 @@
{% for page in site.pages %} {% for node in site.pages %}
<li><a href="{{ page.url }}">{{ page.menutitle }}</a></li> {% if node.url == page.url %}
<li><a href="{{ node.url }}" class="is-active">{{ node.menutitle }}</a></li>
{% else %}
<li><a href="{{ node.url }}">{{ node.menutitle }}</a></li>
{% endif %}
{% endfor %} {% endfor %}
<li><a href="https://git.zom.bi/explore/projects">Git</a></li> <li><a href="https://git.zom.bi/explore/projects">Git</a></li>
<li><a href="https://wiki.zom.bi/">Wiki</a></li> <li><a href="https://wiki.zom.bi/">Wiki</a></li>

View file

@ -1,3 +1,7 @@
{% include header.html %} {% include header.html %}
{{ content }} <div class="medium-12 columns content-box">
<div class="whitebox">
{{ content }}
</div>
</div>
{% include footer.html %} {% include footer.html %}

View file

@ -61,7 +61,7 @@ body {
display: block; display: block;
font-weight: bold; font-weight: bold;
letter-spacing: 1px; letter-spacing: 1px;
transition: all 0.35s ease-in-out; /* transition: all 0.35s ease-in-out; */
} }
.header-subnav li a.is-active { .header-subnav li a.is-active {
@ -118,28 +118,9 @@ body {
color: #1eb513 !important; color: #1eb513 !important;
} }
.post .title { .whitebox h1 { color: #1eb513; font-size: 2em; }
color: #1eb513; .whitebox h2 { color: #1eb513; font-size: 1.5em; }
font-size: 2rem; .whitebox h3 { color: #1eb513; font-size: 1em; }
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;
}
.sidebar .boxhead { .sidebar .boxhead {
font-size:1.1rem; font-size:1.1rem;
@ -168,4 +149,3 @@ body {
text-transform:lowercase; text-transform:lowercase;
color: #555; color: #555;
} }