nested.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. /**
  2. * Order of properties, for easier readability:
  3. * 1 dimensions: width, height
  4. * 2 layout: display, position, float, clear, text-align, vertical-align, visibility, z-index
  5. * 3 spacing: margin*, padding*, overflow
  6. * 4 colors: border*, *color
  7. * 5 text: letter-spacing, line-height, white-space, word-spacing
  8. * 6 fonts: font-family, font-weight, font-style, font-size, text-decoration, text-transform,
  9. *
  10. * Palette (unofficial names):
  11. * Version 1: F7F7FF for backgrounds, E0E0EF for borders, black and white
  12. * FF4C00 Orange
  13. * 260DA3 Deep blue
  14. * D8FF7F Almond
  15. * B2FF00 Chartreuse
  16. * 6458A3 Medium blue
  17. */
  18. body {
  19. background-color: white;
  20. margin: 0.5%;
  21. font-family: sans-serif;
  22. }
  23. div#logo { /* top left of header */
  24. float: left;
  25. margin 0 0 0 0.5em;
  26. }
  27. div#header { /* General header, full page width, contains #slogname and #menu */
  28. width: 99%; /* of body */
  29. margin: 0 0.5%; /* *2 + 99% = 100% of body */
  30. overflow: hidden; /* so that #slogname is not clipped */
  31. border-bottom: ridge #260DA3;
  32. background-color: #6458A3;
  33. }
  34. div#header div {
  35. border: none ;
  36. }
  37. div#slogname { /* site slogan and name, floated left */
  38. float: left;
  39. margin: 0 0 0 0.5em;
  40. padding: 0 ;
  41. }
  42. div#header a {
  43. color: #D8FF7F;
  44. text-decoration: none;
  45. }
  46. div#slogname .site-name {
  47. margin: 0;
  48. font-size: 180% ;
  49. font-weight: bolder;
  50. }
  51. div#slogname .site-slogan {
  52. color: #D8FF7F;
  53. margin: 0 0 0.2em 0;
  54. font-size: 120% ;
  55. font-style: italic;
  56. }
  57. div#menu { /* Primary+secondary links and search box, floated right */
  58. float: right;
  59. margin: 0 0.5em 0 0 ;
  60. padding: 0.5em 0 0 0 ;
  61. }
  62. div#primary {
  63. margin-top: 0.1em;
  64. margin-bottom: 0.1em;
  65. }
  66. div#menu #search { /* Search block, when present in header only */
  67. margin: 0.5em 0 0 0;
  68. text-align: right;
  69. }
  70. div#header-content { /* Central content in header */
  71. overflow: hidden;
  72. text-align: center;
  73. }
  74. div#header-content h2 {
  75. margin-top: 0; margin-bottom: 0;
  76. font-size: 100%;
  77. }
  78. div#content { /* main content area */
  79. width: 99%;
  80. margin: 0 0.5%;
  81. overflow: hidden;
  82. background-color: transparent;
  83. }
  84. div#main {
  85. margin: 0;
  86. overflow: hidden;
  87. }
  88. div#sidebar-left {
  89. float: left;
  90. margin: 0 0.5em 0.2em 0;
  91. padding: 0 0 0.2em 0.2em;
  92. border-right: ridge #260DA3;
  93. border-bottom: ridge #260DA3;
  94. background-color: #f7f7ff;
  95. font-family: "arial narrow";
  96. font-size: 90%;
  97. /* letter-spacing: -1px; */
  98. line-height: 90%;
  99. }
  100. div#sidebar-right {
  101. float: right;
  102. margin: 0 0 0.2em 0.5em;
  103. padding: 0 0.2em 0.2em 0.2em;
  104. border-left: ridge #260DA3;
  105. border-bottom: ridge #260DA3;
  106. background-color: #f7f7ff;
  107. font-family: "arial narrow";
  108. /*font-size: 90%; */
  109. line-height: 90%;
  110. width: 17em; /* kludge for the table in archive module */
  111. }
  112. div#footer {
  113. padding: 0.2em;
  114. border-top: ridge #260DA3;
  115. background-color: #f7f7ff;
  116. font-size: 80%;
  117. }
  118. div#footer img {
  119. height: 16px;
  120. }
  121. div.block-archive {
  122. width: 17em;
  123. padding: 0.1em 0 0 0; // Prevents MSIE6 from not allocating enough height for H2
  124. }
  125. div.block-archive content {
  126. margin: 0 0 0 auto;
  127. }
  128. .read-more {
  129. background-color: #FF4C00;
  130. color: white;
  131. text-decoration: none;
  132. padding: 0 0.5em 0.1em 0.5em;
  133. }
  134. .calendar table {
  135. width:14em ; /* 7 days a week, 1 to 31. Drupal.css defaults to 100% which is interpreted as 100 of the page instead of the container */
  136. margin: 0 auto 0 auto;
  137. text-align: center;
  138. }
  139. .calendar table caption {
  140. margin-bottom: 0.2em;
  141. }
  142. .calendar .day-link {
  143. background-color: #D8FF7F;
  144. }
  145. div.node {
  146. background-color: #e0e0ef;
  147. margin: 0;
  148. padding-bottom: 0.3em;
  149. }
  150. div.tabs {
  151. border-bottom: ridge #d8ff7f;
  152. }
  153. div.profile {
  154. clear: none;
  155. }
  156. h2.title>* { /* titles for articles in lists: selecting the (inline) text within the h2 */
  157. background-color: #D8FF7F;
  158. border-bottom: ridge #B2FF00;
  159. color: #6458A3;
  160. padding: 0.2em 0.5em;
  161. font-size: 80%;
  162. text-decoration: none;
  163. cursor: help;
  164. }
  165. h1.title {
  166. background-color: #efefef;
  167. border-bottom: ridge #b2FF00;
  168. }
  169. .codeblock {
  170. border: 1px solid #CCC;
  171. background-color: #EEE;
  172. }
  173. pre.codeblock {
  174. font-size: 80%;
  175. padding: 0.5em;
  176. margin: 0.5em;
  177. border: #ccc inset thin;
  178. }
  179. span.codeblock {
  180. display: inline;
  181. padding: 0 0.5em;
  182. }