[mod] update example build

This commit is contained in:
Laurent Peuch 2016-02-09 22:06:34 +01:00
parent cf4e779175
commit e8b06150b6
3 changed files with 112 additions and 24 deletions

View File

@ -4,6 +4,8 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="static/css/fonts.css" media="screen,projection"/> <link type="text/css" rel="stylesheet" href="static/css/fonts.css" media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="static/css/style.css" media="screen,projection"/> <link type="text/css" rel="stylesheet" href="static/css/style.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile--> <!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
@ -15,32 +17,48 @@
<div class="gallery-header"> <div class="gallery-header">
<img id="logo" src="static/img/logo.svg" /> <img id="logo" src="static/img/logo.svg" />
<h1>Example gallery</h1> <h1>Example gallery</h1>
<h4>The subtitle</h4><hr>
<hr> <nav>
</div> <div class="nav-wrapper">
<ul>
<div class="galleries-grid">
<div class="galleries-line covers-1"> <li><a href=about.html class=first-item-menu>Menu 1</a></li>
<!-- comment tricks against space between inline-block
--><div class="gallery-square">
<a href="first_gallery">
<div class="gallery-title"> <li><a href=contact.html class=item-menu>Menu 2</a></li>
<h2>my first gallery</h2>
<h3>some subtitle</h3> </ul>
<div class="gallery-datetime">08 December 2015</div> </div>
</div> </nav>
</a>
<div class="gallery-cover" style="background-image: url('first_gallery/stuff-small.png');"></div>
</div><!-- comment tricks against space between inline-block
-->
</div> </div>
</div>
<p style="visibility: hidden">.</p>
<div class="galleries-grid">
<div class="galleries-line covers-1">
<!-- comment tricks against space between inline-block
--><div class="gallery-square">
<a href="first_gallery">
<div class="gallery-title">
<h2>my first gallery</h2>
<h3>some subtitle</h3>
<div class="gallery-datetime">08 December 2015</div>
</div>
</a>
<div class="gallery-cover" style="background-image: url('first_gallery/stuff-small.png');"></div>
</div><!-- comment tricks against space between inline-block
-->
</div>
</div>
<p style="visibility: hidden">.</p>
<footer> <footer>
<p>Generated using <a href="https://github.com/psycojoker/prosopopee">Prosopopée</a> · content under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a> · atom logo by <a href="https://thenounproject.com/jjjon/">Jonathan Li</a> under <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a></p> <p>Generated using <a href="https://github.com/psycojoker/prosopopee">Prosopopée</a> · content under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a> · atom logo by <a href="https://thenounproject.com/jjjon/">Jonathan Li</a> under <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY</a></p>

View File

@ -193,3 +193,7 @@ footer a {
font-family: 'montserrat', sans-serif; font-family: 'montserrat', sans-serif;
color: #111; color: #111;
} }
.gallery-header {
margin-bottom: 0;
}

View File

@ -5,6 +5,10 @@ body {
margin: 0; margin: 0;
} }
a {
text-decoration: none;
}
.galleries-grid { .galleries-grid {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -95,6 +99,10 @@ body {
margin-bottom: 6.5em; margin-bottom: 6.5em;
} }
.static-header {
margin-bottom: 0px;
}
#logo { #logo {
width: 10%; width: 10%;
} }
@ -167,3 +175,61 @@ footer a {
font-family: 'montserrat', sans-serif; font-family: 'montserrat', sans-serif;
color: #111; color: #111;
} }
nav {
background-color: #FBFBFB;
width: 100%;
height: 56px;
line-height: 56px;
}
nav .nav-wrapper {
position: relative;
height: 100%;
margin: 0px auto;
max-width: 1280px;
}
nav ul {
margin: 0;
}
nav ul li {
padding: 0;
list-style-type: none;
display:inline-block;
}
nav a.first-item-menu {
margin-left: -42px;
}
nav ul li.active {
background-color: rgba(0, 0, 0, 0.1);
}
nav ul a {
transition: background-color .3s;
font-size: 1rem;
display: block;
padding: 0 15px;
cursor: pointer;
text-transform: uppercase;
margin: 0px;
letter-spacing: 1px;
font-weight: 700;
color: #424242;
font-style: normal !important;
}
.center, .center-align {
text-align: center;
}
nav ul li > a.item-menu::before {
content: "/";
margin-right: 22px;
font-size: 18px;
line-height: 1;
color: #ebebeb;
}