improve default theme

This commit is contained in:
Simon
2012-11-09 13:05:04 +01:00
parent b0564e6c80
commit c9f3b70e34
2 changed files with 16 additions and 4 deletions

View File

@@ -6,6 +6,8 @@ h1, h2, h3, h4, h5, h6 {
font-family: "PT Sans", sans-serif;
}
ul { list-style: disc outside; }
header h1 {
margin-top: 40px;
margin-bottom: 0;
@@ -15,6 +17,8 @@ header h1 {
text-align: center;
}
.thumbnail img {
max-width: 100%;
height: auto;
margin: 0 5px 5px 0;
border: 10px solid #fff;
border-radius: 2px 2px 2px 2px;

View File

@@ -26,10 +26,16 @@
</header>
<div id="main" role="main" class="sixteen columns">
<div id="breadcumb">
<p>{{ paths }}</p>
</div>
{% if albums %}
<div id="albums" class="row">
{% for album in albums %}
<div class="four columns thumbnail">
<div class="four columns thumbnail
{% if loop.index % 4 == 1 %}alpha{% endif%}
{% if loop.index % 4 == 0 %}omega{% endif%}">
<a href="{{ album.path }}">
<img src="{{ album.thumb }}" class="album_thumb"
alt="{{ album.name }}" title="{{ album.name }}" /></a>
@@ -41,11 +47,13 @@
{% if images %}
<div id="gallery" class="row">
<p>{{ paths }}</p>
{% for image in images %}
<div class="four columns thumbnail">
<div class="four columns thumbnail
{% if loop.index % 4 == 1 %}alpha{% endif%}
{% if loop.index % 4 == 0 %}omega{% endif%}">
<a href="{{ image.file }}">
<img src="{{ image.thumb }}" alt="{{ image.file }}" /></a>
<img src="{{ image.thumb }}" alt="{{ image.file }}"
title="{{ image.file }}" /></a>
</div>
{% endfor %}
</div>