typography.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  1. /**
  2. * "Yet Another Multicolumn Layout" - YAML CSS Framework
  3. *
  4. * (en) Uniform design of standard content elements
  5. * (de) Einheitliche Standardformatierungen für die wichtigten Inhalts-Elemente
  6. *
  7. * @copyright Copyright 2005-2012, Dirk Jesse
  8. * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/),
  9. * YAML-CDL (http://www.yaml.de/license.html)
  10. * @link http://www.yaml.de
  11. * @package yaml
  12. * @version v4.0.1
  13. * @revision $Revision: 724 $
  14. * @lastmodified $Date: 2012-03-03 11:45:41 +0100 (Sa, 03 Mrz 2012) $
  15. * @appdef yaml
  16. */
  17. @media all {
  18. /**
  19. * @section global typography settings
  20. *
  21. * vertical rhythm settings (based on em-unit)
  22. * -------------------------------------------
  23. * basefont-size: 14px (87.5%)
  24. * line-height : 21px (factor: 1.5)
  25. */
  26. /* (en) reset font size for all elements to standard (16 Pixel) */
  27. /* (de) Alle Schriftgrößen auf Standardgröße (16 Pixel) zurücksetzen */
  28. html * { font-size:100%; }
  29. /**
  30. * (en) reset monospaced elements to font size 16px in all browsers
  31. * (de) Schriftgröße von monospaced Elemente in allen Browsern auf 16 Pixel setzen
  32. *
  33. * @see: http://webkit.org/blog/67/strange-medium/
  34. */
  35. textarea,
  36. pre,
  37. code,
  38. kbd,
  39. samp,
  40. var,
  41. tt {
  42. font-family:Consolas, "Lucida Console", "Andale Mono", "Bitstream Vera Sans Mono", "Courier New", Courier;
  43. }
  44. /* (en) base layout gets standard font size 14px */
  45. /* (de) Basis-Layout erhält Standardschriftgröße von 14 Pixeln */
  46. body {
  47. font-family: "Droid Serif", Georgia, "Times New Roman", Times, serif;
  48. font-size:87.50%; /* base: 14px */
  49. color:#444;
  50. /* (en) Prevent auto-scaling of text in mobile webkit browsers */
  51. /* (de) Automatische Schriftvergrößerung in mobilen Webkit-Browsern vermeiden */
  52. -webkit-text-size-adjust:100%;
  53. }
  54. /*--- Headings | Überschriften ------------------------------------------------------------------------*/
  55. h1,
  56. h2,
  57. h3,
  58. h4,
  59. h5,
  60. h6 {
  61. font-family: "Droid Sans", Arial, Helvetica, sans-serif;
  62. font-weight: 400;
  63. color:#161e21;
  64. margin:0;
  65. }
  66. h1 {
  67. font-size:350%;
  68. line-height: 0.8571em;
  69. margin: 0.4286em 0 0;
  70. }
  71. h2 {
  72. font-size:250%;
  73. line-height: 1.2em;
  74. margin: 0.6em 0 0 0;
  75. }
  76. h3 {
  77. font-size:175%;
  78. line-height: 0.8571em;
  79. margin:0.8571em 0 0 0;
  80. }
  81. h4 {
  82. font-size:133.33%;
  83. line-height: 1.125em;
  84. margin:1.125em 0 0 0;
  85. }
  86. h5 {
  87. font-size:116.67%;
  88. line-height: 1.2857em;
  89. margin: 1.2857em 0 0 0;
  90. }
  91. h6 {
  92. font-weight: bold;
  93. font-size:100%;
  94. line-height: 1.5em;
  95. margin: 1.5em 0 0 0;
  96. }
  97. /* --- Lists | Listen -------------------------------------------------------------------------------- */
  98. ul,
  99. ol,
  100. dl {
  101. font-size:1em;
  102. line-height:1.5em;
  103. margin: 1.5em 0 0 1em;
  104. }
  105. ul {
  106. list-style-type:disc;
  107. }
  108. ol {
  109. list-style-type:decimal;
  110. }
  111. ul ul {
  112. list-style-type:circle;
  113. margin-top:0;
  114. }
  115. ol ol {
  116. list-style-type:lower-latin;
  117. margin-top:0;
  118. }
  119. ol ul {
  120. list-style-type:circle;
  121. margin-top:0;
  122. }
  123. li {
  124. font-size:1em;
  125. line-height:1.5em;
  126. margin-left:0.8em;
  127. }
  128. dt { font-weight:bold; }
  129. dd { margin:0 0 1.5em 0.8em; }
  130. /* --- general text formatting | Allgemeine Textauszeichnung ------------------------------------------ */
  131. p {
  132. font-size:1em;
  133. line-height:1.5em;
  134. margin: 1.5em 0 0 0;
  135. }
  136. blockquote, cite, q {
  137. font-family: Georgia, "Times New Roman", Times, serif;
  138. font-style:italic;
  139. }
  140. blockquote {
  141. margin:1.5em 0 0 1.5em;
  142. color:#666;
  143. }
  144. strong, b { font-weight:bold; }
  145. em, i { font-style:italic; }
  146. big {
  147. font-size:116.667%;
  148. }
  149. small {
  150. font-size:85.71%;
  151. }
  152. pre,
  153. code,
  154. kbd,
  155. tt,
  156. samp,
  157. var {
  158. font-size:100%;
  159. }
  160. pre {
  161. line-height:1.5em;
  162. margin: 1.5em 0 0 0;
  163. white-space: pre;
  164. white-space: pre-wrap;
  165. word-wrap: break-word;
  166. }
  167. pre, code { color:#800; }
  168. kbd, samp, var, tt {
  169. color:#666;
  170. font-weight:bold;
  171. }
  172. var, dfn { font-style:italic; }
  173. acronym, abbr {
  174. border-bottom:1px #aaa dotted;
  175. font-variant:small-caps;
  176. letter-spacing:.07em;
  177. cursor:help;
  178. }
  179. sub,
  180. sup {
  181. font-size: 75%;
  182. line-height: 0;
  183. position: relative;
  184. vertical-align: baseline;
  185. }
  186. sup { top: -0.5em; }
  187. sub { bottom: -0.25em; }
  188. mark {
  189. background: #ff0;
  190. color: #000;
  191. }
  192. hr {
  193. color:#fff;
  194. background:transparent;
  195. margin:0 0 0.75em 0;
  196. padding:0 0 0.75em 0;
  197. border:0;
  198. border-bottom:1px #eee solid;
  199. }
  200. /*--- Links ----------------------------------------------------------------------------------------- */
  201. a {
  202. color:#4D87C7;
  203. background:transparent;
  204. text-decoration:none;
  205. }
  206. a:active { outline: none; }
  207. /* (en) maximum constrast for tab focus - change with great care */
  208. /* (en) Maximaler Kontrast für Tab Focus - Ändern Sie diese Regel mit Bedacht */
  209. a:hover,
  210. a:focus {
  211. background-color: #4D87C7;
  212. color:#fff;
  213. text-decoration:none;
  214. }
  215. /* --- images ------------------ */
  216. img,
  217. figure {
  218. margin: 0;
  219. }
  220. .flexible {
  221. margin-top: 1.5em;
  222. max-width: 100%;
  223. height: auto;
  224. }
  225. * html .flexible { /* IE6 support */
  226. width: 98%; /* 2% space for borders */
  227. }
  228. .bordered {
  229. margin-top: 1.5em;
  230. border: 2px #eee solid;
  231. border: 2px rgba(255,255,255,1) solid;
  232. -webkit-box-shadow: 0 0 3px rgba(0,0,0,.25);
  233. -moz-box-shadow: 0 0 3px rgba(0,0,0,.25);
  234. box-shadow: 0 0 3px rgba(0,0,0,.25);
  235. }
  236. /**
  237. * ----------------------------------------------------------------------- #
  238. *
  239. * Generic Content Classes
  240. *
  241. * (en) standard classes for positioning and highlighting
  242. * (de) Standardklassen zur Positionierung und Hervorhebung
  243. *
  244. * @section content-generic-classes
  245. */
  246. .highlight {
  247. color:#c30;
  248. }
  249. .dimmed {
  250. color:#888;
  251. }
  252. .box {
  253. border-radius: 0.3em;
  254. border-width: 1px;
  255. border-style: solid;
  256. border-color: #888;
  257. border-color: rgba(0,0,0,.3);
  258. -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
  259. -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
  260. box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;
  261. color: #444;
  262. color: rgba(0,0,0,.8);
  263. padding: 1.4286em;
  264. margin: 1.5em 0 0 0;
  265. }
  266. .box > *:first-child {
  267. margin-top: 0;
  268. }
  269. .label {
  270. font-family: Verdana, Geneva, sans-serif;
  271. padding: 1px 6px 2px;
  272. display: inline-block;
  273. vertical-align:middle;
  274. letter-spacing: normal;
  275. white-space:nowrap;
  276. -webkit-border-radius: 3px;
  277. -moz-border-radius: 3px;
  278. border-radius: 3px;
  279. background: #06C;
  280. color: #fff;
  281. font-size: 10px;
  282. line-height: 12px;
  283. }
  284. .info {
  285. background:#f4f4f4;
  286. }
  287. .success {
  288. background:#8c8;
  289. }
  290. .warning {
  291. background:#cc8;
  292. }
  293. .error {
  294. background:#c88;
  295. }
  296. .float-left {
  297. float:left;
  298. display:inline;
  299. margin: 1.5em 1em 0 0;
  300. }
  301. .float-right {
  302. float:right;
  303. display:inline;
  304. margin: 1.5em 0 0 1em;
  305. }
  306. .center {
  307. display:block;
  308. text-align:center;
  309. margin: 1.5em auto 0 auto;
  310. }
  311. /**
  312. * ------------------------------------------------------------------------------------------------- #
  313. *
  314. * Tables | Tabellen
  315. *
  316. * (en) Generic classes for table-width and design definition
  317. * (de) Generische Klassen für die Tabellenbreite und Gestaltungsvorschriften für Tabellen
  318. *
  319. * @section content-tables
  320. */
  321. table {
  322. width:100%;
  323. border-collapse:collapse;
  324. margin: 1.3571em 0 0 0;
  325. color:#333;
  326. border-top: 1px #ccc solid;
  327. border-bottom: 1px #ccc solid;
  328. }
  329. table.narrow {
  330. margin: 1.4286em 0 0 0;
  331. }
  332. table.narrow th,
  333. table.narrow td {
  334. padding: 0 0.5em;
  335. line-height: 1.4286em;
  336. }
  337. table.bordertable {
  338. border:1px #ccc solid;
  339. }
  340. table caption {
  341. font-variant:small-caps;
  342. }
  343. th, td {
  344. line-height: 1.5em;
  345. vertical-align: top;
  346. padding: 0.7143em 0.5em;
  347. }
  348. th *:first-child,
  349. td *:first-child {
  350. margin-top: 0;
  351. }
  352. th.nowrap,
  353. td.nowrap {
  354. white-space: nowrap;
  355. }
  356. thead th {
  357. text-align: left;
  358. color:#000;
  359. border-bottom:2px #000 solid;
  360. }
  361. .bordertable thead th {
  362. background:#e0e0e0;
  363. border-right:1px #ccc solid;
  364. border-bottom:1px #ccc solid;
  365. }
  366. .bordertable tbody th[scope="row"] {
  367. background:#f0f0f0;
  368. }
  369. tbody th {
  370. text-align: left;
  371. border-top:1px solid #ccc;
  372. text-align:left;
  373. }
  374. .bordertable tbody th {
  375. border-right:1px solid #ccc;
  376. }
  377. tbody td {
  378. text-align: left;
  379. border-top:1px solid #ccc;
  380. }
  381. .bordertable tbody td {
  382. border-right:1px solid #ccc;
  383. }
  384. /* highlight row on mouse over */
  385. tbody tr:hover th,
  386. tbody tr:hover td {
  387. background:#f8f8f8;
  388. }
  389. }