Skip to content

Commit

Permalink
Some design fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lkiesow committed Nov 21, 2013
1 parent d6836ed commit 7a3da5c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
21 changes: 16 additions & 5 deletions static/basic-boxes/style.css
Expand Up @@ -225,15 +225,26 @@ nav a:hover {

.series li {
margin: 15px;
padding: 10px;
padding: 20px;
vertical-align: top;
background-color: #eee;
display: inline-block;
width: 270px;
min-height: 200px;
}

.series li span {
display: inline-block;
margin: 5px;
padding: 5px 15px;
.series li dt {
font-size: smaller;
font-weight: bold;
display: block;
}

.series li dd {
font-size: smaller;
display: inline;
padding: 0px;
padding-left: 10px;
margin: 0px;
}

.series li p {
Expand Down
12 changes: 6 additions & 6 deletions templates/basic-boxes/serieslist.html
Expand Up @@ -6,12 +6,12 @@ <h2>Lecture Series</h2>
<li style="background-color: #{{ s.color }};">
<a href="{{ url_for('series', id=s.id) }}">
<h3>{{ s.title }}</h3>
{% for c in s.creator %}
<span>{{ c }}</span>
{% endfor %}
{% for c in s.contributor %}
<span>{{ c }}</span>
{% endfor %}
<dl>
<dt>Creator</dt>
<dd>{{ ', '.join(s.creator or []) }}
<dt>Contributor</dt>
<dd>{{ ', '.join(s.contributor or []) }}</dd>
</dl>
{% if s.description %}
<p>{{ s.description }}</p>
{% endif %}
Expand Down

0 comments on commit 7a3da5c

Please sign in to comment.