base.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. body {
  2. font-family: Cantarell;
  3. letter-spacing: -0.01em;
  4. }
  5. a:link, a:visited {
  6. text-decoration: none;
  7. }
  8. h1 {
  9. font-weight: bold;
  10. font-size: 220%;
  11. float: left;
  12. margin-top: 5px;
  13. }
  14. h2 {
  15. font-size:200%;
  16. margin-bottom:10px;
  17. }
  18. h2.ribbon {
  19. padding: 15px 30px;
  20. position: relative;
  21. left: -55px;
  22. float: left;
  23. margin: 20px 0;
  24. border-radius: 3px 3px 3px 0px;
  25. -moz-border-radius: 3px 3px 3px 0px;
  26. -webkit-border-radius: 3px 3px 3px 0px;
  27. }
  28. h2.full {
  29. width: 890px;
  30. }
  31. .triangle-ribbon {
  32. /* border-right-color is overwritten by theme */
  33. border: 13px solid transparent;
  34. height: 0;
  35. position: relative;
  36. width: 0;
  37. float: left;
  38. clear: left;
  39. left: -67px;
  40. top: -33px;
  41. margin-bottom: -20px;
  42. z-index: -1;
  43. }
  44. h2 span {
  45. position:absolute;
  46. right:25px;
  47. font-size:80%;
  48. margin:3px 0 0;
  49. }
  50. h3 {
  51. font-size:180%;
  52. font-weight: bold;
  53. margin-bottom:15px;
  54. }
  55. h4 {
  56. font-size:128%;
  57. font-weight: bold;
  58. margin-bottom:20px;
  59. color:#333333;
  60. }
  61. h5 {
  62. font-size:100%;
  63. }
  64. h5.inline {
  65. float:left;
  66. margin-right:10px;
  67. }
  68. h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
  69. margin-right:5px;
  70. vertical-align:-2px;
  71. }
  72. .cl {
  73. background: none;
  74. border: 0;
  75. clear: both;
  76. display: block;
  77. float: none;
  78. font-size: 0;
  79. list-style: none;
  80. margin: 0;
  81. padding: 0;
  82. overflow: hidden;
  83. visibility: hidden;
  84. width: 0;
  85. height: 0;
  86. }
  87. nav {
  88. float: left;
  89. }
  90. nav ul {
  91. line-height: 100%;
  92. margin: 0 auto;
  93. padding: 10px;
  94. width: 100%;
  95. }
  96. nav ul li {
  97. display: inline-block;
  98. list-style: none;
  99. z-index: 100;
  100. margin-left: 15px;
  101. }
  102. nav a {
  103. font-weight: bold;
  104. text-decoration: none;
  105. display: block;
  106. padding: 8px 12px;
  107. font-size:113%;
  108. -webkit-border-radius: 3px;
  109. -moz-border-radius: 3px;
  110. border-radius: 3px;
  111. }
  112. nav a:hover {
  113. background: #000;
  114. color: #000;
  115. }
  116. nav .current a, nav li:hover > a {
  117. background: #e5e5e5;
  118. color: #444;
  119. border-top: solid 1px #cccccc;
  120. border-left: solid 1px #cccccc;
  121. border-right:1px solid #e0e0e0;
  122. border-bottom:1px solid #e0e0e0;
  123. padding:7px 11px 8px;
  124. text-shadow:0 1px 0 #FFFFFF;
  125. }
  126. nav ul li:first-child > a {
  127. -webkit-border-top-left-radius: 3px;
  128. -moz-border-radius-topleft: 3px;
  129. -webkit-border-top-right-radius: 3px;
  130. -moz-border-radius-topright: 3px;
  131. }
  132. nav ul li:last-child > a {
  133. -webkit-border-bottom-left-radius: 3px;
  134. -moz-border-radius-bottomleft: 3px;
  135. -webkit-border-bottom-right-radius: 3px;
  136. -moz-border-radius-bottomright: 3px;
  137. }
  138. header {
  139. width: 980px;
  140. margin: 25px auto 20px;
  141. }
  142. footer {
  143. padding: 10px 0;
  144. width: 980px;
  145. margin: 25px auto 20px;
  146. }
  147. article {
  148. background: #fff;
  149. color: #191919;
  150. border: 1px solid #d9d9d9;
  151. padding: 25px 40px 30px;
  152. position: relative;
  153. width: 898px;
  154. margin: 0 auto;
  155. z-index: 1;
  156. border-radius: 3px;
  157. -moz-border-radius: 3px;
  158. -webkit-border-radius: 3px;
  159. }
  160. #page-content.two-col {
  161. float:left;
  162. padding-right:35px;
  163. width:600px;
  164. display:inline;
  165. }
  166. .breadcrumbs {
  167. margin:0 0 20px;
  168. list-style:none;
  169. padding:10px 15px;
  170. background:#f2f2f2;
  171. border:1px solid #D9D9D9;
  172. font-size:93%;
  173. color:#333333;
  174. border-radius:3px;
  175. -moz-border-radius:3px;
  176. -webkit-border-radius:3px;
  177. }
  178. .breadcrumbs li {
  179. display:inline;
  180. }
  181. .inlinepic {
  182. background:#fafafa;
  183. border:1px solid #ccc;
  184. padding:5px;
  185. box-shadow:0 0 5px #D9D9D9;
  186. -moz-box-shadow:0 0 5px #D9D9D9;
  187. -webkit-box-shadow:0 0 5px #D9D9D9;
  188. }
  189. blockquote {
  190. background:url("../img/quote.gif") no-repeat 0 5px;
  191. color:#444444;
  192. line-height:1.6;
  193. padding:5px 20px 10px 45px;
  194. margin-bottom:20px;
  195. }
  196. blockquote cite {
  197. color:#666666;
  198. font-size:12px;
  199. font-style:italic;
  200. }
  201. p {
  202. line-height:1.6;
  203. margin-bottom:20px;
  204. }
  205. .list {
  206. margin-bottom:15px;
  207. }
  208. .list li {
  209. margin-bottom:5px;
  210. padding:0;
  211. }
  212. .list ul {
  213. margin-bottom:15px;
  214. }
  215. .tags {
  216. margin:0 0 15px;
  217. list-style:none;
  218. }
  219. .tags li {
  220. display:inline;
  221. background:#D9D9D9;
  222. margin-right:10px;
  223. font-size:85%;
  224. padding:3px 6px;
  225. border-radius:20px;
  226. -moz-border-radius:20px;
  227. -webkit-border-radius:20px;
  228. }
  229. form.navsearch {
  230. float: right;
  231. margin-top: 5px;
  232. }
  233. body.ie7 form, body.ie8 {
  234. margin-bottom:40px;
  235. }
  236. form p {
  237. margin-bottom:15px;
  238. }
  239. form input, form textarea, form select {
  240. padding: 7px 5px;
  241. border: 1px solid #ccc;
  242. border-radius: 3px;
  243. -moz-border-radius: 3px;
  244. -webkit-border-radius: 3px;
  245. }
  246. form select {
  247. padding: 6px 5px;
  248. }
  249. input[type="button"], input[type="submit"], button {
  250. padding: 6px 5px; /* looks high in FF at inherited 7 5 */
  251. line-height: 18px; /* looks small in webkit at 6 5 */
  252. cursor: pointer;
  253. display: inline-block;
  254. font-weight: 700;
  255. outline: none;
  256. color: #444;
  257. text-shadow: 0 -1px 0 #eee;
  258. border-radius: 3px;
  259. -moz-border-radius: 3px;
  260. -webkit-border-radius: 3px;
  261. }
  262. div#login {
  263. text-align: center;
  264. }
  265. div#login label, input {
  266. margin: 5px;
  267. }
  268. .notification.success {
  269. background:#f1ffbf url('../img/icons/success.png') no-repeat 10px 10px;
  270. border-color:#a6d50f;
  271. }
  272. .notification.success span.strong {
  273. color:#283304;
  274. }
  275. .notification.error {
  276. background:#fecdc6 url('../img/icons/error.png') no-repeat 10px 10px;
  277. border-color:#f45d43;
  278. }
  279. .notification.error span.strong {
  280. color:#33130e;
  281. }
  282. .notification.warning {
  283. background:#ffecb0 url('../img/icons/warning.png') no-repeat 10px 10px;
  284. border-color:#ffbc2a;
  285. }
  286. .notification.warning span.strong {
  287. color:#332508;
  288. }
  289. .notification.info {
  290. background:#d4e7f5 url('../img/icons/information.png') no-repeat 10px 10px;
  291. border-color:#589ad7;
  292. }
  293. .notification.info span.strong {
  294. color:#152433;
  295. }
  296. .notification.tip {
  297. background:#ffeccd url('../img/icons/tip.png') no-repeat 10px 10px;
  298. border-color:#dd9854;
  299. }
  300. .notification.tip span.strong {
  301. color:#332313;
  302. }
  303. .notification {
  304. padding:10px 10px 10px 35px;
  305. border:1px solid #fff;
  306. margin-bottom:10px;
  307. position:relative;
  308. font-size:100%;
  309. border-radius:3px;
  310. -moz-border-radius:3px;
  311. -webkit-border-radius:3px;
  312. }
  313. .notification p {
  314. margin-bottom:0;
  315. }
  316. .notification .close {
  317. background:url("../img/icons/close.png") no-repeat scroll 0 0 transparent;
  318. cursor:pointer;
  319. display:block;
  320. height:16px;
  321. position:absolute;
  322. right:10px;
  323. top:10px;
  324. width:16px;
  325. }
  326. .notification .close:hover {
  327. opacity:1;
  328. }
  329. .notification.nopic {
  330. background-image:none;
  331. padding:10px;
  332. }
  333. .notification span.strong {
  334. margin-right:10px;
  335. }
  336. .table {
  337. border:1px solid #CCCCCC;
  338. width:100%;
  339. margin-bottom:20px;
  340. }
  341. .table thead th, .table thead td {
  342. padding:6px 10px;
  343. font-weight: 700;
  344. color: #333;
  345. background: #E2E2E2;
  346. border-bottom: 1px solid #cccccc;
  347. border-right:1px solid #CCCCCC;
  348. }
  349. .table thead th.last, .table thead td.last {
  350. border-right:0;
  351. }
  352. .table thead th.checkbox, .table thead td.checkbox {
  353. width:25px;
  354. }
  355. .table tbody th, .table tbody td {
  356. background:#fff;
  357. border-right:1px dotted #CCCCCC;
  358. vertical-align:middle;
  359. padding:10px;
  360. font-size:93%;
  361. }
  362. .table tbody tr.alt td {
  363. background:#F2F2F2;
  364. }
  365. .table tbody th.last, .table tbody td.last {
  366. border-right:0 none;
  367. }
  368. .table tbody tr.last td {
  369. border-bottom:0 none;
  370. }
  371. .table tbody tr:hover th, .table tbody tr:hover td {
  372. background:#d3ecf9;
  373. }