Minigalnano/templates/board.html

236 lines
4.8 KiB
HTML
Raw Permalink Normal View History

2014-02-09 16:43:32 +01:00
<!DOCTYPE html>
2014-01-09 19:16:40 +01:00
<html>
<head>
<meta charset="UTF-8">
2014-01-10 23:11:38 +01:00
<meta name="author" content="<% author %>" />
2014-02-02 18:40:03 +01:00
<meta name="generator" content="MinigalNano <% version %>" />
2014-01-09 19:16:40 +01:00
<title><% title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2014-02-25 10:24:36 +01:00
<link rel="alternate" type="application/rss+xml" title="<% title %>" href="rss.php" />
2014-02-02 18:40:03 +01:00
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxWhite.css" type="text/css" media="screen" />
2014-01-30 11:02:48 +01:00
<style type="text/css">
html{
font-size: 62.5%;
}
body {
2015-06-30 00:20:05 +02:00
position: relative;
2014-01-30 11:02:48 +01:00
margin: 0;
padding: 0;
width: 100%;
font-size: 1.5rem;
font-family:Helvetica, Arial, sans-serif;
background: #E7E6E0;
color: #333333;
}
a {
color: #333333;
font-weight: bold;
text-decoration: none;
}
h1 {
2015-06-30 00:20:05 +02:00
margin: 0;
padding: 1.5rem 0;
2014-01-30 11:02:48 +01:00
font-family: Georgia, Lucida, serif;
font-style: italic;
}
h1 a{
2015-07-07 14:01:47 +02:00
color: #CC2027;
2014-01-30 11:02:48 +01:00
}
body > header{
background-color:#FFF;
padding: 1px 0 0 0;
margin-bottom: 1rem;
}
2015-06-29 23:33:33 +02:00
#container,
#innerheader,
.Message {
2014-01-30 11:02:48 +01:00
max-width: <% gallery_width %>;
margin: 0px auto;
}
2015-06-29 23:40:58 +02:00
2015-06-29 23:33:33 +02:00
.Message {
2015-06-29 23:48:14 +02:00
background-color: #2ecc71;
2015-06-29 23:33:33 +02:00
border-radius: 2px;
}
2015-06-30 00:20:05 +02:00
.Message > div {
padding: 1rem;
}
2015-06-29 23:33:33 +02:00
.closeMessage {
float: right;
}
2015-06-29 23:40:58 +02:00
2015-06-30 00:20:05 +02:00
.Comment {
2014-01-30 11:02:48 +01:00
padding: 2rem 0;
}
img {
border: none;
}
nav {
font-size: 1.3em;
2015-06-30 00:20:05 +02:00
}
.NavWrapper {
padding: 1rem 0;
2014-01-30 11:02:48 +01:00
}
body > nav {
text-align: center;
}
2015-06-29 23:40:58 +02:00
.Empty,
.EmptyAdvice {
text-align: center;
text-shadow:0 1px 0 #FFF
}
.Empty {
font-size: 10rem;
}
.EmptyAdvice {
font-size: 2rem;
font-style: italic;
}
2014-01-30 11:02:48 +01:00
#folder_comment
{
margin-bottom:10px;
}
#folder_comment a {
color: #FFCC11;
text-decoration: none;
}
#backtop,
#backtop:hover,
#backtop:active,
.b-lazy {
-webkit-transition:all .2s ease-in;
-o-transition:all .2s ease-in;
transition:all .2s ease-in;
}
2014-01-30 11:02:48 +01:00
#gallery {
list-style: none;
margin: 0;
padding: 0;
2014-01-09 19:16:40 +01:00
}
2014-01-30 11:02:48 +01:00
#gallery li, #gallery li img {
border-radius: 4px;
2014-01-09 19:16:40 +01:00
}
#gallery li {
2014-01-30 11:02:48 +01:00
float: left;
position: relative;
overflow:hidden;
margin: .5%;
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
}
#gallery li img{
width: 100%;
2015-07-07 14:01:47 +02:00
}
2014-01-30 11:02:48 +01:00
#gallery em {
background: #FFF;
text-align: center;
font-style: normal;
padding: 8px 0px;
display: block;
position: absolute;
bottom:0px;
2014-01-09 19:16:40 +01:00
width: 100%;
}
2014-05-04 20:59:42 +02:00
.clear {
clear:both;
2014-05-04 20:59:42 +02:00
}
footer {
padding-top: 2rem;
2015-06-30 00:20:05 +02:00
margin-bottom: 25px;
2014-01-30 11:02:48 +01:00
text-align: center;
}
footer a {
text-decoration: none;
color: #666;
}
/*----Back to top button---*/
#backtop {
display: block;
position: fixed;
bottom: 0;
right: 0;
padding: 1rem 4rem;
background-color: #CC2027;
color: #FFF;
margin: .5%;
border-radius: 4px;
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
}
2014-01-30 18:45:22 +01:00
/*----lazyloading---*/
.loader{
background: url('images/loader.gif') center center no-repeat;
}
.b-lazy {
opacity: 0;
}
.b-lazy.b-loaded {
opacity: 1;
}
2014-01-30 11:02:48 +01:00
/*----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>
2014-02-09 16:43:32 +01:00
<header id="top" role="banner">
2014-01-30 11:02:48 +01:00
<div id="innerheader">
<h1><a href="<% gallery_root %>"><% title %></a></h1>
<nav role="navigation"><% breadcrumb_navigation %></nav>
<aside><% folder_comment %></aside>
</div>
2015-06-29 23:33:33 +02:00
<div id="Message" class="Message">
<% messages %>
</div>
2015-07-07 14:01:47 +02:00
</header>
2015-06-29 23:33:33 +02:00
2014-01-30 11:02:48 +01:00
<main id="container">
<ul id="gallery">
<% thumbnails %>
</ul>
</main>
<nav class="clear" role="navigation"><% page_navigation %></nav>
<a href="#top" id="backtop">top</a>
2014-01-30 11:02:48 +01:00
<footer role="contentinfo">
2014-02-02 18:54:48 +01:00
Gallery by <% author %> /
2014-02-02 18:40:03 +01:00
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
2014-02-02 18:54:48 +01:00
Powered by MiniGal Nano <% version %>
</a> /
2014-02-02 18:40:03 +01:00
<a href="http://tomcanac.com/minigal/" title="Tom Canac" target="_blank">
2014-02-02 18:54:48 +01:00
Board theme by Tom Canac
</a> /
2014-02-25 10:24:36 +01:00
<a title="<% title %> RSS" href="rss.php">
2014-01-30 11:02:48 +01:00
RSS
2014-02-09 16:43:32 +01:00
</a>
2014-01-30 11:02:48 +01:00
</footer>
2015-06-29 23:33:33 +02:00
<script src="<% gallery_root %>js/lazy.js"></script>
<script src="<% gallery_root %>js/script.js"></script>
<script src="<% gallery_root %>js/mootools1.5.0.js"></script>
<script src="<% gallery_root %>js/mediabox1.5.4.js"></script>
2014-01-30 11:02:48 +01:00
</body>
2014-01-09 19:16:40 +01:00
</html>