Minigalnano/templates/squares.html

168 lines
3.3 KiB
HTML
Raw Normal View History

2014-01-10 23:11:38 +01:00
<!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">
2014-01-12 14:09:31 +01:00
html {
font-size:62.5%;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
.clear {
clear:both;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
body {
width:100%;
margin:0;
padding:0;
text-shadow:0 1px 0 #000;
font-family:Helvetica,Arial,sans-serif;
font-size:1.5rem;
color:#FFF;
background:#232321;
}
a,
h1 a {
text-decoration:none;
color:#FF0084;
2014-01-10 23:11:38 +01:00
}
h1 {
2014-01-12 14:09:31 +01:00
margin:20px 0 0;
font-weight:normal;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
body > header {
padding:1px;
text-align:center;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
#container,
#innerheader {
margin:0 auto;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
#container header {
padding:2rem;
2014-01-10 23:11:38 +01:00
}
nav {
2014-01-12 14:09:31 +01:00
padding-top:15px;
font-size:1.3em;
2014-01-10 23:11:38 +01:00
}
body > nav {
2014-01-12 14:09:31 +01:00
text-align:center;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
#folder_comment {
2014-01-10 23:11:38 +01:00
margin-bottom:10px;
}
#folder_comment a {
2014-01-12 14:09:31 +01:00
text-decoration:none;
color:#FFCC11;
}
#gallery li:hover img,
#gallery li img,
#gallery li em,
#gallery li:hover em {
-webkit-transition:all .2s ease-in;
-ms-transition:all .2s ease-in;
-o-transition:all .2s ease-in;
transition:all .2s ease-in;
2014-01-10 23:11:38 +01:00
}
#gallery {
2014-01-12 14:09:31 +01:00
margin:0;
padding:0;
list-style:none;
2014-01-10 23:11:38 +01:00
}
#gallery li {
2014-01-12 14:09:31 +01:00
float:left;
position:relative;
2014-01-10 23:11:38 +01:00
overflow:hidden;
}
2014-01-12 14:09:31 +01:00
#gallery li img {
width:100%;
}
2014-01-10 23:11:38 +01:00
#gallery em {
2014-01-12 14:09:31 +01:00
display:block;
position:absolute;
2014-01-10 23:11:38 +01:00
top:100%;
2014-01-12 14:09:31 +01:00
bottom:0;
width:100%;
padding:40% 0;
text-align:center;
font-family:Georgia,Lucida,serif;
font-size:2.5rem;
font-style:italic;
color:#FFF;
background:rgba(0,0,0,.9);
}
#gallery li:hover em {
top:0;
2014-01-10 23:11:38 +01:00
}
footer {
2014-01-12 14:09:31 +01:00
margin:25px 0;
text-align:center;
2014-01-10 23:11:38 +01:00
}
/*----responsive----*/
#gallery li {
2014-01-12 14:09:31 +01:00
width:25%;
height:0;
padding-bottom:24%;
2014-01-10 23:11:38 +01:00
}
2014-01-12 14:09:31 +01:00
@media(max-width:1000px) {
2014-01-10 23:11:38 +01:00
#gallery li {
2014-01-12 14:09:31 +01:00
width:32%;
padding-bottom:32%;
2014-01-10 23:11:38 +01:00
}
}
2014-01-12 14:09:31 +01:00
@media(max-width:800px) {
2014-01-10 23:11:38 +01:00
#gallery li {
2014-01-12 14:09:31 +01:00
width:48%;
padding-bottom:48%;
2014-01-10 23:11:38 +01:00
}
}
2014-01-12 14:09:31 +01:00
@media(max-width:450px) {
2014-01-10 23:11:38 +01:00
#gallery li {
2014-01-12 14:09:31 +01:00
width:100%;
padding-bottom:100%;
2014-01-10 23:11:38 +01:00
}
}
</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 %>.
2014-01-12 15:40:28 +01:00
<a href="https://github.com/tmos/miniboardnano" title="Powered by MiniGal Nano" target="_blank">
Made with miniboardNano by Tom Canac.
2014-01-10 23:11:38 +01:00
</a>
2014-01-12 15:40:28 +01:00
<a href="http://tomcanac.com/miniboardnano/" title="Tom Canac" target="_blank">
Squares theme by Tom Canac.
2014-01-10 23:11:38 +01:00
</a>
<a title="<% title %> RSS" href="rss/" />
RSS
<a>
</footer>
</body>
</html>