PageRenderTime 33ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/app/assets/stylesheets/typography.css

https://github.com/bace/oscurrency
CSS | 321 lines | 284 code | 28 blank | 9 comment | 0 complexity | a45c39b022c07abd1b7beb575eecf4af MD5 | raw file
Possible License(s): AGPL-3.0
  1. body {
  2. font-family: Helvetica, Arial, Univers, Tahoma, sans-serif;
  3. font-size: 1em;
  4. line-height: 1.05em;
  5. }
  6. p,
  7. li,
  8. th,
  9. td {
  10. font-size: 14px;
  11. line-height: 1.4em;
  12. }
  13. li li, li p {
  14. font-size: 100%;
  15. }
  16. p,
  17. ul,
  18. ol,
  19. blockquote,
  20. h2,
  21. h3,
  22. h4,
  23. h5,
  24. h6 {
  25. display: block;
  26. margin-bottom: 1em;
  27. }
  28. h2 {
  29. border-bottom: 1px solid #ccc;
  30. color: #4F4F4F;
  31. clear: both;
  32. font-family: Georgia, "Times New Roman", Times, serif;
  33. font-size: 22px;
  34. font-weight: normal;
  35. line-height: 1.4em;
  36. margin-top: 10px;
  37. padding-left: 6px;
  38. }
  39. li h2 {font-size: 1em;}
  40. h2 a, h3 a {
  41. font-weight: normal;
  42. }
  43. h3 {
  44. font-family: Georgia, "Times New Roman", Times, serif;
  45. font-size: 20px;
  46. font-weight: normal;
  47. }
  48. h3.page-title {
  49. display: none;
  50. }
  51. h4 {
  52. border-bottom: 1px solid #eee;
  53. clear: both;
  54. font-family: Georgia, "Times New Roman", Times, serif;
  55. font-size: 1.3em;
  56. font-weight: normal;
  57. line-height: 1.4em;
  58. width: 100%;
  59. }
  60. h5 {
  61. font-size: 12px;
  62. font-weight: bold;
  63. }
  64. h6 {
  65. font-size: 12px;
  66. font-weight: bold;
  67. font-style: italic;
  68. }
  69. ul li {
  70. border: 0;
  71. margin: 0 0 .5em 0;
  72. padding-left: 24px;
  73. }
  74. ol li {
  75. list-style: decimal;
  76. margin-left: 1.5em;
  77. }
  78. blockquote {
  79. font-family: Georgia, "Times New Roman", Times, serif;
  80. color: #666666;
  81. background: #ececec;
  82. border: 1px solid #ccc;
  83. padding: 12px;
  84. margin: 1em;
  85. font-style: italic;
  86. }
  87. code {
  88. font-family: "Courier New", Courier, monospace;
  89. font-size: 1em;
  90. }
  91. pre {
  92. border: 1px solid #ccc;
  93. background: #efefef;
  94. margin: 1em 0;
  95. padding: 1em;
  96. }
  97. a:link,a:visited {
  98. color: #4f4f4f;
  99. font-weight: bold;
  100. text-decoration: none;
  101. }
  102. /* Specific elements */
  103. p.welcome {
  104. color: #4F4F4F;
  105. font-size: 12px
  106. }
  107. p.welcome a, p.welcome a:visited {
  108. color: #4F4F4F;
  109. text-decoration: underline;
  110. }
  111. #footer p {
  112. font-size: 12px;
  113. text-align: center;
  114. }
  115. #content div li.more {
  116. background: none;
  117. border: none;
  118. clear: both;
  119. float: left;
  120. font-size: 12px;
  121. text-align: right;
  122. width: 100%;
  123. }
  124. .meta {
  125. color: #aaa;
  126. font-size: 12px;
  127. line-height: 1.8em;
  128. }
  129. p.meta, li p.meta {
  130. font-size: 12px;
  131. }
  132. .label {
  133. font-weight: normal;
  134. }
  135. body.blog .comments p, body.forum .reply p {
  136. font-size: 12px;
  137. }
  138. /* Have followed links change color (e.g., in forums). */
  139. a.show-follow:visited {
  140. color: #309;
  141. text-decoration: none;
  142. }
  143. /* Alerts and notifications */
  144. .success {
  145. border: 1px solid #FFCC66;
  146. background-color: #FFFFCC;
  147. font-size: 12px;
  148. padding: 6px;
  149. }
  150. .notice {
  151. border: 1px solid #FFCC66;
  152. background-color: #FFFFCC;
  153. font-size: 12px;
  154. padding: 6px;
  155. }
  156. .error {
  157. border: 1px solid #FFCC66;
  158. background-color: #FFFFCC;
  159. font-size: 12px;
  160. padding: 6px;
  161. }
  162. .error,
  163. .notice,
  164. .success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd;
  165. margin-top: 1em; }
  166. .error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
  167. .notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
  168. .success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
  169. .errorExplanation {
  170. border: 1px solid #FFCC66;
  171. background-color: #FFFFCC;
  172. margin-bottom: 1em;
  173. padding: 1em;
  174. }
  175. .errorExplanation h2 {
  176. background: 0;
  177. border: 0;
  178. font-size: 1.2em;
  179. margin-top: 0;
  180. padding: 0;
  181. }
  182. .pagination {
  183. border-bottom: 1px solid #eee;
  184. font-size: 12px;
  185. padding-bottom: 12px;
  186. text-align: center;
  187. margin-bottom: 12px;
  188. }
  189. /* Forms */
  190. form {
  191. border-bottom: 1px solid #ccc;
  192. padding-bottom: 1em;
  193. margin-bottom: 2em;
  194. }
  195. li form, form.search_form {
  196. float: right;
  197. margin-right: 1em;
  198. border-bottom: 0px;
  199. padding-bottom: 0px;
  200. margin-bottom: 0px;
  201. }
  202. input, textarea {
  203. font-family: Helvetica, Arial, Univers, sans-serif;
  204. font-size: 12px;
  205. padding: 6px 3px
  206. }
  207. textarea {
  208. line-height: 1.4em;
  209. }
  210. label {
  211. display: block;
  212. font-size: 14px;
  213. font-weight: bold;
  214. margin-bottom: .5em;
  215. }
  216. input, textarea, select {
  217. margin-bottom: 1em;
  218. }
  219. .col1 textarea {
  220. width: 530px;
  221. }
  222. .col1 textarea#post_body {
  223. width: 428px;
  224. }
  225. .col1 textarea#bid_private_message_to_requestor {
  226. width: 428px;
  227. }
  228. body.single-col .col1 form input {
  229. width: 312px;
  230. }
  231. #person_zipcode {
  232. width: 70px;
  233. }
  234. label.checkbox {display: inline; float: left;margin-right: 12px;}
  235. body.single-col .col1 form input.checkbox {
  236. display: inline;
  237. width: auto;
  238. }
  239. .form_row {
  240. position: relative;
  241. }
  242. .form_row.full input {
  243. width: 478px;
  244. }
  245. #frmSearch {
  246. border: 0;
  247. margin: 0 0 0 6px;
  248. padding: 0;
  249. position: relative;
  250. zoom: 1;
  251. }
  252. #frmSearch input.txt {
  253. display: inline;
  254. float: left;
  255. margin-right: 6px;
  256. vertical-align: middle;
  257. width: 138px;
  258. }
  259. #frmSearch #btnSearch.button {
  260. display: inline;
  261. clear: none;
  262. margin: 0;
  263. width: 72px;
  264. }
  265. form a.add-recipient {
  266. position: absolute;
  267. right: 12px;
  268. top: 30px;
  269. }
  270. /* Styles for when the site is (nearly) blank, as for new users. */
  271. h3.blankslate {
  272. text-align: center;
  273. }
  274. /* Tables
  275. -------------------------------------------------------------- */
  276. table { margin-bottom: 1.4em; width:100%; }
  277. th { font-weight: bold; background: #C3D9FF; }
  278. th,td { padding: 4px 10px 4px 5px; }
  279. tr.even td { background: #E5ECF9; }
  280. tfoot { font-style: italic; }
  281. caption { background: #eee; }
  282. /* Misc classes
  283. -------------------------------------------------------------- */
  284. em { font-style: italic;}
  285. strong { font-weight: bold; }
  286. .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
  287. .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
  288. .hide { display: none; }
  289. .quiet { color: #666; }
  290. .loud { color: #000; }
  291. .highlight { background:#ff0; }
  292. .added { background:#060; color: #fff; }
  293. .removed { background:#900; color: #fff; }