Minigalnano/templates/board.html

175 lines
3.7 KiB
HTML
Raw Normal View History

2014-01-09 19:16:40 +01:00
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
2014-01-10 23:11:38 +01:00
<meta name="author" content="<% author %>" />
<meta name="generator" content="MinigalNano SSE <% version %>" />
2014-01-09 19:16:40 +01:00
<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>
2014-01-30 12:29:34 +01:00
<script src="<% gallery_root %>js/lazy.js"></script>
<script>
window.addEventListener('load', function(){
var bLazy = new Blazy;
}, false);
</script>
2014-01-09 19:16:40 +01:00
<script src="<% gallery_root %>js/mootools.js"></script>
<script src="<% gallery_root %>js/mediaboxAdv-1.3.4b.js"></script>
2014-01-09 21:21:27 +01:00
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" />
2014-01-30 11:02:48 +01:00
<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: #E7E6E0;
color: #333333;
}
a {
color: #333333;
font-weight: bold;
text-decoration: none;
}
h1 {
margin: 20px 0 0 0;
font-family: Georgia, Lucida, serif;
font-style: italic;
}
h1 a{
color: #CC2027;
}
body > header{
background-color:#FFF;
padding: 1px 0 0 0;
margin-bottom: 1rem;
}
#container, #innerheader{
max-width: <% gallery_width %>;
margin: 0px auto;
}
header aside{
padding: 2rem 0;
}
img {
border: none;
}
nav {
font-size: 1.3em;
padding-top: 2rem;
}
body > nav {
text-align: center;
}
#folder_comment
{
margin-bottom:10px;
}
#folder_comment a {
color: #FFCC11;
text-decoration: none;
}
2014-01-09 19:16:40 +01:00
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%;
}
#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-01-30 11:02:48 +01:00
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>
2014-01-09 19:16:40 +01:00
2014-01-30 11:02:48 +01:00
<body>
<header role="banner">
<div id="innerheader">
<h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %>
<nav role="navigation"><% breadcrumb_navigation %></nav>
<aside><% folder_comment %></aside>
</div>
</header>
2014-01-09 20:58:25 +01:00
2014-01-30 11:02:48 +01:00
<main id="container">
<ul id="gallery">
<% thumbnails %>
</ul>
</main>
2014-01-09 20:58:25 +01:00
2014-01-30 11:02:48 +01:00
<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/tmos/miniboardnano" title="Powered by MiniGal Nano" target="_blank">
Made with miniboardNano by Tom Canac.
</a>
<a href="http://tomcanac.com/miniboardnano/" title="Tom Canac" target="_blank">
Board theme by Tom Canac.
</a>
<a title="<% title %> RSS" href="rss/" />
RSS
<a>
</footer>
</body>
2014-01-09 19:16:40 +01:00
</html>