improve default theme
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user