Responsive CSS for the web page #33
This commit is contained in:
parent
b257855e38
commit
b048990e14
4 changed files with 40 additions and 0 deletions
|
@ -79,6 +79,7 @@ section{
|
||||||
}
|
}
|
||||||
.details {
|
.details {
|
||||||
float:left;
|
float:left;
|
||||||
|
width: 50%;
|
||||||
}
|
}
|
||||||
.details h3 {
|
.details h3 {
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
|
@ -152,4 +153,40 @@ body {
|
||||||
body {
|
body {
|
||||||
background-image: url(/images/header-map-2560px.png);
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{{name}} - TileServer GL</title>
|
<title>{{name}} - TileServer GL</title>
|
||||||
{{#is_vector}}
|
{{#is_vector}}
|
||||||
<link rel="stylesheet" type="text/css" href="/mapbox-gl.css{{&key_query}}" />
|
<link rel="stylesheet" type="text/css" href="/mapbox-gl.css{{&key_query}}" />
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>TileServerGL</title>
|
<title>TileServerGL</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/index.css{{&key_query}}" />
|
<link rel="stylesheet" type="text/css" href="/index.css{{&key_query}}" />
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{{name}} - TileServer GL</title>
|
<title>{{name}} - TileServer GL</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/mapbox-gl.css{{&key_query}}" />
|
<link rel="stylesheet" type="text/css" href="/mapbox-gl.css{{&key_query}}" />
|
||||||
<script src="/mapbox-gl.js{{&key_query}}"></script>
|
<script src="/mapbox-gl.js{{&key_query}}"></script>
|
||||||
|
|
Loading…
Reference in a new issue