aboutsummaryrefslogtreecommitdiffstats
path: root/mnmlist/compass
diff options
context:
space:
mode:
authorMathieu Agopian <mathieu.agopian@gmail.com>2012-11-30 15:14:10 +0100
committerMathieu Agopian <mathieu.agopian@gmail.com>2012-11-30 15:14:10 +0100
commit238fe43c6a3aba5e6eb6f3295691e010e7fffef0 (patch)
tree035045aed5e92be106a0ca4adab83405903943a5 /mnmlist/compass
parente4c896d1f5c0b093537e8f162df75484573d1d2c (diff)
downloadpelican-themes-238fe43c6a3aba5e6eb6f3295691e010e7fffef0.zip
pelican-themes-238fe43c6a3aba5e6eb6f3295691e010e7fffef0.tar.gz
pelican-themes-238fe43c6a3aba5e6eb6f3295691e010e7fffef0.tar.bz2
update mnmlist theme css for headings
Diffstat (limited to 'mnmlist/compass')
-rw-r--r--mnmlist/compass/src/main.scss41
1 files changed, 19 insertions, 22 deletions
diff --git a/mnmlist/compass/src/main.scss b/mnmlist/compass/src/main.scss
index b01954f..5ca45ee 100644
--- a/mnmlist/compass/src/main.scss
+++ b/mnmlist/compass/src/main.scss
@@ -1,9 +1,9 @@
/*
- Theme Name: mnmlist
+ Theme Name: mnmlist
Theme URI: http://mathieu.agopian.info/mnmlist/theme.html
- Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features.
- Author: Mathieu Agopian
- Autor URI: http://mathieu.agopian.info
+ Description: Theme adapted from http://mnmlist.com/theme/ from Leo Babauta, a very clean minimalist theme, without comments, search, archives or other features.
+ Author: Mathieu Agopian
+ Autor URI: http://mathieu.agopian.info
This theme is uncopyrighted, free, and offered as is.
*/
@@ -11,39 +11,36 @@
@import url("pygment.css");
body {
- background: #fff;
- color: #333;
- font: 20px Hoefler Text, bodyfont, serif;
+ background: #fff;
+ color: #333;
+ font: 20px Hoefler Text, bodyfont, serif;
line-height: 30px;
max-width: 30em;
- margin: 60px 14px 0 64px;
+ margin: 60px 14px 0 64px;
}
-
-h1 {
- color:#333;
+
+@mixin heading ($font-size, $color: #666) {
+ color: $color;
font-family: Helvetica, sans-serif;
- font-size: 1.5em;
+ font-size: $font-size;
+}
+
+h1 {
+ @include heading(1.5em, #333);
font-weight: normal;
- line-height: 26px;
margin-bottom: 0;
}
h2 {
- color:#666;
- font-family: Helvetica, sans-serif;
- font-size: 18px;
- line-height: 15px;
- padding-top: 10px;
+ @include heading(1.3em);
}
h3 {
- font-family: Georgia, "Times New Roman", Times, serif;
- font-size: 1em; color:#000000;
+ @include heading(1em);
}
h4 {
- color:#000000;
- font-size: 9pt;
+ @include heading(0.9em);
}
time {