tileserver-gl/public/resources/index.css
2016-07-27 14:05:33 +02:00

192 lines
No EOL
3.1 KiB
CSS

@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Regular.ttf');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Italic.ttf');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'OpenSans';
src: url('/fonts/OpenSans-Bold.ttf');
font-weight: bold;
font-style: normal;
}
body{
background-color: #fff;
color: #212121;
font-family:'OpenSans', sans-serif, Arial;
font-size: 14px;
margin:0;
}
a{
color: #499DCE;
transition: color .2s;
}
a:hover{
color: #395D73;
}
.title {
font-weight: bold;
font-size: 32px;
text-align:center;
margin:90px 0 0 0;
}
section{
margin: 15px auto;
width: 930px;
padding: 30px 0;
}
.title img {
width: 320px;
}
.subtitle {
font-size: 26px;
font-weight:normal;
text-align:center;
margin:10px 0 95px 0;
}
.box-header {
text-align:left;
text-transform:uppercase;
border:1px solid #ededed;
margin:25px 0 0 0;
padding:12px 30px;
font-size:20px;
background:#fff;
}
.item{
background:#fff;
height: 148px;
padding: 20px 30px 20px 188px;
border: 1px solid #ededed;
border-top:none;
}
.item:nth-child(odd) {
background-color:#fbfbfb;
}
.item img{
position: absolute;
margin: 10px 10px 15px -158px;
width: 128px;
height: 128px;
border: 1px solid #ccc;
}
.details {
float:left;
width: 50%;
}
.details h3 {
font-size:18px;
margin-top: 25px;
}
.details p {
padding:0;
margin:18px 0;
}
.viewers {
float:right;
text-align:center;
width:120px;
margin-top:25px;
}
.btn {
display:block;
margin:5px;
}
.btn:first-child {
position: relative;
padding: 10px 0;
overflow: hidden;
border-radius:4px;
background-color: #499DCE;
background: linear-gradient(90deg, #5aaad8, #4a9ecf);
color: #fff;
text-decoration: none;
font-weight: bold;
}
.btn:first-child:hover{
background: #395D73;
}
footer{
width:100%;
border-top:1px solid #ededed;
text-align:center;
color:#d3d3d3;
padding-top:10px;
font-size:12px;
}
footer img{
width: 118px;
height: 32px;
}
footer p {
margin-top:0;
}
footer a {
color: #787878;
text-decoration: none;
}
/* body background image */
body {
background-repeat:no-repeat !important;
background-size: contain !important;
background-image: url(/images/header-map-640px.png);
}
@media only screen and (min-width: 641px) {
body {
background-image: url(/images/header-map-1280px.png);
}
}
@media only screen and (min-width: 1281px) {
body {
background-image: url(/images/header-map-1600px.png);
}
}
@media only screen and (min-width: 1601px) {
body {
background-image: url(/images/header-map-2560px.png);
}
}
/* Responsive */
@media (max-width: 950px) {
section{
margin: 0;
width: 96%;
padding: 2%;
}
}
@media (max-width: 550px) {
.title{
margin: 25px 0 0 0;
}
.title img{
width: 200px;
}
.subtitle{
font-size: 20px;
margin: 0 0 35px 0;
}
.item{
height: 245px;
padding: 205px 30px 30px 30px;
}
.item img{
width: 192px;
height: 192px;
margin: -185px 0 0 0;
}
.details,.viewers{
width: 100%;
}
.viewers a{
width: 120px;
}
}