lithium.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. /*-------------------------------------------------------------------------------------------------
  2. Lithium: the most rad php framework
  3. @copyright Copyright 2013, Union of RAD (http://union-of-rad.org)
  4. @license http://opensource.org/licenses/bsd-license.php The BSD License
  5. -------------------------------------------------------------------------------------------------*/
  6. /*--- Reset ---*/
  7. * { margin: 0; padding: 0; }
  8. html, body { height: 100%; min-height: 100%; }
  9. /*--- Layout ---*/
  10. body {
  11. font-family: Helvetica, Arial, sans-serif;
  12. font-size: 14px;
  13. line-height: 1.5em;
  14. color: #0d0d0d;
  15. background-color: #fff;
  16. }
  17. #container {
  18. position: relative;
  19. padding: 60px 10%;
  20. }
  21. /*--- Basics ---*/
  22. h1, h2, h3, h4, h5, h6 {
  23. font-weight:normal;
  24. color:#111;
  25. line-height: 1;
  26. margin: 1.5em 0 0.5em 0;
  27. }
  28. h1 { font-size: 2.6em; }
  29. h2, h5 { font-size: 2em; color: #666; }
  30. h3, h6 { font-size: 1.7em; color: #00a8e6; }
  31. h4 { font-size: 1.4em; }
  32. h5 { font-size: 1.2em; }
  33. h6 { font-size: 1em; }
  34. p { margin-bottom: 1em; }
  35. strong { font-weight: bold; }
  36. em { font-style: italic; }
  37. a { text-decoration: none; color: #666; }
  38. a, h1 a, h2 a { text-decoration: none; }
  39. a:hover { color: #00bbff; }
  40. a:visited:hover { color: #ff59ff; }
  41. a img { border: none; }
  42. /*--- Code ---*/
  43. pre > code {
  44. display: block;
  45. color: white;
  46. background: #141414;
  47. border: 1px solid white;
  48. padding: 1em !important; /* remove if base important is removed, too */
  49. overflow: auto;
  50. font-size: .9em;
  51. }
  52. a code {
  53. background: transparent;
  54. border: 0;
  55. }
  56. a:hover code {
  57. color: inherit;
  58. }
  59. code, pre, .fixed {
  60. font-family: Monaco, Courier, monospace !important;
  61. font-weight: normal;
  62. font-size: 0.85em;
  63. white-space: pre;
  64. }
  65. code {
  66. padding: .2em .25em !important;
  67. border: 1px solid #F0F0F0;
  68. background: #FAFAFA;
  69. }
  70. pre {
  71. background: none;
  72. padding: 0 0 .5em 0 !important;
  73. }
  74. /*--- Lists ---*/
  75. li ul, li ol { margin: 0; }
  76. ul, ol { margin: 0 0 1em 2.75em; }
  77. dt, dd {
  78. font-style: italic;
  79. margin: .5em 0;
  80. }
  81. dt {
  82. font-weight: bold;
  83. }
  84. dd {
  85. margin-left: 1em;
  86. }
  87. /*--- Header ---*/
  88. #header h1 {
  89. margin: .1em 0;
  90. font-size: 35px;
  91. }
  92. #header h2 {
  93. width: 70%;
  94. margin: .5em .5em 2em 0;
  95. color: #666;
  96. font-size: 22px;
  97. line-height: 28px;
  98. }
  99. /*--- Tables ---*/
  100. table {
  101. clear: both;
  102. width: 100%;
  103. border-collapse: collapse;
  104. border-spacing: 0;
  105. border: 1px solid #e6e6e6;
  106. background: #fafafa;
  107. margin: 12px 0;
  108. }
  109. td, th {
  110. padding: .25em 1em;
  111. border: 1px solid #e6e6e6;
  112. vertical-align: middle;
  113. text-align: left;
  114. font-weight: normal;
  115. color: #666;
  116. font-size: 0.85em;
  117. }
  118. tr:nth-child(even) {
  119. background: #fff;
  120. }
  121. thead th, tfoot td {
  122. background: #f3f3f3;
  123. color: #333;
  124. text-align: left;
  125. font-size: 1em;
  126. font-weight: bold;
  127. padding: .5em .75em;
  128. }
  129. /*--- Forms ---*/
  130. form {
  131. display: block;
  132. clear: both;
  133. background: #fafafa;
  134. padding: 1em 2em 2em 2em;
  135. border: 1px solid #e6e6e6;
  136. }
  137. fieldset {
  138. padding: 2em;
  139. margin: 0 0 1em 0;
  140. border: 1px solid #e6e6e6;
  141. background: #f3f3f3;
  142. }
  143. legend {
  144. padding: .5em 1em;
  145. border: 1px solid #e6e6e6;
  146. background: #fff;
  147. font-size: 22px;
  148. }
  149. label {
  150. padding: 0 1em 0 0;
  151. color: #454545;
  152. font-weight: normal;
  153. }
  154. input, textarea, button {
  155. font-family: Helvetica, Arial, sans-serif;
  156. padding: 2px 4px;
  157. border: 1px solid #e5e5e5;
  158. color: #454545;
  159. font-size: 1em;
  160. line-height: 1.25em;
  161. }
  162. input[type=text], input[type=password], input[type=submit], textarea {
  163. clear: both;
  164. display: block;
  165. padding: .25em .5em;
  166. }
  167. input[type=text], input[type=password], textarea {
  168. width: 97%;
  169. max-width: 950px;
  170. margin: .5em 0 1em 0;
  171. padding:.5em;
  172. }
  173. input[type=submit], input[type=button], input[type=reset], input[type=file], button {
  174. -moz-border-radius: 4px;
  175. -webkit-border-radius: 4px;
  176. border-radius: 4px;
  177. padding: .5em 1em;
  178. margin: 0 .75em 0 0;
  179. background-color: white;
  180. color: black !important;
  181. border: 1px solid #e5e5e5 !important;
  182. cursor: pointer;
  183. }
  184. select {
  185. clear: both;
  186. display: block;
  187. margin: .5em 0 1em 0;
  188. }
  189. div.checkbox {
  190. clear: both;
  191. padding: 1em 0;
  192. }
  193. .checkbox label {
  194. display: inline;
  195. }
  196. input[type=submit] {
  197. margin: 1em inherit;
  198. border: none;
  199. color: #000;
  200. font-size: 16px;
  201. font-weight: bold;
  202. }
  203. input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
  204. border-color: #00a8e6;
  205. outline: none;
  206. }
  207. /*--- Misc ---*/
  208. hr {
  209. border: none;
  210. height: 0;
  211. border-bottom: 1px solid #e6e6e6;
  212. margin:1em 0;
  213. }
  214. sup, sub {
  215. color: #666;
  216. font-size: .65em;
  217. }
  218. acronym {
  219. font-weight: bold;
  220. font-style: italic;
  221. color: #333;
  222. }
  223. abbr {
  224. color: #333;
  225. }
  226. blockquote {
  227. padding: 0.15em .5em;
  228. margin: 0.5em 0;
  229. font-size: 2em;
  230. color: #666;
  231. display: block;
  232. font-style: italic;
  233. }
  234. blockquote:before, blockquote:after {
  235. display: inline;
  236. color: #e5e5e5;
  237. font-size: 3em;
  238. position: relative;
  239. top: 0.25em;
  240. left: -0.1em;
  241. }
  242. blockquote:before {
  243. content: '\D \201C';
  244. }
  245. blockquote:after {
  246. content: '\201D';
  247. }
  248. /*--- Shadows ---*/
  249. code {
  250. -moz-box-shadow: 0 0 3px rgba(0,0,0,.1);
  251. -webkit-box-shadow: 0 0 3px rgba(0,0,0,.1);
  252. box-shadow: 0 0 3px rgba(0,0,0,.1);
  253. color: #666;
  254. }
  255. table, form, pre > code {
  256. margin-top: 0px;
  257. margin-bottom: 12px;
  258. }
  259. table, form, pre > code, .shadow {
  260. -moz-box-shadow: 2px 2px 12px rgba(0,0,0,.15);
  261. -webkit-box-shadow: 2px 2px 12px rgba(0,0,0,0.15);
  262. box-shadow: 2px 2px 12px rgba(0,0,0,.15);
  263. }
  264. img.shadow {
  265. border: 1px solid rgba(255,255,255,.15);
  266. }
  267. input[type=submit], input[type=button], input[type=reset], input[type=file], button {
  268. -moz-box-shadow: 0 0 6px rgba(0,0,0,.1);
  269. -webkit-box-shadow: 0 0 6px rgba(0,0,0,.1);
  270. box-shadow: 0 0 6px rgba(0,0,0,.1);
  271. }
  272. input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, button:hover {
  273. -moz-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  274. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  275. box-shadow: inset 0 0 6px rgba(0,0,0,.15);
  276. }
  277. input, textarea {
  278. -moz-box-shadow: inset 0 0 3px rgba(0,0,0,.1);
  279. -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.1);
  280. box-shadow: inset 0 0 3px rgba(0,0,0,.1);
  281. }