base.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  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. z-index: 10;
  181. }
  182. #categories {
  183. height: 69%;
  184. overflow: auto;
  185. border-top: 1px solid #aaa;
  186. }
  187. #main {
  188. display: table-cell;
  189. height: 100%;
  190. max-width: 800px;
  191. padding: 0 0 0 250px;
  192. line-height: 180%;
  193. background: #fafafa;
  194. vertical-align: top;
  195. }
  196. #top {
  197. position: fixed;
  198. top: 0;
  199. width: 85%;
  200. background: #eee;
  201. border-bottom: 1px solid #aaa;
  202. box-shadow: 0 1px 3px #aaa;
  203. text-align: center;
  204. z-index: 0;
  205. }
  206. #top a {
  207. display: inline-block;
  208. height: 50px;
  209. width: 50%;
  210. line-height: 50px;
  211. font-weight: bold;
  212. }
  213. #top a:hover {
  214. background: #fafafa;
  215. text-decoration: none;
  216. }
  217. #stream {
  218. padding: 50px 0 0;
  219. }
  220. #main .table {
  221. display: table;
  222. width: 100%;
  223. height: 100%;
  224. }
  225. #main .nothing {
  226. display: table-cell;
  227. width: 100%;
  228. height: 100%;
  229. vertical-align: middle;
  230. text-align: center;
  231. }
  232. .post {
  233. }
  234. .post.flux {
  235. font-family: Palatino, "Times New Roman", serif;
  236. line-height: 170%;
  237. border-left: 10px solid #aaa;
  238. background: #fafafa;
  239. }
  240. .post.flux:hover {
  241. background: #fff;
  242. }
  243. .post.flux .after, .post.flux .before {
  244. padding: 0 20px;
  245. color: #aaa;
  246. font-size: 80%;
  247. font-style: italic;
  248. }
  249. .post.flux .before a {
  250. color: #96BDE2;
  251. }
  252. .post.flux .after a {
  253. display: inline-block;
  254. height: 40px;
  255. line-height: 40px;
  256. }
  257. .post.flux > h1 {
  258. min-height: 0;
  259. padding: 10px 20px;
  260. font-size: 130%;
  261. line-height: 150%;
  262. }
  263. .post.flux .content {
  264. padding: 5px 100px;
  265. }
  266. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  267. margin: 20px 0;
  268. }
  269. .post.flux .content p {
  270. margin: 20px 0;
  271. }
  272. .post.flux .content img {
  273. margin: 10px;
  274. border-radius: 5px;
  275. }
  276. .post.flux .content pre {
  277. width: 90%;
  278. margin: 10px auto;
  279. padding: 10px;
  280. overflow: auto;
  281. background: #666;
  282. border: 1px solid #000;
  283. color: #fafafa;
  284. border-radius: 5px;
  285. }
  286. .post.flux .content q, .post.flux .content blockquote {
  287. display: block;
  288. margin: 10px 0;
  289. padding: 0 20px;
  290. font-style: italic;
  291. border-left: 4px solid #ccc;
  292. color: #666;
  293. }
  294. .post.flux.active {
  295. border-left: 10px solid #0062BE;
  296. background: #fff;
  297. }
  298. .post.flux.not_read {
  299. border-left: 10px solid #FF5300;
  300. background: #FFF3ED;
  301. }
  302. .post.flux.favorite {
  303. border-left: 10px solid #FFC300;
  304. background: #FFF6DA;
  305. }
  306. /*** PAGINATION ***/
  307. .pagination {
  308. height: 50px;
  309. margin: 0;
  310. list-style: none;
  311. text-align: center;
  312. font-size: 100%;
  313. line-height: 50px;
  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. a#load_more {
  331. display: block;
  332. height: 50px;
  333. background: #eee;
  334. line-height: 50px;
  335. text-align: center;
  336. font-weight: bold;
  337. border-top: 1px solid #aaa;
  338. }
  339. a#load_more:hover {
  340. background: #fff;
  341. text-decoration: none;
  342. }
  343. a#load_more.disable {
  344. cursor: default;
  345. background: #eee;
  346. color: #666;
  347. }
  348. /*** NOTIFICATION ***/
  349. #notification {
  350. position: fixed;
  351. bottom: 0;
  352. left: 25%;
  353. width: 50%;
  354. height: 50px;
  355. padding: 0 50px;
  356. line-height: 50px;
  357. text-align: center;
  358. border-radius: 5px 5px 0 0;
  359. box-shadow: 0 0 5px #666;
  360. background: #ddd;
  361. color: #666;
  362. font-weight: bold;
  363. }
  364. #notification.good {
  365. background: #f4f899;
  366. }
  367. #notification.bad {
  368. background: #f4a899;
  369. }
  370. #notification a.close {
  371. display: inline-block;
  372. width: 25px;
  373. height: 25px;
  374. float: right;
  375. margin: -10px -60px 0 0;
  376. background: #fff;
  377. border-radius: 50px;
  378. border: 1px solid #aaa;
  379. line-height: 25px;
  380. color: #666;
  381. }
  382. #notification a.close:hover {
  383. text-decoration: none;
  384. }