base.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. height: 100%;
  7. }
  8. /* LIENS */
  9. a {
  10. color: #0062BE;
  11. text-decoration: none;
  12. }
  13. a:hover {
  14. text-decoration: underline;
  15. }
  16. /* LISTES */
  17. ul, ol {
  18. margin: 10px 0 10px 30px;
  19. line-height: 190%;
  20. }
  21. /* TITRES */
  22. h1, h2, h3 {
  23. min-height: 40px;
  24. padding: 10px 0 0;
  25. line-height: 40px;
  26. }
  27. /* IMG */
  28. img {
  29. max-width: 100%;
  30. vertical-align: middle;
  31. }
  32. a img {
  33. border: none;
  34. }
  35. /* FORMULAIRES */
  36. form {
  37. width: 450px;
  38. max-width: 100%;
  39. margin: 20px auto;
  40. padding: 20px;
  41. background: #f0f0f0;
  42. border: 1px solid #ddd;
  43. border-radius: 3px;
  44. box-shadow: 0 1px 3px #aaa;
  45. }
  46. label {
  47. display: block;
  48. margin: 20px 0 0;
  49. padding: 0 20px 0 0;
  50. font-weight: bold;
  51. }
  52. input:focus, textarea:focus {
  53. color: #3366cc !important;
  54. border: 1px solid #3366cc !important;
  55. }
  56. input[type="text"], input[type="url"], input[type="email"], input[type="number"], textarea {
  57. display: block;
  58. height: 30px;
  59. width: 430px;
  60. max-width: 95%;
  61. margin: 5px 0 5px;
  62. padding: 5px 10px;
  63. background: #fff;
  64. border: 1px solid #ccc;
  65. border-radius: 5px;
  66. font-size: 90%;
  67. }
  68. textarea {
  69. min-height: 100px;
  70. font-size: 110%;
  71. line-height: 150%;
  72. font-family: Monospace;
  73. }
  74. input[type="submit"], button {
  75. display: block;
  76. height: 40px;
  77. width: 100%;
  78. margin: 5px 0 5px;
  79. padding: 5px 0;
  80. }
  81. select {
  82. width: 100%;
  83. padding: 5px;
  84. }
  85. .radio_group {
  86. line-height: 35px;
  87. }
  88. .radio_group label {
  89. display: inline-block;
  90. margin: 0;
  91. padding: 0 0 0 5px;
  92. font-weight: normal;
  93. }
  94. /* STRUCTURE */
  95. #global {
  96. display: table;
  97. width: 100%;
  98. height: 100%;
  99. }
  100. .aside {
  101. display: table-cell;
  102. height: 100%;
  103. width: 250px;
  104. vertical-align: top;
  105. border-right: 1px solid #aaa;
  106. background: #fff;
  107. }
  108. .aside ul {
  109. margin: 0;
  110. list-style: none;
  111. }
  112. .aside li {
  113. width: 100%;
  114. height: 50px;
  115. overflow: hidden;
  116. line-height: 50px;
  117. }
  118. .aside li > a, .aside li > span {
  119. display: block;
  120. width: 230px;
  121. padding: 0 10px;
  122. }
  123. .aside li > a:hover, .aside li > span:hover {
  124. text-decoration: none;
  125. background: #fafafa;
  126. }
  127. .aside li.disable > span {
  128. background: #fff;
  129. }
  130. .aside li > a > span {
  131. float: right;
  132. padding: 0 5px;
  133. font-size: 80%;
  134. }
  135. .aside li.active > a {
  136. background: #0062BE;
  137. color: #fff;
  138. }
  139. .aside li > h2 {
  140. height: 50px;
  141. padding: 0;
  142. text-align: center;
  143. background: #eee;
  144. line-height: 50px;
  145. }
  146. .aside form {
  147. display: table;
  148. width: 250px;
  149. margin: 0;
  150. padding: 0;
  151. background: #f0f0f0;
  152. border: none;
  153. border-bottom: 1px solid #aaa;
  154. border-radius: 0;
  155. box-shadow: none;
  156. }
  157. .aside form input {
  158. display: inline-block;
  159. height: 48px;
  160. line-height: 48px;
  161. }
  162. .aside form input[type="url"] {
  163. width: 200px;
  164. margin: 0;
  165. padding: 0;
  166. border: none !important;
  167. border-radius: 0;
  168. }
  169. .aside form input[type="submit"] {
  170. width: 50px;
  171. margin: 0;
  172. padding: 0;
  173. border: none;
  174. border-radius: 0;
  175. }
  176. #main_aside {
  177. position: fixed;
  178. }
  179. #categories {
  180. height: 69%;
  181. overflow: auto;
  182. border-top: 1px solid #aaa;
  183. }
  184. #main {
  185. display: table-cell;
  186. height: 100%;
  187. max-width: 800px;
  188. padding: 0 0 0 250px;
  189. line-height: 180%;
  190. background: #fafafa;
  191. vertical-align: top;
  192. }
  193. #top {
  194. width: 100%;
  195. background: #eee;
  196. border-bottom: 1px solid #aaa;
  197. box-shadow: 0 1px 3px #aaa;
  198. text-align: center;
  199. }
  200. #top a {
  201. display: inline-block;
  202. height: 50px;
  203. width: 50%;
  204. line-height: 50px;
  205. font-weight: bold;
  206. }
  207. #top a:hover {
  208. background: #fafafa;
  209. text-decoration: none;
  210. }
  211. #stream {
  212. padding: 20px 0;
  213. }
  214. #main .table {
  215. display: table;
  216. width: 100%;
  217. height: 100%;
  218. }
  219. #main .nothing {
  220. display: table-cell;
  221. width: 100%;
  222. height: 100%;
  223. vertical-align: middle;
  224. text-align: center;
  225. }
  226. .post {
  227. width: 90%;
  228. margin: 0 auto;
  229. }
  230. .post.flux {
  231. margin: 40px auto;
  232. font-family: Palatino, "Times New Roman", serif;
  233. line-height: 170%;
  234. border-left: 5px solid #aaa;
  235. background: #eee;
  236. border-radius: 5px;
  237. box-shadow: 0 1px 3px #aaa;
  238. }
  239. .post.flux .before {
  240. padding: 20px;
  241. color: #666;
  242. font-size: 80%;
  243. text-align: center;
  244. }
  245. .post.flux .after {
  246. margin: 50px 0 0;
  247. font-size: 80%;
  248. text-align: center;
  249. border-top: 1px solid #aaa;
  250. }
  251. .post.flux .after a {
  252. display: inline-block;
  253. height: 50px;
  254. line-height: 50px;
  255. width: 50%;
  256. }
  257. .post.flux .after a:hover {
  258. background: #fff;
  259. text-decoration: none;
  260. border-radius: 0 0 5px 5px;
  261. box-shadow: 0 1px 3px #aaa;
  262. }
  263. .post.flux > h1 {
  264. padding: 10px 20px;
  265. }
  266. .post.flux .content {
  267. padding: 10px 20px;
  268. }
  269. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  270. margin: 20px 0;
  271. }
  272. .post.flux .content p {
  273. margin: 20px 0;
  274. }
  275. .post.flux .content img {
  276. margin: 10px;
  277. border-radius: 5px;
  278. }
  279. .post.flux .content pre {
  280. width: 90%;
  281. margin: 10px auto;
  282. padding: 10px;
  283. overflow: auto;
  284. background: #666;
  285. border: 1px solid #000;
  286. color: #fafafa;
  287. border-radius: 5px;
  288. }
  289. .post.flux .content q, .post.flux .content blockquote {
  290. display: block;
  291. margin: 10px 0;
  292. padding: 0 20px;
  293. font-style: italic;
  294. border-left: 4px solid #ccc;
  295. color: #666;
  296. }
  297. .post.flux.not_read {
  298. border-left: 5px solid #FF5300;
  299. background: #FFF3ED;
  300. }
  301. .post.flux.favorite {
  302. border-left: 5px solid #FFC300;
  303. background: #FFF6DA;
  304. }
  305. .post.flux.active {
  306. border-left: 5px solid #0062BE;
  307. }
  308. /*** PAGINATION ***/
  309. .pagination {
  310. margin: 20px 0;
  311. list-style: none;
  312. text-align: center;
  313. font-size: 100%;
  314. }
  315. .pagination li {
  316. display: inline-block;
  317. width: 30px;
  318. height: 30px;
  319. }
  320. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  321. width: 100px;
  322. }
  323. .pagination li.pager-current {
  324. font-weight: bold;
  325. }
  326. .pagination li a {
  327. display: block;
  328. color: #F09600;
  329. }
  330. /*** NOTIFICATION ***/
  331. #notification {
  332. position: fixed;
  333. bottom: 0;
  334. left: 25%;
  335. width: 50%;
  336. height: 50px;
  337. padding: 0 50px;
  338. line-height: 50px;
  339. text-align: center;
  340. border-radius: 5px 5px 0 0;
  341. box-shadow: 0 0 5px #666;
  342. background: #ddd;
  343. color: #666;
  344. font-weight: bold;
  345. }
  346. #notification.good {
  347. background: #f4f899;
  348. }
  349. #notification.bad {
  350. background: #f4a899;
  351. }
  352. #notification a.close {
  353. display: inline-block;
  354. width: 25px;
  355. height: 25px;
  356. float: right;
  357. margin: -10px -60px 0 0;
  358. background: #fff;
  359. border-radius: 50px;
  360. border: 1px solid #aaa;
  361. line-height: 25px;
  362. color: #666;
  363. }
  364. #notification a.close:hover {
  365. text-decoration: none;
  366. }