update light theme

This commit is contained in:
Adrien Beudin 2016-05-26 22:08:55 +02:00
parent 99cd0aa623
commit 842b68ad2f
4 changed files with 8 additions and 19 deletions

View File

@ -33,7 +33,7 @@ a {
height: auto; height: auto;
} }
img { .image img {
width: 100%; width: 100%;
height: auto; height: auto;
display: block; display: block;
@ -132,7 +132,7 @@ a.google {
} }
.author-meta { .author-meta {
padding-bottom: 7em; padding: 3em 0 7em 0;
} }
.author-info { .author-info {
@ -141,17 +141,19 @@ a.google {
font-size: 19px; font-size: 19px;
} }
.author-meta a {
color: #333;
}
.author-info h4 { .author-info h4 {
text-transform: uppercase; text-transform: uppercase;
text-align: center;
font-family: 'crimson', serif; font-family: 'crimson', serif;
color: black; color: black;
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
} }
.author-info .desc { .author-info .desc {
width: 350px; width: auto;
margin: auto;
padding-bottom: 10px; padding-bottom: 10px;
font-style: normal; font-style: normal;
font-size: 14px; font-size: 14px;

View File

@ -6,7 +6,7 @@
<span class=author-info>Story by <span class=author-info>Story by
<h4>{{ section.name }}</h4> <h4>{{ section.name }}</h4>
{% if section.text %} {% if section.text %}
<div class=desc>{{ section.text }}</div> <p class=desc>{{ section.text }}</p>
{% endif %} {% endif %}
</span> </span>
</div> </div>

View File

@ -1,12 +1,5 @@
{% if section.background or section.color %}
<div class="bg-section" style="{% if section.background -%};background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
{% endif %}
<section class="html"> <section class="html">
<center> <center>
{{ section.html }} {{ section.html }}
</center> </center>
</section> </section>
{% if section.background or section.color %}
</div>
{% endif %}

View File

@ -1,9 +1,3 @@
{% if section.background or section.color %}
<div class="bg-section" style="{% if section.background -%}background: {{ section.background }};{% endif %}{% if section.color -%}color: {{ section.color }};{% endif %}">
{% endif %}
<section class="text"> <section class="text">
{{ section.text }} {{ section.text }}
</section> </section>
{% if section.background or section.color %}
</div>
{% endif %}