diff options
author | paz <paz@nadir.org> | 2015-08-20 14:06:49 +0200 |
---|---|---|
committer | paz <paz@nadir.org> | 2015-08-20 14:06:49 +0200 |
commit | baac60ef7414b84fe986313f4d23ce7f04603fcf (patch) | |
tree | bb59f367e643bd4e10423c5851ea391b0b22ef6a /_layouts | |
parent | e1bdf0f11b8f5ba6223c70e2055c06bb671ee4b9 (diff) |
Split subtitle from title.
And a little more styling.
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.haml | 12 | ||||
-rw-r--r-- | _layouts/default.html | 12 | ||||
-rw-r--r-- | _layouts/page.haml | 1 | ||||
-rw-r--r-- | _layouts/page.html | 1 |
4 files changed, 26 insertions, 0 deletions
diff --git a/_layouts/default.haml b/_layouts/default.haml index c71a592..6cc1954 100644 --- a/_layouts/default.haml +++ b/_layouts/default.haml @@ -16,6 +16,18 @@ float: right; margin: 0 0 0 2%; } + h1 { + padding: 0; + margin-bottom: 0; + } + #subtitle { + color: #999999; + font-weight: bold; + font-size: 1.1em; + } + header { + margin-bottom: 2em; + } %body %img#logo{src: 'images/schleuder.png'} diff --git a/_layouts/default.html b/_layouts/default.html index c17152e..a718cde 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -15,6 +15,18 @@ float: right; margin: 0 0 0 2%; } + h1 { + padding: 0; + margin-bottom: 0; + } + #subtitle { + color: #999999; + font-weight: bold; + font-size: 1.1em; + } + header { + margin-bottom: 2em; + } </style> </head> <body> diff --git a/_layouts/page.haml b/_layouts/page.haml index 6ad406c..83b6f9b 100644 --- a/_layouts/page.haml +++ b/_layouts/page.haml @@ -5,4 +5,5 @@ layout: default .page %header %h1 {{ page.title }} + #subtitle {{ page.subtitle }} %article {{ content }} diff --git a/_layouts/page.html b/_layouts/page.html index 6b539ce..5ec42a7 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,6 +2,7 @@ layout: default <div class='page'> <header> <h1>{{ page.title }}</h1> + <div id='subtitle'>{{ page.subtitle }}</div> </header> <article>{{ content }}</article> </div> |