new themes on da rails

This commit is contained in:
Tom Canac 2014-01-10 23:11:38 +01:00
parent 88704915dc
commit eaf0b092e7
5 changed files with 564 additions and 206 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 = "board"; //Template filename (must be placed in 'templates' folder) $templatefile = "squares"; //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

@ -2,6 +2,8 @@
<html> <html>
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano SSE <% version %>" />
<title><% title %></title> <title><% title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss/" /><link> <link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss/" /><link>
@ -9,9 +11,7 @@
<script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js"></script> <script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js"></script>
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" />
<style type="text/css"> <style type="text/css">
html{ html{
font-size: 62.5%; font-size: 62.5%;
} }
@ -32,7 +32,8 @@
text-decoration: none; text-decoration: none;
} }
h1 { h1 {
font-family: italic Georgia, Lucida, serif; font-family: Georgia, Lucida, serif;
font-style: italic;
margin: 20px 0 0 0; margin: 20px 0 0 0;
} }
@ -134,11 +135,11 @@
</head> </head>
<body> <body>
<header> <header role="banner">
<div id="innerheader"> <div id="innerheader">
<h1><a href="<% gallery_root %>"><% title %></a></h1> <h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %> <% messages %>
<nav><% breadcrumb_navigation %></nav> <nav role="navigation"><% breadcrumb_navigation %></nav>
</div> </div>
</header> </header>
@ -150,9 +151,9 @@
</main> </main>
<div class="clear"></div> <div class="clear"></div>
<nav><% page_navigation %></nav> <nav role="navigation"><% 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 -->
<footer> <footer role="contentinfo">
Gallery by <% author %>. 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 by SebSauvage. Made with MiniGal Nano by SebSauvage.

View file

