html, body {
margin: 0;
display: flex;
flex-direction: column;
flex-grow: 1;
font-family: 'Open Sans', sans-serif;
min-height: 100vh;
}
body {
font-size: 16px;
line-height: 1.7rem;
}
.nav-inner, main, .footer-inner {
width: 70%;
max-width: 1080px;
margin: auto;
}
nav {
border-bottom: 1px solid #ddd;
background: rgba(0,0,0,0.04);
}
main {
flex-grow: 1;
}
footer {
background: #000;
color: #fff;
padding: 32px 0 8px 0;
}
.footer-inner {
display: flex;
flex-direction: row;
align-items: top;
}
.footer-inner > * {
flex-grow: 1;
}
.footer-other {
text-align: right;
}
.siema-slider {
height: 500px;
}
.slide-item {
background-position: center;
background-size: contain;
background-repeat: no-repeat;
background-color: #000;
height: 500px;
color: #fff;
position: relative;
}
.slide-info {
padding: 8px 0;
margin: 0;
background: rgba(0,0,0,0.3);
text-align: center;
position: absolute;
bottom: 0px;
left: 0px;
right: 0px;
}
.slide-item a.full-source-link {
position: absolute;
top: 8px;
left: 8px;
margin: 0;
padding: 0;
line-height: 1;
}
:fullscreen .siema-slider {
height: 100vh;
}
:fullscreen .slide-item {
height: 100vh;
}
a[href] {
color: inherit;
text-decoration: underline;
}
video {
max-height: 600px;
margin: auto;
display: block;
}
.image-board {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: stretch;
flex-wrap: wrap;
}
.image-board .image-item {
position: relative;
flex-shrink: 0;
flex-basis: 280px;
flex-grow: 1;
margin: 8px;
}
.image-board .image-item img {
width: 100%;
}
.subtitle {
color: rgba(0,0,0,0.7);
display: block;
font-style: italic;
text-align: center;
line-height: 1.2;
}
@media(max-width: 600px) {
body {
font-size: 14px;
}
.nav-inner, main, .footer-inner {
width: auto;
margin: 0 8px;
}
video {
width: 100%;
margin: auto;
display: block;
}
.siema-slider, .slide-item {
height: 300px;
}
.footer-inner {
flex-direction: column;
}
.footer-other {
text-align: left;
}
}