layout.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. body {
  2. font-family: "Lucida Grande", "Lucida Sans Unicode", Helvetica, Arial, sans-serif;
  3. font-size: 14px;
  4. line-height: 1.5em;
  5. background-color: #F1F1F1;
  6. margin: 0px;
  7. background-position: top;
  8. }
  9. #header, #footer {
  10. font-size: 10px;
  11. width: 720px;
  12. margin: 10px auto 0px auto;
  13. text-align: center;
  14. line-height: 1.2em;
  15. }
  16. #main_container {
  17. width: 680px;
  18. margin: 0px auto 20px auto;
  19. background-color: #FFFFFF;
  20. padding: 40px 20px;
  21. }
  22. a:link, a:visited {
  23. color: #0099FF;
  24. text-decoration: none;
  25. }
  26. a:hover {
  27. text-decoration: underline; /*border-bottom: 1px dotted #999;*/
  28. }
  29. a:active {
  30. color: #6699FF;
  31. }
  32. p {
  33. margin: 0px 0px 1em 0px;
  34. padding: 0;
  35. }
  36. h1, h2, h3, h4, h5 {
  37. font-weight: normal;
  38. line-height: 1em;
  39. padding: 0;
  40. margin: 5px 0;
  41. }
  42. h1 {
  43. font-size: 36px;
  44. }
  45. h2 {
  46. font-size: 24px;
  47. margin-bottom: 20px;
  48. }
  49. h3 {
  50. font-size: 18px;
  51. margin-bottom: 14px;
  52. }
  53. h4 {
  54. font-size: 12px;
  55. }
  56. h5 {
  57. font-size: 14px;
  58. font-weight: bold;
  59. }
  60. ul {
  61. margin: 0px;
  62. padding-left: 18px;
  63. }
  64. li {
  65. line-height: 2em;
  66. }
  67. hr {
  68. height: 0px;
  69. border-width: 1px 0px 0px 0px;
  70. border-style: dotted none none none;
  71. border-color: #CCC;
  72. padding-bottom: 5px;
  73. }
  74. div.container-article {
  75. padding-top: 40px !important;
  76. margin-top: 20px;
  77. border-top: 1px dotted #CCC;
  78. }
  79. div.webfont-credits, .webfont-twocolumns, .webfont-sample-block {
  80. padding: 0px;
  81. /*border: 1px solid #CCC;*/
  82. float: left;
  83. }
  84. .webfont-article-block {
  85. margin: 0 auto 20px auto;
  86. padding: 0;
  87. }
  88. .webfont-sample-block {
  89. width: 680px;
  90. }
  91. .webfont-sample {
  92. margin-top:20px;
  93. margin-bottom: 10px;
  94. margin-left: auto;
  95. margin-right: auto;
  96. line-height: 1em;
  97. }
  98. .nowrap {
  99. white-space:nowrap;
  100. overflow: hidden;
  101. }
  102. .last {
  103. margin: 0;
  104. }
  105. .webfont-twocolumns {
  106. width: 330px;
  107. margin: 0 10px 0 0;
  108. }
  109. .webfont-credits {
  110. width: 160px;
  111. font-size: 11px;
  112. line-height: 1.5em;
  113. margin: 0 10px 0 0;
  114. }
  115. div.clearer {
  116. font-size: 0px;
  117. height: 5px;
  118. margin: 0px;
  119. padding: 0px;
  120. clear: both;
  121. line-height: 0px;
  122. }
  123. cite, em {
  124. font-style: italic;
  125. }
  126. /*
  127. Code formatting
  128. */
  129. pre code {
  130. display: block;
  131. color: #000;
  132. background: #F3F3F3;
  133. font-family: "Consolas", "Menlo", "DejaVu Sans Mono", monospace;
  134. }
  135. pre .subst,
  136. pre .title {
  137. font-weight: normal;
  138. color: #000;
  139. }
  140. pre .comment {
  141. color: #535353;
  142. font-style: italic;
  143. }
  144. pre .doctype {
  145. color: #535353;
  146. }
  147. pre .tag {
  148. background: #F3F3F3;
  149. }
  150. pre .tag .title,
  151. pre .id,
  152. pre .attr_selector,
  153. pre .pseudo,
  154. pre .literal,
  155. pre .keyword,
  156. pre .hexcolor,
  157. pre .css .function,
  158. pre .ini .title,
  159. pre .css .class,
  160. pre .list .title,
  161. pre .tex .command {
  162. font-weight: normal;
  163. color: #FF0C64;
  164. }
  165. pre .attribute,
  166. pre .rules .keyword,
  167. pre .number,
  168. pre .date {
  169. font-weight: normal;
  170. color: #008CFF;
  171. }
  172. pre .number {
  173. font-weight: normal;
  174. }
  175. pre .string,
  176. pre .value,
  177. pre .filter .argument,
  178. pre .css .function .params {
  179. color: #008900;
  180. font-weight: normal;
  181. }