@ -1,88 +1,91 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8">
<meta name="author" content="<% author %>" /> <meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano SSE <% version %>" /> <meta name="generator" content="MinigalNano SSE <% version %>" />
<title><% title %></title> <title><% title %></title>
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvBlack21.css" type="text/css" media="screen" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss/" /><link>
<script src="<% gallery_root %>js/mootools.js" type="text/javascript"></script> <script src="<% gallery_root %>js/mootools.js" type="text/javascript"></script>
<script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js" type="text/javascript"></script> <script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js" type="text/javascript"></script>
<style type="text/css"> <link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvBlack21.css" type="text/css" media="screen" />
body {
<style type="text/css">
body {
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
width: <% gallery_width %>; width: <% gallery_width %>;
font: 12px Tahoma,Verdana,Arial,Helvetica, sans-serif; font: 12px Tahoma,Verdana,Arial,Helvetica, sans-serif;
background: #272727; background: #272727;
color: #BDBDBD; color: #BDBDBD;
} }
h1 { h1 {
font: normal 250%/100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif; font: normal 250%/100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
margin: 20px 0 5px 0; margin: 20px 0 5px 0;
letter-spacing: -1px; letter-spacing: -1px;
color: #FFCC11; color: #FFCC11;
text-shadow: #000000 2px 2px 2px; text-shadow: #000000 2px 2px 2px;
} }
.credits { .credits {
border-bottom: solid 1px #434343; border-bottom: solid 1px #434343;
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
color: #CF8D26; color: #CF8D26;
font: 100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif; font: 100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
} }
.credits em { .credits em {
color: #BDBDBD; color: #BDBDBD;
font-style: normal; font-style: normal;
font-style: normal; font-style: normal;
} }
.backlink { .backlink {
text-align: center; text-align: center;
} }
.backlink a { .backlink a {
font-size: 10px; font-size: 10px;
text-decoration: none; text-decoration: none;
color: #666; color: #666;
} }
.backlink a:hover, .backlink a:hover,
.backlink a:visited:hover { .backlink a:visited:hover {
color: #888; color: #888;
} }
img { img {
border: none; border: none;
} }
#page_nav { #page_nav {
color: #BDBDBD; color: #BDBDBD;
clear:both; clear:both;
text-align: center; text-align: center;
} }
#page_nav a:link, #page_nav a:visited, #page_nav a:hover, #page_nav a:visited:hover { #page_nav a:link, #page_nav a:visited, #page_nav a:hover, #page_nav a:visited:hover {
text-decoration: none; text-decoration: none;
color: #FFCC11; color: #FFCC11;
} }
#breadcrumb_nav { #breadcrumb_nav {
color: #BDBDBD; color: #BDBDBD;
font-weight: bold; font-weight: bold;
} }
#breadcrumb_nav a:link, #breadcrumb_nav a:visited, #breadcrumb_nav a:hover, #breadcrumb_nav a:visited:hover { #breadcrumb_nav a:link, #breadcrumb_nav a:visited, #breadcrumb_nav a:hover, #breadcrumb_nav a:visited:hover {
text-decoration: none; text-decoration: none;
color: #FFCC11; color: #FFCC11;
} }
a { a {
color: #FFCC11; color: #FFCC11;
} }
#container { #container {
overflow: auto; overflow: auto;
width: 100% width: 100%
} }
.hidden { .hidden {
visibility: hidden; visibility: hidden;
position:absolute; position:absolute;
top:0; top:0;
left:0; left:0;
display:inline; display:inline;
} }
#topbar { #topbar {
border-bottom-color: #afafaf; border-bottom-color: #afafaf;
border-style: none; border-style: none;
color: black; color: black;
@ -97,35 +100,35 @@ a {
text-align: center; text-align: center;
background-color: #FFFF99; background-color: #FFFF99;
border-bottom: 1px solid; border-bottom: 1px solid;
} }
#topbar a:link, #topbar a:visited, #topbar a:hover, #topbar a:visited:hover { #topbar a:link, #topbar a:visited, #topbar a:hover, #topbar a:visited:hover {
text-decoration: underline; text-decoration: underline;
color: #000; color: #000;
} }
#topbar img{ #topbar img{
position: absolute; position: absolute;
right: 6; right: 6;
top: 6; top: 6;
vertical-align: middle; vertical-align: middle;
} }
#folder_comment #folder_comment
{ {
margin-bottom:10px; margin-bottom:10px;
} }
#folder_comment a { #folder_comment a {
color: #FFCC11; color: #FFCC11;
text-decoration: none; text-decoration: none;
} }
/* ---------- gallery styles start here ----------------------- */ /* ---------- gallery styles start here ----------------------- */
.gallery { .gallery {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.gallery li { .gallery li {
padding: 1px; padding: 1px;
margin: 0; margin: 0;
float: left; float: left;
@ -133,19 +136,19 @@ a {
width: 320px; width: 320px;
height: 240px; height: 240px;
overflow:hidden; overflow:hidden;
} }
.gallery li:hover img { .gallery li:hover img {
background: #ddd; background: #ddd;
filter: alpha(opacity=70); filter: alpha(opacity=70);
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
-moz-opacity: 0.70; -moz-opacity: 0.70;
opacity:0.7; opacity:0.7;
} }
.gallery img { .gallery img {
background: #000; background: #000;
color: #666; color: #666;
} }
.gallery em { .gallery em {
background: #000; background: #000;
color: #FFCC11; color: #FFCC11;
font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif; font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
@ -164,8 +167,8 @@ a {
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
-moz-opacity: 0.60; -moz-opacity: 0.60;
opacity:0.6; opacity:0.6;
} }
.gallery em-pdf { .gallery em-pdf {
color: #666; color: #666;
font-style: normal; font-style: normal;
font-size: 10px; font-size: 10px;
@ -174,33 +177,33 @@ a {
position: absolute; position: absolute;
top: 100px; top: 100px;
left: 0px; left: 0px;
} }
.gallery a { .gallery a {
text-decoration: none; text-decoration: none;
} }
.gallery a:hover em { .gallery a:hover em {
background: grey; background: grey;
color: black; color: black;
} }
</style> </style>
</head> </head>
<body> <body>
<header role="banner"> <header role="banner">
<h1><% title %></h1> <h1><% title %></h1>
<% messages %> <% messages %>
<p class="credits"><!--em>by: </em><% author %--></p> <p class="credits"><em>by: </em><% author %></p>
<nav id="breadcrumb_nav" role="navigation"><% breadcrumb_navigation %></nav> <nav id="breadcrumb_nav" role="navigation"><% breadcrumb_navigation %></nav>
</header> </header>
<section id="container"> <section id="container">
<p id="folder_comment"><% folder_comment %></p> <p id="folder_comment"><% folder_comment %></p>
<ul class="gallery"> <ul class="gallery">
<% thumbnails %> <% thumbnails %>
</ul> </ul>
</section> </section>
<br /> <br />
<nav id="page_nav" role="navigation"><% page_navigation %></nav> <nav id="page_nav" role="navigation"><% page_navigation %></nav>
<br /> <br />
<!-- 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 -->
<footer class="backlink" role="contentinfo"><a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by MiniGal Nano <% version %></a></footer> <footer class="backlink" role="contentinfo"><a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">Powered by MiniGal Nano <% version %></a></footer>
</body> </body>
</html> </html>

179
templates/rounded.html Normal file
View file

@ -0,0 +1,179 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano SSE <% version %>" />
<title><% title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss/" /><link>
<script src="<% gallery_root %>js/mootools.js"></script>
<script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js"></script>
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" />
<style type="text/css">
html{
font-size: 62.5%;
}
.clear{clear:both;}
body {
margin: 0;
padding: 0;
width: 100%;
font-size: 1.5rem;
font-family:Helvetica, Arial, sans-serif;
background: #3B3A37;
color: #FFF;
}
a {
color: #FFF;
font-weight: bold;
text-decoration: none;
}
h1 {
font-family: Georgia, Lucida, serif;
font-style: italic;
margin: 20px 0 0 0;
}
h1 a{
color: #E63D24;
}
body > header{
text-align: center;
padding: 1px;
margin-bottom: 15px;
}
#container, #innerheader{
max-width: <% gallery_width %>;
margin: 0px auto;
}
img {
border: none;
}
nav {
font-size: 1.3em;
padding: 15px 0px;
}
body > nav {
text-align: center;
}
#folder_comment
{
margin-bottom:10px;
}
#folder_comment a {
color: #FFCC11;
text-decoration: none;
}
#gallery {
list-style: none;
margin: 0;
padding: 0;
}
#gallery li, #gallery li img {
border-radius: 4px;
}
#gallery li {
float: left;
position: relative;
margin: .5%;
}
#gallery li img{
width: 86%;
margin: 0% 7%;
border-radius:100%;
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
}
#gallery li:hover img {
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
-webkit-box-shadow: 0px 0px 5px 0px #000;
box-shadow: 0px 0px 5px 0px #000;
}
#gallery em {
text-align: center;
font-style: normal;
padding: 8px 0px;
display: block;
position: absolute;
bottom:0px;
width: 100%;
}
footer {
margin: 25px 0px;
text-align: center;
}
footer a {
text-decoration: none;
color: #666;
}
/*----responsive----*/
#gallery li {
width: 24%;
height: 0;
padding-bottom: 24%;
}
@media (max-width: 1000px) {
#gallery li {
width: 32%;
padding-bottom: 32%;
}
}
@media (max-width: 800px) {
#gallery li {
width: 48%;
padding-bottom: 48%;
}
}
@media (max-width: 450px) {
#gallery li {
width: 100%;
padding-bottom: 100%;
}
}
</style>
</head>
<body>
<header role="banner">
<div id="innerheader">
<h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %>
<nav role="navigation"><% breadcrumb_navigation %></nav>
</div>
</header>
<main id="container">
<header><% folder_comment %></header>
<ul id="gallery">
<% thumbnails %>
</ul>
</main>
<div class="clear"></div>
<nav role="navigation"><% page_navigation %></nav>
<!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE -->
<footer role="contentinfo">
Gallery by <% author %>.
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
Made with MiniGal Nano by SebSauvage.
</a>
<a href="http://tomcanac.com" title="Tom Canac" target="_blank">
Rounded theme by Tom Canac.
</a>
<a title="<% title %> RSS" href="rss/" />
RSS
<a>
</footer>
</body>
</html>

