Leaflet/docs/css/main.css

110 lines
1.4 KiB
CSS
Raw Normal View History

2014-04-22 20:05:11 +08:00
body {
font: 16px/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif;
color: #333;
}
.container {
2014-04-22 21:51:21 +08:00
max-width: 920px;
padding: 0 20px;
2014-04-22 20:05:11 +08:00
margin: 0 auto;
}
2014-04-22 20:27:03 +08:00
p {
margin: 1.4em 0;
}
2014-04-22 20:05:11 +08:00
.container code, .container pre code {
font-family: "Consolas", "Menlo", "Lucida Console", "Courier New", monospace;
}
.container pre code {
padding: 10px 15px;
background: white;
color: #444;
}
.container pre {
2014-04-22 21:51:21 +08:00
/*box-shadow: 0 0 15px rgba(0,0,0,0.1);
border-radius: 5px;*/
border: 1px dotted #aaa;
2014-04-22 20:05:11 +08:00
}
h1 {
margin-top: 50px;
2014-04-22 21:51:21 +08:00
text-align: center;
2014-04-22 20:05:11 +08:00
}
h1 a {
-webkit-transition: 0.8s all;
}
h1 a:hover, h1 a:focus {
-webkit-filter: hue-rotate(-70deg) saturate(1.5);
}
h3.tagline {
font-weight: 300;
font-size: 30px;
margin-top: -15px;
color: #777;
text-align: center;
margin-bottom: 40px;
}
h2 {
margin-top: 40px;
}
2014-04-22 20:27:03 +08:00
.p-example {
margin-top: 40px;
}
2014-04-22 20:05:11 +08:00
.container .map {
border: 1px solid #ccc;
}
.container .map:focus {
border-color: #999;
}
h2, h3, .nav {
font-family: 'Open Sans', sans-serif;
}
.nav {
overflow: hidden;
list-style: none;
padding: 0;
text-align: center;
2014-04-22 21:51:21 +08:00
font-size: 24px;
2014-04-22 20:05:11 +08:00
margin-bottom: 50px;
}
.nav li {
display: inline;
padding: 10px;
font-weight: 300;
}
.nav li a {
font-weight: 400;
text-decoration: none;
color: #0b6;
}
2014-04-22 21:51:21 +08:00
.nav li a:hover {
text-decoration: underline;
}
2014-04-22 20:05:11 +08:00
a {
color: #0b6;
}
.footer {
margin-top: 50px;
color: #777;
}
2014-04-22 21:51:21 +08:00
.usedby {
background: #eee;
height: 80px;
margin: 50px 0;
}