magcms/materialize/css/style.css

136 lines
2.3 KiB
CSS
Raw Normal View History

2015-12-04 10:29:27 +01:00
body {
color: #222;
font-family: sans-serif;
background-color: #FBFBFB;
2015-12-04 10:29:27 +01:00
}
2015-12-03 06:09:29 +01:00
.galleries-grid {
width: 100%;
height: 100%;
position: relative;
text-align: center;
margin: 0 auto;
padding: 0px;
}
.galleries-line {
width: 100%;
height: 100%;
}
.gallery-square {
width: 47%;
height: 100%;
float: left;
margin: 0 1.5% 3%;
padding-bottom: 47%;
position: relative;
}
2015-12-04 12:42:07 +01:00
.gallery-square > a {
position: absolute;
top: 0px;
left: 0px;
z-index: 555;
width: 100%;
height: 100%;
}
2015-12-03 06:09:29 +01:00
.gallery-cover {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-position: center center;
background-size: cover;
}
2015-12-03 07:26:37 +01:00
.gallery-title {
color: white;
width: 100%;
position: absolute;
top: initial;
bottom: 0px;
text-align: center;
z-index: 3;
background: transparent -moz-linear-gradient(center top , rgba(255, 255, 255, 0) 0%, transparent 1%, rgba(0, 0, 0, 0.07) 26%, rgba(0, 0, 0, 0.5) 71%, rgba(0, 0, 0, 0.7) 100%) repeat scroll 0% 0%;
padding: 20% 0 0;
}
.gallery-header {
text-align: center;
2015-12-04 11:22:00 +01:00
margin-top: 8em;
margin-bottom: 6.5em;
}
#logo {
width: 10%;
}
2015-12-04 10:29:27 +01:00
.gallery-header > h1 {
font-size: 2.6vw;
text-transform: uppercase;
letter-spacing: 3px;
margin-bottom: 0;
}
.gallery-header > h4 {
font-size: 1.4vw;
color: #444;
font-style: italic;
font-weight: normal;
font-family: serif;
margin-top: .5em;
}
2015-12-04 11:22:21 +01:00
.gallery-header > hr {
width: 14%;
margin-top: 3.5em;
color: #BBB;
}
2015-12-04 10:29:27 +01:00
.gallery-title > h2 {
text-transform: uppercase;
margin-bottom: .2em;
letter-spacing: 2px;
font-size: 1.7vw;
}
.gallery-title > h3 {
font-style: italic;
margin-top: 0;
margin-bottom: .7em;
font-family: serif;
font-weight: normal;
}
.gallery-datetime {
margin-bottom: 1em;
font-family: serif;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 11px;
}
2015-12-04 12:36:16 +01:00
footer {
padding-top: 7em;
text-align: center;
position: relative;
font-family: serif;
color: #555;
}
footer hr {
width: 6%;
margin-bottom: 2em;
color: #BBB;
}
footer a {
text-decoration: none;
font-weight: 600;
font-family: sans-serif;
color: #111;
}