Skip to content

Commit

Permalink
Calepin theme: Heading for category page, loads of stylesheet tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jokull committed Dec 12, 2011
1 parent 13b14f3 commit 4534722
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 15 deletions.
26 changes: 15 additions & 11 deletions calepin/static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ header {
background: #f0f0f0;
border-bottom: 1px solid #e0e0e0; }

h1 { font-size: 20px; padding: 20px 0; margin: 0; }
h1 a:hover,
h1 a:visited,
h1 a { font-weight: bold; text-decoration: none; display: block; }
h1 a img {
header h1 { font-size: 20px; padding: 20px 0; margin: 0; }
header h1 a:hover,
header h1 a:visited,
header h1 a { font-weight: bold; text-decoration: none; display: block; }
header h1 a img {
border-radius: 2px;
padding: 1px;
background: white;
Expand Down Expand Up @@ -77,17 +77,20 @@ article hr,
article table { max-width: 480px; }

article ul { list-style: disc outside; margin-left: 2em; }
article blockquote { font-size: 14px; padding-top: 7px; }
article blockquote { font-size: 14px; line-height: 19px; padding: 0 12px; margin: 20px 8px; }
article blockquote p { font-family: 'Merriweather', serif; font-size: 13px; font-style: normal; }

article .entry-header { margin-bottom: 20px; }
article .entry-header h2 { margin: 20px 0; }
article .entry-header a { text-decoration: none; border-bottom: 0; }
article .entry-header a:hover { border-bottom: 1px solid #CCC; }
article .entry-header .published a { border: 0; color: #888; }

article .entry-content h1 { font-size: 19pt; }
article .entry-content h2 { font-size: 17pt; }
article .entry-content h3 { font-size: 14pt; }
article .entry-content h4 { font-size: 12pt; }
article .entry-content h5 { font-size: 10pt; }
article .entry-content h5 { font-size: 10pt; font-weight: bold }
article .entry-content h6 { font-size: 10pt; margin-bottom: .3em; }

article .metadata { font-size: 11px; color: #888; }
Expand All @@ -98,11 +101,12 @@ sup { vertical-align: .2em; font-size: 80%; margin: -2px 0 0 2px; }

p img { max-width: 100%; }
code, pre { font-family: courier-new, courier, monospace;
background: rgba(0, 255, 0, .05); }
background: #f0f0f0 }
code { font-weight: bold; }
pre { padding: 15px; margin: 20px 0;
box-shadow: 0 0 2px rgba(0, 255, 0, .8);
font-size: 12px; }
pre { padding: 12px 16px; margin: 20px 0;
border-radius: 3px;
border: 1px solid #e0e0e0;
font-size: 13px; }
small { font-size: 80%; }

.MathJax_Display * { color: #222 !important; }
Expand Down
5 changes: 2 additions & 3 deletions calepin/templates/category.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "index.html" %}
{% block content_title %}
<h2>Articles in the {{ category }} category</h2>
{% endblock %}
{% block title %}{{ category }} - {{ SITENAME }}{% endblock %}
{% block section %}Posts in <em>{{ category }}</em>{% endblock %}

2 changes: 1 addition & 1 deletion calepin/templates/tag.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "index.html" %}
{% block title %}{{ tag }} - {{ SITENAME }}{% endblock %}
{% block section %}Posts in <em>{{ tag }}</em>{% endblock %}
{% block section %}Posts tagged with <em>{{ tag }}</em>{% endblock %}

0 comments on commit 4534722

Please sign in to comment.