174 lines
2.7 KiB
SCSS
174 lines
2.7 KiB
SCSS
/* -*- scss-compile-at-save: nil -*- */
|
|
|
|
@import "normalize";
|
|
|
|
$textColor: #aaa;
|
|
$titleColor: #eee;
|
|
$linkColor: #999;
|
|
|
|
body {
|
|
font: 16px/1.5 Molengo, sans-serif;
|
|
background-color: #242424;
|
|
color: $textColor;
|
|
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
width: 96%;
|
|
}
|
|
|
|
a, a:link, a:visited {
|
|
color: $linkColor;
|
|
text-decoration: underline;
|
|
}
|
|
a:hover {
|
|
color: #dadada;
|
|
}
|
|
|
|
/* header */
|
|
|
|
header {
|
|
padding: 1em 0;
|
|
color: $titleColor;
|
|
|
|
h1, h2 {
|
|
color: $titleColor;
|
|
|
|
a, a:link, a:visited {
|
|
color: $titleColor;
|
|
text-shadow: 0 2px 0 #000;
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
h1, h2 {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
#menu {
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0 0 10px;
|
|
padding: 0;
|
|
|
|
li {
|
|
display: inline-block;
|
|
|
|
a, a:link, a:visited {
|
|
color: $textColor;
|
|
border-bottom: 1px solid $textColor;
|
|
padding-bottom: 2px;
|
|
margin-left: 5px;
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
color: $titleColor;
|
|
border-color: $titleColor;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* gallery */
|
|
|
|
#albums ul {
|
|
list-style-type: none;
|
|
padding-left: 0;
|
|
|
|
li {
|
|
display: inline-block;
|
|
margin: 0 55px 30px 0;
|
|
text-align: center;
|
|
vertical-align: top;
|
|
width: 280px;
|
|
}
|
|
li:nth-child(3n+3) {
|
|
margin-right: 0;
|
|
}
|
|
|
|
li a img {
|
|
opacity: 1;
|
|
-webkit-transition: opacity 0.2s ease-in;
|
|
-moz-transition-property: opacity;
|
|
-moz-transition-duration: 0.2s;
|
|
-moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
|
|
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
|
|
-o-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
|
|
}
|
|
li a:hover img {
|
|
opacity: .5;
|
|
}
|
|
}
|
|
|
|
.album_thumb {}
|
|
.album_title {
|
|
display: block;
|
|
color: $titleColor;
|
|
font-size: 1.3em;
|
|
font-variant: small-caps;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* galleria */
|
|
|
|
#gallery {
|
|
line-height: 0;
|
|
width: 100%;
|
|
height: 600px;
|
|
|
|
video {
|
|
position: absolute;
|
|
top: 10%;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
/* footer */
|
|
|
|
footer {
|
|
clear: both;
|
|
display: block;
|
|
margin: 1em 0;
|
|
text-align: center;
|
|
|
|
a:link, a:visited {
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
}
|
|
a:hover {
|
|
border-bottom: 1px solid;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
|
|
@media only screen and (min-width: 980px) {
|
|
.container {
|
|
width: 960px;
|
|
}
|
|
|
|
#gallery {
|
|
width: 980px;
|
|
margin: 0 0 40px -10px;
|
|
}
|
|
|
|
header {
|
|
h1, #menu {
|
|
display: inline-block;
|
|
width: 49.5%;
|
|
}
|
|
#menu {
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|