fix(header): two-row column

This commit is contained in:
Mahdi Dibaiee 2019-03-24 08:24:31 +04:30
parent c2e4eeb8ec
commit bef80a3a0f
2 changed files with 15 additions and 10 deletions

View File

@ -7,13 +7,19 @@
</h1> </h1>
<nav> <nav>
<p class='categories'>
{% for collection in site.collections %} {% for collection in site.collections %}
{% if collection.title %} {% if collection.title %}
<a href="{{ collection.path | prepend: site.baseurl }}">{{ collection.title }}</a> <a href="{{ collection.path | prepend: site.baseurl }}">{{ collection.title }}</a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</p>
<p>
<a href='mailto:{{ site.email }}'>email</a> <a href='mailto:{{ site.email }}'>email</a>
<a href='https://github.com/mdibaiee'>github</a>
<a href='https://www.linkedin.com/in/mdibaiee/'>linkedin</a>
<a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">feed</a> <a href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">feed</a>
</p>
</nav> </nav>
</header> </header>

View File

@ -41,7 +41,7 @@ header {
nav { nav {
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 3rem; margin-bottom: 1rem;
} }
nav a { nav a {
margin: 0 1rem; margin: 0 1rem;
@ -55,12 +55,11 @@ header {
.page-heading { .page-heading {
text-align: center; text-align: center;
font-style: italic; font-style: italic;
margin-bottom: 3rem;
width: 20%; width: 20%;
height: 1px; height: 1px;
border: 1px dotted rgba(0, 0, 0, 0.1); border: 1px dotted rgba(0, 0, 0, 0.1);
margin: 5rem auto; margin: 2rem auto 5rem;
} }
.post-list, .post-header { .post-list, .post-header {