175
templates/squares.html Normal file
View file

@ -0,0 +1,175 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano SSE <% version %>" />
<title><% title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss/" /><link>
<script src="<% gallery_root %>js/mootools.js"></script>
<script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js"></script>
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" />
<style type="text/css">
html{
font-size: 62.5%;
}
.clear{clear:both;}
body {
margin: 0;
padding: 0;
width: 100%;
font-size: 1.5rem;
font-family: Helvetica, Arial, sans-serif;
background: #2B2B2B;
color: #FFF;
}
a {
color: #74b336;
font-weight: bold;
text-decoration: none;
}
h1 {
margin: 20px 0 0 0;
}
h1 a{
color: #74b336;
}
body > header{
padding: 1px;
text-align: center;
}
#container, #innerheader{
/*max-width: <% gallery_width %>;*/
margin: 0px auto;
}
img {
border: none;
}
nav {
font-size: 1.3em;
padding: 15px 0px;
}
body > nav {
text-align: center;
}
#folder_comment
{
margin-bottom:10px;
}
#folder_comment a {
color: #FFCC11;
text-decoration: none;
}
#gallery {
list-style: none;
margin: 0;
padding: 0;
}
#gallery li, #gallery li img {
}
#gallery li {
float: left;
position: relative;
overflow:hidden;
}
#gallery li img{
width: 100%;
}
#gallery em {
padding: 40% 0%;
display: block;
position: absolute;
bottom:0px;
width: 100%;
top:100%;
color: #FFF;
background: rgba(0,0,0, .9);
text-align: center;
font-family: Georgia, Lucida, serif;
font-style: italic;
font-size: 2.5rem;
-webkit-transition: all .2s ease-in;
-moz-transition: all .2s ease-in;
-ms-transition: all .2s ease-in;
-o-transition: all .2s ease-in;
transition: all .2s ease-in;
}
#gallery li:hover em{
top:0%;
-webkit-transition: all .2s ease-in;
-moz-transition: all .2s ease-in;
-ms-transition: all .2s ease-in;
-o-transition: all .2s ease-in;
transition: all .2s ease-in;
}
footer {
margin: 25px 0px;
text-align: center;
}
/*----responsive----*/
#gallery li {
width: 25%;
height: 0;
padding-bottom: 24%;
}
@media (max-width: 1000px) {
#gallery li {
width: 32%;
padding-bottom: 32%;
}
}
@media (max-width: 800px) {
#gallery li {
width: 48%;
padding-bottom: 48%;
}
}
@media (max-width: 450px) {
#gallery li {
width: 100%;
padding-bottom: 100%;
}
}
</style>
</head>
<body>
<header role="banner">
<div id="innerheader">
<h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %>
<nav role="navigation"><% breadcrumb_navigation %></nav>
</div>
</header>
<main id="container">
<header><% folder_comment %></header>
<ul id="gallery">
<% thumbnails %>
</ul>
</main>
<div class="clear"></div>
<nav role="navigation"><% page_navigation %></nav>
<!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE -->
<footer role="contentinfo">
Gallery by <% author %>.
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
Made with MiniGal Nano by SebSauvage.
</a>
<a href="http://tomcanac.com" title="Tom Canac" target="_blank">
Board theme by Tom Canac.
</a>
<a title="<% title %> RSS" href="rss/" />
RSS
<a>
</footer>
</body>
</html>