base.css 7.2 KB

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