base.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /**
  2. * Base styles.
  3. * Provides sensible defaults for everything to save you time. Override
  4. * with an empty stylesheet to start over from scratch.
  5. */
  6. /**
  7. * Skip navigation ====================================================
  8. */
  9. #skip-link {
  10. position:absolute;
  11. display:block;
  12. }
  13. #skip-link a,
  14. #skip-link a:link,
  15. #skip-link a:visited {
  16. position:absolute;
  17. display:block;
  18. left:-10000px;
  19. width:1px;
  20. height:1px;
  21. }
  22. #skip-link a:hover,
  23. #skip-link a:active,
  24. #skip-link a:focus {
  25. position:static;
  26. width:auto;
  27. height:auto;
  28. }
  29. /**
  30. * Page width limiter =================================================
  31. *
  32. * Can be nested within major structural elements to allow full-width
  33. * bleeds combined with a fixed page width. Set a width on this in your
  34. * theme to get a consistent page width on major elements.
  35. */
  36. .limiter { margin:0px auto; }
  37. /**
  38. * Links ==============================================================
  39. *
  40. * Any ul.links are given a horizontal tab-like formatting.
  41. */
  42. ul.links li,
  43. ul.links li a { float:left; }
  44. ul.links.inline,
  45. ul.links.inline li,
  46. ul.links.inline li a {
  47. float:none;
  48. display:inline;
  49. }
  50. /**
  51. * Prose ==============================================================
  52. *
  53. * By default, any text which is suspected to have gone through an
  54. * input filter is given the 'prose' class. We want to format it with
  55. * readability and nice defaults in mind.
  56. */
  57. .prose { line-height:20px; }
  58. .prose h1,
  59. .prose h2,
  60. .prose h3,
  61. .prose h4,
  62. .prose h5,
  63. .prose h6,
  64. .prose p,
  65. .prose ul,
  66. .prose ol,
  67. .prose pre,
  68. .prose div.codeblock,
  69. .prose blockquote { margin: 0px 0px 20px; }
  70. .prose h1,
  71. .prose h2,
  72. .prose h3,
  73. .prose h4,
  74. .prose h5,
  75. .prose h6 { font-weight:bold; }
  76. .prose h1 { font-size:18px; }
  77. .prose h2 { font-size:15px; }
  78. .prose pre,
  79. .prose code,
  80. .prose div.codeblock {
  81. font-size:11px;
  82. font-family: monospace;
  83. }
  84. .prose pre,
  85. .prose blockquote,
  86. .prose div.codeblock {
  87. line-height:20px;
  88. background:#f8f8f8;
  89. padding:4px 9px;
  90. border:1px solid #eee;
  91. border-left:5px solid #eee;
  92. }
  93. .prose ol li,
  94. .prose ul li {
  95. display:list-item;
  96. margin:0px 0px 0px 30px;
  97. padding:0px;
  98. }
  99. .prose ol li { list-style:decimal; }
  100. .prose ul li { list-style:disc; }
  101. .prose img { display:block; }
  102. /* Excluding Drupal structures */
  103. .prose .links,
  104. .prose .links li,
  105. .prose .item-list ul,
  106. .prose .item-list li {
  107. margin:0px;
  108. padding:0px;
  109. list-style:none;
  110. }
  111. /**
  112. * Tables =============================================================
  113. */
  114. table {
  115. width:100%;
  116. margin:0px 0px 20px;
  117. }
  118. table th,
  119. table td { vertical-align:middle; }
  120. /**
  121. * Forms ==============================================================
  122. */
  123. input.form-text,
  124. select,
  125. textarea { border:1px solid #ccc; }
  126. input.form-submit,
  127. label { font-weight:bold; }
  128. input.form-submit { cursor:pointer; }
  129. input.form-radio,
  130. input.form-checkbox { vertical-align:middle; }
  131. .form-item .description,
  132. .description {
  133. color:#666;
  134. font-size:11px;
  135. }
  136. fieldset.collapsible .fieldset-title { cursor:pointer; }
  137. html.js fieldset.collapsed .fieldset-content { display:none; }
  138. /**
  139. * Views ==============================================================
  140. */
  141. table.grid-2 td { width:50%; }
  142. table.grid-3 td { width:33.3%; }
  143. table.grid-4 td { width:25%; }
  144. table.grid-5 td { width:20%; }
  145. table.grid-6 td { width:16.6%; }
  146. table.grid-7 td { width:14.2%; }
  147. table.grid-8 td { width:12.5%; }