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,9 +19,9 @@ 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
$sorting_folders = "name"; // Sort folders by: [name][date] $sorting_folders = "name"; // Sort folders by: [name][date]
$sorting_files = "name"; // Sort files by: [name][date][size] $sorting_files = "name"; // Sort files by: [name][date][size]
@ -30,9 +30,9 @@ $sortdir_files = "ASC"; // Sort direction of files: [ASC][DESC]
//LANGUAGE STRINGS //LANGUAGE STRINGS
$label_home = "Home"; //Name of home link in breadcrumb navigation $label_home = "Home"; //Name of home link in breadcrumb navigation
$label_new = "New"; //Text to display for new images. Use with $display_new variable $label_new = "New"; //Text to display for new images. Use with $display_new variable
$label_page = "Page"; //Text used for page navigation $label_page = "Page"; //Text used for page navigation
$label_all = "All"; //Text used for link to display all images in one page $label_all = "All"; //Text used for link to display all images in one page
$label_noimages = "No images"; //Empty folder text $label_noimages = "No images"; //Empty folder text
$label_loading = "Loading..."; //Thumbnail loading text $label_loading = "Loading..."; //Thumbnail loading text

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,206 +1,209 @@
<!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 {
margin: 0 auto;
padding: 0;
width: <% gallery_width %>;
font: 12px Tahoma,Verdana,Arial,Helvetica, sans-serif;
background: #272727;
color: #BDBDBD;
}
h1 {
font: normal 250%/100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
margin: 20px 0 5px 0;
letter-spacing: -1px;
color: #FFCC11;
text-shadow: #000000 2px 2px 2px;
}
.credits {
border-bottom: solid 1px #434343;
padding-bottom: 5px;
margin-bottom: 5px;
color: #CF8D26;
font: 100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
}
.credits em {
color: #BDBDBD;
font-style: normal;
font-style: normal;
}
.backlink {
text-align: center;
}
.backlink a {
font-size: 10px;
text-decoration: none;
color: #666;
}
.backlink a:hover,
.backlink a:visited:hover {
color: #888;
}
img {
border: none;
}
#page_nav {
color: #BDBDBD;
clear:both;
text-align: center;
}
#page_nav a:link, #page_nav a:visited, #page_nav a:hover, #page_nav a:visited:hover {
text-decoration: none;
color: #FFCC11;
}
#breadcrumb_nav {
color: #BDBDBD;
font-weight: bold;
}
#breadcrumb_nav a:link, #breadcrumb_nav a:visited, #breadcrumb_nav a:hover, #breadcrumb_nav a:visited:hover {
text-decoration: none;
color: #FFCC11;
}
a {
color: #FFCC11;
}
#container {
overflow: auto;
width: 100%
}
.hidden {
visibility: hidden;
position:absolute;
top:0;
left:0;
display:inline;
}
#topbar {
border-bottom-color: #afafaf;
border-style: none;
color: black;
position: absolute;
left: 0;
top: 0;
margin: 0;
padding-top: 5px;
float: none;
width: 100%;
height: 25px;
text-align: center;
background-color: #FFFF99;
border-bottom: 1px solid;
}
#topbar a:link, #topbar a:visited, #topbar a:hover, #topbar a:visited:hover {
text-decoration: underline;
color: #000;
}
#topbar img{
position: absolute;
right: 6;
top: 6;
vertical-align: middle;
}
#folder_comment <style type="text/css">
{ body {
margin-bottom:10px; margin: 0 auto;
} padding: 0;
width: <% gallery_width %>;
font: 12px Tahoma,Verdana,Arial,Helvetica, sans-serif;
background: #272727;
color: #BDBDBD;
}
h1 {
font: normal 250%/100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
margin: 20px 0 5px 0;
letter-spacing: -1px;
color: #FFCC11;
text-shadow: #000000 2px 2px 2px;
}
.credits {
border-bottom: solid 1px #434343;
padding-bottom: 5px;
margin-bottom: 5px;
color: #CF8D26;
font: 100% "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
}
.credits em {
color: #BDBDBD;
font-style: normal;
font-style: normal;
}
.backlink {
text-align: center;
}
.backlink a {
font-size: 10px;
text-decoration: none;
color: #666;
}
.backlink a:hover,
.backlink a:visited:hover {
color: #888;
}
img {
border: none;
}
#page_nav {
color: #BDBDBD;
clear:both;
text-align: center;
}
#page_nav a:link, #page_nav a:visited, #page_nav a:hover, #page_nav a:visited:hover {
text-decoration: none;
color: #FFCC11;
}
#breadcrumb_nav {
color: #BDBDBD;
font-weight: bold;
}
#breadcrumb_nav a:link, #breadcrumb_nav a:visited, #breadcrumb_nav a:hover, #breadcrumb_nav a:visited:hover {
text-decoration: none;
color: #FFCC11;
}
a {
color: #FFCC11;
}
#container {
overflow: auto;
width: 100%
}
.hidden {
visibility: hidden;
position:absolute;
top:0;
left:0;
display:inline;
}
#topbar {
border-bottom-color: #afafaf;
border-style: none;
color: black;
position: absolute;
left: 0;
top: 0;
margin: 0;
padding-top: 5px;
float: none;
width: 100%;
height: 25px;
text-align: center;
background-color: #FFFF99;
border-bottom: 1px solid;
}
#topbar a:link, #topbar a:visited, #topbar a:hover, #topbar a:visited:hover {
text-decoration: underline;
color: #000;
}
#topbar img{
position: absolute;
right: 6;
top: 6;
vertical-align: middle;
}
#folder_comment a { #folder_comment
color: #FFCC11; {
text-decoration: none; margin-bottom:10px;
}
} #folder_comment a {
/* ---------- gallery styles start here ----------------------- */ color: #FFCC11;
.gallery { text-decoration: none;
list-style: none;
margin: 0; }
padding: 0; /* ---------- gallery styles start here ----------------------- */
} .gallery {
.gallery li { list-style: none;
padding: 1px; margin: 0;
margin: 0; padding: 0;
float: left; }
position: relative; .gallery li {
width: 320px; padding: 1px;
height: 240px; margin: 0;
overflow:hidden; float: left;
} position: relative;
.gallery li:hover img { width: 320px;
background: #ddd; height: 240px;
filter: alpha(opacity=70); overflow:hidden;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70); }
-moz-opacity: 0.70; .gallery li:hover img {
opacity:0.7; background: #ddd;
} filter: alpha(opacity=70);
.gallery img { filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
background: #000; -moz-opacity: 0.70;
color: #666; opacity:0.7;
} }
.gallery em { .gallery img {
background: #000; background: #000;
color: #FFCC11; color: #666;
font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif; }
font-style: normal; .gallery em {
font-weight: bold; background: #000;
font-size: 14px; color: #FFCC11;
padding: 8px 2px; font-family: "Trebuchet MS",Tahoma,Verdana,Arial,Helvetica, sans-serif;
display: block; font-style: normal;
position: absolute; font-weight: bold;
/* top: 90px; */ font-size: 14px;
bottom:20px; padding: 8px 2px;
left: 0px; display: block;
width: 320px; position: absolute;
/* height: 40px; */ /* top: 90px; */
filter: alpha(opacity=60); bottom:20px;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60); left: 0px;
-moz-opacity: 0.60; width: 320px;
opacity:0.6; /* height: 40px; */
} filter: alpha(opacity=60);
.gallery em-pdf { filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
color: #666; -moz-opacity: 0.60;
font-style: normal; opacity:0.6;
font-size: 10px; }
padding: 3px 7px; .gallery em-pdf {
display: block; color: #666;
position: absolute; font-style: normal;
top: 100px; font-size: 10px;
left: 0px; padding: 3px 7px;
} display: block;
.gallery a { position: absolute;
text-decoration: none; top: 100px;
} left: 0px;
.gallery a:hover em { }
background: grey; .gallery a {
color: black; text-decoration: none;
} }
</style> .gallery a:hover em {
background: grey;
color: black;
}
</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>