Leaflet/docs/css/screen.css

242 lines
5.5 KiB
CSS
Raw Normal View History

2011-04-09 21:16:00 +08:00
body {
background: #f7f7f7;
}
2011-03-24 00:35:06 +08:00
.container {
2011-04-09 21:16:00 +08:00
background: white;
padding: 15px 40px 20px;
2011-03-24 00:35:06 +08:00
width: 790px;
2011-04-08 07:07:19 +08:00
border: 1px solid #dfdfdf;
border-top: 0;
2011-04-09 21:23:07 +08:00
box-shadow: 0 0 40px #e0e0e0;
-moz-box-shadow: 0 0 40px #e0e0e0;
-webkit-box-shadow: 0 0 40px #e0e0e0;
2011-03-24 00:35:06 +08:00
}
h1 {
display: block;
height: 0;
padding-top: 65px;
width: 187px;
overflow: hidden;
background: url(../images/logo.png) 0 0 no-repeat;
margin-left: -10px;
margin-bottom: 15px;
2011-03-24 00:35:06 +08:00
}
h2 {
font-size: 1.8em;
font-weight: bold;
2011-04-06 17:43:50 +08:00
margin-top: 2.5em;
2011-04-09 21:16:00 +08:00
padding: 4px 12px 3px;
margin-left: 0;
margin-right: 0;
2011-04-06 22:47:11 +08:00
background: #edeeef;
2011-04-06 17:43:50 +08:00
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
color: white;
2011-04-06 17:43:50 +08:00
background-color: #b0de5c;
background-image: -moz-linear-gradient(top, #b0de5c, #82cb00); /* FF3.6 */
background-image: -o-linear-gradient(top, #b0de5c, #82cb00); /* Opera 11.10+ */
background-image: -webkit-gradient(linear, left top, left bottom, from(#b0de5c), to(#82cb00)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #b0de5c, #82cb00); /* Chrome 10+, Saf5.1+ */
background-image: linear-gradient(top, #b0de5c, #82cb00);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#b0de5c', EndColorStr='#82cb00'); /* IE6<45>IE9 */
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
2011-04-09 21:16:00 +08:00
text-shadow: -1px -1px 0 #999;
}
2011-04-01 21:09:19 +08:00
h3 {
margin-top: 1.5em;
}
h3.alt {
margin-top: 0;
}
2011-03-28 23:27:20 +08:00
h4 {
margin-bottom: 0.2em;
line-height: inherit;
font-size: 1em;
font-weight: bold;
color: #555;
}
2011-04-06 23:35:45 +08:00
h3.alt {
2011-04-06 22:47:11 +08:00
color: #999;
font-family: Georgia, serif;
2011-03-24 00:35:06 +08:00
font-style: italic;
font-weight: normal;
}
2011-04-06 23:35:45 +08:00
code {
2011-04-06 23:56:00 +08:00
font-family: "Courier New", monospace;
2011-04-06 23:35:45 +08:00
}
.container pre code {
padding: 10px 15px;
2011-03-24 00:35:06 +08:00
border: 1px solid #ccc;
2011-04-06 23:35:45 +08:00
background: white;
color: #444;
box-shadow: 0 0 15px #ddd;
2011-04-06 23:56:00 +08:00
-moz-box-shadow: 0 0 15px #ddd;
-webkit-box-shadow: 0 0 15px #ddd;
2011-04-06 23:35:45 +08:00
}
table {
border-collapse: collapse;
2011-03-24 00:35:06 +08:00
}
2011-04-06 23:35:45 +08:00
th {
background:/*#e5ecf9;*/ #f3f3f3;
}
th, td {
padding: 4px 5px;
}
2011-03-24 00:35:06 +08:00
.nav {
2011-04-06 22:47:11 +08:00
padding: 0;
margin: 2em 0;
2011-04-06 23:35:45 +08:00
list-style: none;
2011-04-06 22:47:11 +08:00
font-size: 1.2em;
border: 1px solid #dcddde;
overflow: hidden;
2011-04-06 23:56:00 +08:00
background-color: #ffffff;
background-image: -moz-linear-gradient(top, #ffffff, #eff0f1); /* FF3.6 */
background-image: -o-linear-gradient(top, #ffffff, #eff0f1); /* Opera 11.10+ */
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffffff),color-stop(1, #eff0f1)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(#ffffff, #eff0f1); /* Chrome 10+, Saf5.1+ */
background-image: linear-gradient(top, #ffffff, #eff0f1);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eff0f1'); /* IE6<45>IE9 */
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
2011-04-06 23:35:45 +08:00
2011-04-06 22:47:11 +08:00
box-shadow: 0 0 8px #eee;
2011-04-06 23:56:00 +08:00
-moz-box-shadow: 0 0 8px #eee;
-webkit-box-shadow: 0 0 8px #eee;
2011-04-06 22:47:11 +08:00
}
2011-04-06 23:35:45 +08:00
.nav li a, .nav li span {
float: left;
padding: 10px 15px;
border-right: 1px solid #ddd;
}
2011-04-06 22:47:11 +08:00
.nav a {
text-decoration: none;
color: #000;
2011-04-06 22:47:11 +08:00
}
.nav li span {
color: #000;
2011-04-06 23:35:45 +08:00
2011-04-06 23:56:00 +08:00
background-color: #f8f9fa;
background-image: -moz-linear-gradient(top, #f8f9fa, #d4d5d6);
background-image: -o-linear-gradient(top, #f8f9fa, #d4d5d6);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #f8f9fa),color-stop(1, #d4d5d6));
background-image: -webkit-linear-gradient(#f8f9fa, #d4d5d6);
background-image: linear-gradient(top, #f8f9fa, #d4d5d6);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f8f9fa', EndColorStr='#d4d5d6');
2011-04-06 22:47:11 +08:00
}
.nav li a:hover {
color: black;
2011-04-06 23:56:00 +08:00
background-color: #eff0f1;
background-image: -moz-linear-gradient(top, #eff0f1, #f6f7f8);
background-image: -o-linear-gradient(top, #eff0f1, #f6f7f8);
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eff0f1),color-stop(1, #f6f7f8));
background-image: -webkit-linear-gradient(#eff0f1, #f6f7f8);
background-image: linear-gradient(top, #eff0f1, #f6f7f8);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eff0f1', EndColorStr='#f6f7f8');
2011-04-06 22:47:11 +08:00
}
.nav li a.github-link,
.nav li a.twitter-link {
padding-left: 35px;
font-weight: normal;
float: right;
border-right: none;
border-left: 1px solid #ddd;
2011-04-06 23:56:00 +08:00
filter: none;
2011-03-24 00:35:06 +08:00
}
2011-04-06 23:56:00 +08:00
/*.nav li a.cloudmade-link {
2011-04-06 22:47:11 +08:00
padding: 4px 8px;
opacity: 0.7;
}
.nav li a.cloudmade-link img {
2011-03-24 20:23:37 +08:00
margin: 0;
2011-04-06 22:47:11 +08:00
display: block;
2011-04-06 23:56:00 +08:00
}*/
2011-04-06 22:47:11 +08:00
.nav li a.github-link {
background: url(https://github.com/favicon.png) 15px 12px no-repeat;
2011-04-06 22:47:11 +08:00
}
.nav li a.twitter-link {
background: url(http://twitter.com/phoenix/favicon.ico) 15px 12px no-repeat;
2011-03-24 00:35:06 +08:00
}
2011-04-06 22:47:11 +08:00
2011-03-24 00:41:52 +08:00
#forkme {
position: absolute;
top: 0;
right: 0;
border: 0;
2011-04-06 22:47:11 +08:00
opacity: 0.4;
2011-03-24 20:23:37 +08:00
}
2011-04-06 22:47:11 +08:00
a:hover #forkme {
opacity: 1;
2011-03-24 22:18:53 +08:00
}
2011-03-28 23:37:24 +08:00
#toc {
padding-left: 20px;
2011-03-28 20:36:32 +08:00
}
2011-04-06 23:35:45 +08:00
#toc ul {
list-style-type: none;
padding-left: 0;
}
#toc .colborder {
padding-right: 14px;
}
2011-03-28 20:36:32 +08:00
#map-class {
2011-04-06 23:35:45 +08:00
margin-top: 1em;
2011-03-28 20:36:32 +08:00
}
a.nodocs {
color: #bbb;
2011-04-01 22:14:41 +08:00
}
#features {
margin-top: -1.5em;
}
2011-04-06 23:35:45 +08:00
#features .quiet {
color: #777;
}
.noimpl {
color: #bbb;
}
#map {
2011-04-12 23:33:19 +08:00
height: 300px;
2011-04-06 23:35:45 +08:00
border: 1px solid #ccc;
margin-bottom: 20px;
2011-04-08 07:21:17 +08:00
/*box-shadow: 0px 0px 10px #ccc;
2011-04-06 23:35:45 +08:00
-moz-box-shadow: 0px 0px 10px #ccc;
2011-04-08 07:21:17 +08:00
-webkit-box-shadow: 0px 0px 10px #ccc;*/
2011-04-16 01:30:42 +08:00
}
h3 span {
color: #888;
}
2011-04-27 19:41:58 +08:00
.example-img {
float: left;
margin: 0 18px 18px 0;
2011-05-18 19:54:58 +08:00
padding: 1px;
}
.bordered-img {
padding: 0;
border: 1px solid #ddd;
2011-04-27 19:41:58 +08:00
}