Board theme : bug fixs

This commit is contained in:
Tom Canac 2014-01-09 20:58:25 +01:00
parent 7273eaede4
commit 9cec62e2a7
2 changed files with 20 additions and 12 deletions

View file

@ -19,7 +19,7 @@ Please enjoy this free script!
$thumbs_pr_page = "39"; //Number of thumbnails on a single page $thumbs_pr_page = "39"; //Number of thumbnails on a single page
$gallery_width = "80%"; //Gallery width. Eg: "500px" or "70%" $gallery_width = "80%"; //Gallery width. Eg: "500px" or "70%"
$backgroundcolor = "white"; //This provides a quick way to change your gallerys background to suit your website. Use either main colors like "black", "white", "yellow" etc. Or HEX colors, eg. "#AAAAAA" $backgroundcolor = "white"; //This provides a quick way to change your gallerys background to suit your website. Use either main colors like "black", "white", "yellow" etc. Or HEX colors, eg. "#AAAAAA"
$templatefile = "darkgold2"; //Template filename (must be placed in 'templates' folder) $templatefile = "board"; //Template filename (must be placed in 'templates' folder)
$title = "MiniGal Nano test gallery"; // Text to be displayed in browser titlebar $title = "MiniGal Nano test gallery"; // Text to be displayed in browser titlebar
$author = "John Doe"; $author = "John Doe";
$folder_color = "black"; // Color of folder icons: blue / black / vista / purple / green / grey $folder_color = "black"; // Color of folder icons: blue / black / vista / purple / green / grey

View file

@ -11,11 +11,15 @@
<style type="text/css"> <style type="text/css">
html{
font-size: 62.5%;
}
body { body {
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
font: 14px Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.5rem;
font-family:Helvetica, Arial, sans-serif;
background: #E7E6E0; background: #E7E6E0;
color: #333333; color: #333333;
} }
@ -25,8 +29,8 @@
text-decoration: none; text-decoration: none;
} }
h1 { h1 {
font: italic 250%/100% Georgia, Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", serif; font-family: italic Georgia, Lucida, serif;
margin: 20px 0 5px 0; margin: 20px 0 0 0;
} }
h1 a{ h1 a{
@ -48,6 +52,9 @@
font-size: 1.3em; font-size: 1.3em;
padding: 15px 0px; padding: 15px 0px;
} }
body > nav {
text-align: center;
}
#folder_comment #folder_comment
{ {
margin-bottom:10px; margin-bottom:10px;
@ -71,8 +78,10 @@
position: relative; position: relative;
overflow:hidden; overflow:hidden;
margin: .5%; margin: .5%;
/*
-webkit-box-shadow: 0px 0px 2px -1px #000; -webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000; box-shadow: 0px 0px 2px -1px #000;
*/
} }
#gallery img { #gallery img {
background: #000; background: #000;
@ -83,7 +92,7 @@
text-align: center; text-align: center;
font-style: normal; font-style: normal;
font-weight: bold; font-weight: bold;
padding: 8px 2px; padding: 8px 0px;
display: block; display: block;
position: absolute; position: absolute;
bottom:0px; bottom:0px;
@ -96,7 +105,6 @@
text-align: center; text-align: center;
} }
footer a { footer a {
font-size: 10px;
text-decoration: none; text-decoration: none;
color: #666; color: #666;
} }
@ -131,28 +139,28 @@
<div> <div>
<h1><a href="<% gallery_root %>"><% title %></a></h1> <h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %> <% messages %>
<aside>by: <% author %></aside>
<nav><% breadcrumb_navigation %></nav> <nav><% breadcrumb_navigation %></nav>
</div> </div>
</header> </header>
<main id="container"> <main id="container">
<header><% folder_comment %></header> <header><% folder_comment %></header>
<ul id="gallery"> <ul id="gallery">
<% thumbnails %> <% thumbnails %>
</ul> </ul>
</main> </main>
<div class="clear"></div>
<nav><% page_navigation %></nav> <nav><% page_navigation %></nav>
<!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE --> <!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE -->
<div class="clear"></div>
<footer> <footer>
Gallery by <% author %>.
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank"> <a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
Made with MiniGal Nano Made with MiniGal Nano by SebSauvage.
</a> </a>
|
<a href="http://tomcanac.com" title="Tom Canac" target="_blank"> <a href="http://tomcanac.com" title="Tom Canac" target="_blank">
Board theme by Tom Canac Board theme by Tom Canac.
</a> </a>
|
<a title="<% title %> RSS" href="rss/" /> <a title="<% title %> RSS" href="rss/" />
RSS RSS
<a> <a>