styles.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. /* Met Office external website
  2. Colours:
  3. - black/dark grey: #202A2C
  4. - dark grey: #666666
  5. - grey: #DDDDDD (thin lines)
  6. - light grey: #EEEEEE (background colour)
  7. - darkish green: #BCDB0C
  8. - green: #CCFF33
  9. - darkish blue: #4BA8BA
  10. - blue: #00ADD0
  11. */
  12. /*******************************************************************************
  13. * GENERAL
  14. ******************************************************************************/
  15. /*<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,700' rel='stylesheet' type='text/css'>*/
  16. /*@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,700);*/
  17. body {
  18. font-size: 18px;
  19. font-family: "Open Sans", sans-serif !important;
  20. padding: 2.2em;
  21. border: none;
  22. border-radius: 8px;
  23. box-shadow: 0px 0px 5px #949494;
  24. background: #FFFFFF;
  25. }
  26. div.main {
  27. width: 100%;
  28. }
  29. div.tree {
  30. width: 200px;
  31. background-color: #FFFFFF;
  32. border-right: 5px solid #478061;
  33. /*margin-bottom: 20px;*/
  34. padding: 0.75em 0 0.75em 20px;
  35. float: left;
  36. position: inherite;
  37. height: 90%;
  38. overflow: auto;
  39. }
  40. div.page {
  41. background-color: #FFFFFF;
  42. width: 100%;
  43. padding-left: 300px; /* div.tree width + L/R margins + padding */
  44. box-sizing: border-box;
  45. }
  46. .clear {
  47. clear: both
  48. }
  49. social {
  50. font-size: 26px;
  51. float: centered;
  52. }
  53. /*******************************************************************************
  54. * TREE INDEX
  55. ******************************************************************************/
  56. div.tree {
  57. font-size: 12px;
  58. color: #666666;
  59. }
  60. div.tree a, div.tree a:visited {
  61. color: #666666;
  62. text-decoration: none;
  63. }
  64. div.tree a:hover {
  65. text-decoration: underline;
  66. }
  67. div.tree ol {
  68. padding-left: 1em;
  69. list-style-type: square;
  70. }
  71. div.tree ol ol {
  72. list-style-type: circle;
  73. }
  74. div.tree ol ol ol {
  75. list-style-type: disc;
  76. }
  77. div.tree ol ol ol ol, div.tree ol ol ol ol ol, div.tree ol ol ol ol ol ol {
  78. list-style-type: disc;
  79. }
  80. div.tree a.show, div.tree a.hide { display: none; }
  81. /*******************************************************************************
  82. * NODE PAGES
  83. ******************************************************************************/
  84. /* TABLES */
  85. table {
  86. border: none;
  87. }
  88. th {
  89. background-color: #EEEEEE;
  90. font-size: 2.2em;
  91. color: #444444;
  92. }
  93. td {
  94. padding-left: 5px;
  95. padding-right: 5px;
  96. border-top: 3px solid #478061;
  97. width: 50%;
  98. }
  99. /* HEADINGS */
  100. div.main h1 {
  101. font-weight: bold;
  102. padding: .8em;
  103. border-top: 3px solid #478061;
  104. border-left: 2px solid #478061;
  105. background-color: #F5F5F5;
  106. color: #666666;
  107. font-size: 1.8em;
  108. border-radius: 10px;
  109. box-shadow: 3px 3px 5px #AACCBB;
  110. text-align: center;
  111. }
  112. div.main h2 {
  113. padding: .7em;
  114. border-top: 3px solid #478061;
  115. border-left: 2px solid #478061;
  116. background-color: #F5F5F5;
  117. color: #666666;
  118. font-size: 1.7em;
  119. border-radius: 10px;
  120. box-shadow: 3px 3px 5px #AACCBB;
  121. text-align: center;
  122. }
  123. div.main h3 {
  124. padding: .6em;
  125. border-top: 3px solid #478061;
  126. border-left: 2px solid #478061;
  127. background-color: #F5F5F5;
  128. color: #666666;
  129. font-size: 1.6em;
  130. border-radius: 10px;
  131. box-shadow: 3px 3px 5px #AACCBB;
  132. text-align: center;
  133. }
  134. /* LINKS */
  135. div.main a, div.main a:visited {
  136. color: #478061;
  137. text-decoration: none;
  138. }
  139. div.main a:hover, div#me a:hover {
  140. text-decoration: underline;
  141. }
  142. /* CODE */
  143. span.code-node {
  144. color: #FFFF00; /* yellow */
  145. }
  146. div.codebox, div.main code, div.main pre {
  147. font-family: "Courier New", Courier, monospace;
  148. font-weight: normal;
  149. font-size: 13px;
  150. background-color: #EEEEEE;
  151. border: 1px solid #DDDDDD;
  152. }
  153. div.main p.tagged-text
  154. div.main code {
  155. /*color: #859C00;*/
  156. padding-left: 0.25em;
  157. padding-right: 0.25em;
  158. }
  159. div.main pre {
  160. padding: 0.25em;
  161. overflow: auto !important;
  162. width: 75%;
  163. }
  164. /* IMAGES */
  165. div.img {
  166. margin-top: 0.5em;
  167. margin-bottom: 0.5em;
  168. border-radius: 50%;
  169. }
  170. footer {
  171. width: 99%;
  172. padding: .9em;
  173. border-top: 3px solid #478061;
  174. background-color: #303030;
  175. color: #DCDCDC;
  176. font-size: 1.3em;
  177. box-shadow: 3px 3px 55px #AACCBB;
  178. }