Omit margin between header and backlinks.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 21 Sep 2011 18:48:56 +0000 (20:48 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 21 Sep 2011 18:48:56 +0000 (20:48 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/imageBrowser.html

index 3429138..058029c 100644 (file)
@@ -736,6 +736,10 @@ textarea {
        clear: both;
 }
 
+#sone h1.backlink {
+       margin-bottom: 0px;
+}
+
 #sone h2 {
        font-family: inherit;
        font-size: 150%;
index 019da9f..54f646f 100644 (file)
@@ -54,7 +54,7 @@
                                </script>
                        <%/if>
 
-                       <h1><%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html></h1>
+                       <h1 class="backlink"><%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html></h1>
 
                        <div class="backlinks">
                                <%foreach album.backlinks backlink backlinks>
 
        <%elseif imageRequested>
 
-               <h1><%image.title|html></h1>
+               <h1 class="backlink"><%image.title|html></h1>
 
                <div class="backlinks">
                        <%foreach image.album.backlinks backlink backlinks>