new themes on da rails
This commit is contained in:
parent
88704915dc
commit
eaf0b092e7
5 changed files with 564 additions and 206 deletions
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
<!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>
|
||||||
|
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvBlack21.css" type="text/css" media="screen" />
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -188,7 +191,7 @@ a {
|
||||||
<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">
|
||||||
|
|
179
templates/rounded.html
Normal file
179
templates/rounded.html
Normal 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
175
templates/squares.html
Normal 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>
|
Loading…
Reference in a new issue