Minigalnano/templates/board.html

171 lines
3.2 KiB
HTML
Raw Normal View History

2014-01-09 19:16:40 +01:00
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<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>
2014-01-09 21:21:27 +01:00
<link rel="stylesheet" href="<% gallery_root %>css/mediaboxAdvWhite.css" type="text/css" media="screen" />
2014-01-09 19:16:40 +01:00
<style type="text/css">
2014-01-09 21:21:27 +01:00
2014-01-09 20:58:25 +01:00
html{
font-size: 62.5%;
}
2014-01-09 21:21:27 +01:00
.clear{clear:both;}
2014-01-09 19:16:40 +01:00
body {
margin: 0;
padding: 0;
width: 100%;
2014-01-09 20:58:25 +01:00
font-size: 1.5rem;
font-family:Helvetica, Arial, sans-serif;
2014-01-09 19:16:40 +01:00
background: #E7E6E0;
color: #333333;
}
2014-01-09 21:21:27 +01:00
2014-01-09 19:16:40 +01:00
a {
color: #333333;
font-weight: bold;
text-decoration: none;
}
h1 {
2014-01-09 20:58:25 +01:00
font-family: italic Georgia, Lucida, serif;
margin: 20px 0 0 0;
2014-01-09 19:16:40 +01:00
}
h1 a{
color: #CC2027;
}
2014-01-09 21:21:27 +01:00
2014-01-09 19:16:40 +01:00
body > header{
background-color:#FFF;
padding: 1px;
margin-bottom: 15px;
}
2014-01-09 21:21:27 +01:00
#container, #innerheader{
2014-01-09 19:16:40 +01:00
max-width: <% gallery_width %>;
margin: 0px auto;
}
img {
border: none;
}
nav {
font-size: 1.3em;
padding: 15px 0px;
}
2014-01-09 20:58:25 +01:00
body > nav {
text-align: center;
}
2014-01-09 19:16:40 +01:00
#folder_comment
{
margin-bottom:10px;
}
#folder_comment a {
color: #FFCC11;
text-decoration: none;
}
2014-01-09 21:21:27 +01:00
2014-01-09 19:16:40 +01:00
#gallery {
list-style: none;
margin: 0;
padding: 0;
}
#gallery li, #gallery li img {
border-radius: 4px;
}
#gallery li {
float: left;
position: relative;
overflow:hidden;
margin: .5%;
2014-01-09 20:58:25 +01:00
/*
2014-01-09 19:16:40 +01:00
-webkit-box-shadow: 0px 0px 2px -1px #000;
box-shadow: 0px 0px 2px -1px #000;
2014-01-09 20:58:25 +01:00
*/
2014-01-09 19:16:40 +01:00
}
2014-01-09 21:21:27 +01:00
#gallery li img{
width: 100%;
}
2014-01-09 19:16:40 +01:00
#gallery em {
background: #FFF;
text-align: center;
font-style: normal;
2014-01-09 20:58:25 +01:00
padding: 8px 0px;
2014-01-09 19:16:40 +01:00
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%;
2014-01-09 21:21:27 +01:00
height: 0;
padding-bottom: 24%;
2014-01-09 19:16:40 +01:00
}
@media (max-width: 1000px) {
#gallery li {
width: 32%;
2014-01-09 21:21:27 +01:00
padding-bottom: 32%;
2014-01-09 19:16:40 +01:00
}
}
@media (max-width: 800px) {
#gallery li {
width: 48%;
2014-01-09 21:21:27 +01:00
padding-bottom: 48%;
2014-01-09 19:16:40 +01:00
}
}
@media (max-width: 450px) {
#gallery li {
width: 100%;
2014-01-09 21:21:27 +01:00
padding-bottom: 100%;
2014-01-09 19:16:40 +01:00
}
}
</style>
</head>
<body>
<header>
2014-01-09 21:21:27 +01:00
<div id="innerheader">
2014-01-09 19:16:40 +01:00
<h1><a href="<% gallery_root %>"><% title %></a></h1>
<% messages %>
<nav><% breadcrumb_navigation %></nav>
</div>
</header>
2014-01-09 20:58:25 +01:00
2014-01-09 19:16:40 +01:00
<main id="container">
<header><% folder_comment %></header>
<ul id="gallery">
<% thumbnails %>
</ul>
</main>
2014-01-09 20:58:25 +01:00
<div class="clear"></div>
2014-01-09 19:16:40 +01:00
<nav><% page_navigation %></nav>
<!-- CREDITS - DO NOT REMOVE OR YOU WILL VOID MiniGal Nano TERMS OF USE -->
<footer>
2014-01-09 20:58:25 +01:00
Gallery by <% author %>.
2014-01-09 19:16:40 +01:00
<a href="https://github.com/sebsauvage/MinigalNano" title="Powered by MiniGal Nano" target="_blank">
2014-01-09 20:58:25 +01:00
Made with MiniGal Nano by SebSauvage.
2014-01-09 19:16:40 +01:00
</a>
<a href="http://tomcanac.com" title="Tom Canac" target="_blank">
2014-01-09 20:58:25 +01:00
Board theme by Tom Canac.
2014-01-09 19:16:40 +01:00
</a>
<a title="<% title %> RSS" href="rss/" />
RSS
<a>
</footer>
</body>
</html>