style.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /**
  2. * CSS Reset
  3. * From Blueprint reset.css
  4. * http://blueprintcss.googlecode.com
  5. */
  6. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
  7. body {line-height:1.5;}
  8. table {border-collapse:separate;border-spacing:0;}
  9. caption, th, td {text-align:left;font-weight:normal;}
  10. table, td, th {vertical-align:middle;}
  11. blockquote:before, blockquote:after, q:before, q:after {content:"";}
  12. blockquote, q {quotes:"" "";}
  13. a img {border:none;}
  14. /**
  15. * Basic Typography
  16. */
  17. body {
  18. font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  19. font-size: 80%;
  20. color: #222;
  21. background: #fff;
  22. margin: 1em 1.5em;
  23. }
  24. pre, code {
  25. margin: 1.5em 0;
  26. white-space: pre;
  27. }
  28. pre, code {
  29. font: 1em 'andale mono', 'lucida console', monospace;
  30. line-height:1.5;
  31. }
  32. a[href] {
  33. color: #436976;
  34. background-color: transparent;
  35. }
  36. h1, h2, h3, h4, h5, h6 {
  37. color: #003a6b;
  38. background-color: transparent;
  39. font: 100% 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  40. margin: 0;
  41. padding-top: 0.5em;
  42. }
  43. h1 {
  44. font-size: 130%;
  45. margin-bottom: 0.5em;
  46. border-bottom: 1px solid #fcb100;
  47. }
  48. h2 {
  49. font-size: 120%;
  50. margin-bottom: 0.5em;
  51. border-bottom: 1px solid #aaa;
  52. }
  53. h3 {
  54. font-size: 110%;
  55. margin-bottom: 0.5em;
  56. text-decoration: underline;
  57. }
  58. h4 {
  59. font-size: 100%;
  60. font-weight: bold;
  61. }
  62. h5 {
  63. font-size: 100%;
  64. font-weight: bold;
  65. }
  66. h6 {
  67. font-size: 80%;
  68. font-weight: bold;
  69. }
  70. .olControlAttribution {
  71. bottom: 5px;
  72. }
  73. /**
  74. * Map Examples Specific
  75. */
  76. .smallmap {
  77. width: 512px;
  78. height: 256px;
  79. border: 1px solid #ccc;
  80. }
  81. #tags {
  82. display: none;
  83. }
  84. #docs p {
  85. margin-bottom: 0.5em;
  86. }
  87. /* mobile specific */
  88. @media only screen and (max-width: 600px) {
  89. body {
  90. height : 100%;
  91. margin : 0;
  92. padding : 0;
  93. width : 100%;
  94. }
  95. #map {
  96. background : #7391ad;
  97. width : 100%;
  98. }
  99. #map {
  100. border : 0;
  101. height : 250px;
  102. }
  103. #title {
  104. font-size : 1.3em;
  105. line-height : 2em;
  106. text-indent : 1em;
  107. margin : 0;
  108. padding : 0;
  109. }
  110. #docs {
  111. bottom : 0;
  112. padding : 1em;
  113. }
  114. #shortdesc {
  115. color : #aaa;
  116. font-size : 0.8em;
  117. padding : 1em;
  118. text-align : right;
  119. }
  120. #tags {
  121. display : none;
  122. }
  123. }
  124. @media only screen and (orientation: landscape) and (max-width: 600px) {
  125. #shortdesc {
  126. float: right;
  127. width: 25%;
  128. }
  129. #map {
  130. width: 70%;
  131. }
  132. #docs {
  133. font-size: 12px;
  134. }
  135. }
  136. body {
  137. -webkit-text-size-adjust: none;
  138. }