Leaflet/docs/css/screen.css
Vladimir Agafonkin 855f3d6104 add forum link
2012-07-17 16:04:55 +03:00

347 lines
7.3 KiB
CSS
Raw Blame History

body {
background: #f7f7f7;
}
.container {
background: white;
position: relative;
z-index: 1;
padding: 15px 40px 20px;
width: 790px;
border: 1px solid #dfdfdf;
border-top: 0;
box-shadow: 0 0 40px #e0e0e0;
-moz-box-shadow: 0 0 40px #e0e0e0;
-webkit-box-shadow: 0 0 40px #e0e0e0;
}
h1 {
margin-bottom: 10px;
}
h1 a {
display: block;
height: 0;
padding-top: 73px;
width: 220px;
overflow: hidden;
background: url(../images/logo.png) 0 0 no-repeat;
margin-left: -10px;
margin-bottom: 8px;
text-decoration: none;
}
h2 {
font-size: 1.8em;
font-weight: bold;
margin-top: 2.5em;
padding: 4px 12px 3px;
margin-left: 0;
margin-right: 0;
background: #edeeef;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
color: white;
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;
text-shadow: -1px -1px 0 #999;
}
h3 {
margin-top: 1.5em;
}
h3.alt {
margin-top: 0;
}
h4 {
margin-bottom: 0.2em;
line-height: inherit;
font-size: 1em;
font-weight: bold;
color: #555;
}
h3.alt {
color: #999;
font-family: Georgia, serif;
font-style: italic;
font-weight: normal;
}
code {
font-family: "Courier New", monospace;
}
.container pre code {
padding: 10px 15px;
border: 1px solid #ccc;
background: white;
color: #444;
box-shadow: 0 0 15px #ddd;
-moz-box-shadow: 0 0 15px #ddd;
-webkit-box-shadow: 0 0 15px #ddd;
}
pre code a {
text-decoration: none;
}
pre code a:hover {
text-decoration: underline;
}
table {
border-collapse: collapse;
box-shadow: 0 3px 15px #f0f0f0;
}
th {
background-color: #f3f3f3;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f3f3f3), to(#e7e7e7)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #f3f3f3, #e7e7e7); /* Chrome 10+, Saf5.1+, iOS 5+ */
background-image: -moz-linear-gradient(top, #f3f3f3, #e7e7e7); /* FF3.6+ */
background-image: -o-linear-gradient(top, #f3f3f3, #e7e7e7); /* Opera 11.10+ */
background-image: linear-gradient(to bottom, #f3f3f3, #e7e7e7);
}
th, td {
padding: 8px 10px;
vertical-align: top;
/*line-height: 1.4;*/
}
td {
/*border-right: 1px solid #eee;*/
}
.nav {
padding: 0;
margin: 28px 0 2em;
list-style: none;
font-size: 1.2em;
border: 1px solid #dcddde;
overflow: hidden;
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;
box-shadow: 0 0 8px #eee;
-moz-box-shadow: 0 0 8px #eee;
-webkit-box-shadow: 0 0 8px #eee;
}
.nav li a, .nav li span {
float: left;
padding: 10px 14px;
border-right: 1px solid #ddd;
}
.nav a {
text-decoration: none;
color: #000;
}
.nav li span {
color: #000;
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');
}
.nav li a:hover {
color: black;
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');
}
.nav li a.github-link,
.nav li a.twitter-link,
.nav li a.forum-link {
font-weight: normal;
float: right;
border-right: none;
border-left: 1px solid #ddd;
padding-left: 30px;
padding-right: 10px;
filter: none;
}
.nav li a.github-link {
background: url(https://github.com/favicon.png) 10px 12px no-repeat;
}
.nav li a.twitter-link {
padding-left: 28px;
background: url(http://twitter.com/phoenix/favicon.ico) 9px 13px no-repeat;
}
.nav li a.forum-link {
padding-right: 12px;
background: url(https://groups.google.com/forum/favicon.ico) 10px 12px no-repeat;
}
#forkme {
position: absolute;
top: 0;
right: 0;
border: 0;
opacity: 0.4;
}
a:hover #forkme {
opacity: 1;
}
#toc {
padding-left: 20px;
}
#toc ul {
list-style-type: none;
padding-left: 0;
}
#toc .colborder {
padding-right: 14px;
}
#map-class {
margin-top: 1em;
}
a.nodocs {
color: #bbb;
}
#features {
margin-top: -1.5em;
}
#features .quiet {
color: #777;
}
.noimpl {
color: #bbb;
}
#map {
height: 280px;
border: 1px solid #ccc;
margin-bottom: 20px;
/*box-shadow: 0px 0px 10px #ccc;
-moz-box-shadow: 0px 0px 10px #ccc;
-webkit-box-shadow: 0px 0px 10px #ccc;*/
}
h3 span {
color: #888;
}
/*h3.alt a {
color: #888;
}*/
.example-img {
float: left;
margin: 0 18px 18px 0;
padding: 1px;
}
.bordered-img {
padding: 0;
border: 1px solid #ddd;
}
.text-cut[class] {
font-size: 0;
color: white;
}
.text-cut:after {
content: attr(data-cut);
font-size: 12px;
color: #777;
}
.last ul {
margin-right: 0;
}
table td {
color: #666;
}
table td:first-child {
color: #777;
}
table td:last-child {
color: black;
}
table td code i {
color: black;
}
table td code b {
color: black;
font-weight: normal;
}
th.width250 {
width: 250px;
}
th.width200 {
width: 200px;
}
th.width300 {
width: 300px;
}
th.width100 {
width: 100px;
}
th.minwidth {
width: 1px;
}
table.factory-table {
width: 1px;
}
table.factory-table td, table.factory-table th {
white-space: nowrap;
color: black;
}
.factory-usage {
white-space: nowrap;
}
.factory-usage code {
color: black;
}
.social-buttons {
margin: 18px 0;
padding: 6px 0 2px 8px;
background: #f7f7f7;
position: absolute;
top: 10px;
right: 40px;
border-radius: 5px;
}
.twitter-follow-button {
margin-left: -9px;
}