Feat: remove logo, center title, fix links

This commit is contained in:
Bertrand Benjamin 2020-06-24 14:10:08 +02:00
parent edc12f1430
commit c6ee0ce838
4 changed files with 10 additions and 6 deletions

View File

@ -88,7 +88,7 @@ aside {
} }
div { div {
margin: 0; text-align: center;
img { img {
padding: 20px; padding: 20px;
@ -98,6 +98,7 @@ aside {
h1 { h1 {
margin: 15px 0 5px 0; margin: 15px 0 5px 0;
} }
p { p {
@ -501,7 +502,7 @@ ul.social {
height: 100%; height: 100%;
position: absolute; position: absolute;
top: 0; top: 0;
left: 25%; right: 2.5%;
article { article {

File diff suppressed because one or more lines are too long

View File

@ -71,6 +71,7 @@
<body> <body>
<aside> <aside>
<div> <div>
<!--
<a href="{{ SITEURL }}"> <a href="{{ SITEURL }}">
{% if SITELOGO %} {% if SITELOGO %}
<img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}"> <img src="{{ SITELOGO }}" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
@ -78,9 +79,11 @@
<img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png" alt="{{ SITETITLE }}" title="{{ SITETITLE }}"> <img src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/img/profile.png" alt="{{ SITETITLE }}" title="{{ SITETITLE }}">
{% endif %} {% endif %}
</a> </a>
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1> -->
<h1><a href="/">{{ SITETITLE }}</a></h1>
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %} {% if SITESUBTITLE %}<p><a href="{{ SITEURL }}">{{ SITESUBTITLE }}</a></p>{% endif %}
</div>
<nav> <nav>
{% include "partial/toctree.html" %} {% include "partial/toctree.html" %}

View File

@ -29,6 +29,6 @@
{% elif article and not article.parent %} {% elif article and not article.parent %}
{{ toc(article) }} {{ toc(article) }}
{% else %} {% else %}
<p> Perdu! </p> <p> Le menu s'est perdu </p>
{% endif %} {% endif %}
{% endif %} {% endif %}