base.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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, .checkbox_group {
  86. line-height: 35px;
  87. }
  88. .radio_group label, .checkbox_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: 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. }
  228. .post.flux {
  229. font-family: Palatino, "Times New Roman", serif;
  230. line-height: 170%;
  231. border-left: 10px solid #aaa;
  232. background: #fafafa;
  233. }
  234. .post.flux:hover {
  235. background: #fff;
  236. }
  237. .post.flux .after {
  238. padding: 10px 20px;
  239. color: #aaa;
  240. font-size: 80%;
  241. font-style: italic;
  242. }
  243. .post.flux .after a {
  244. color: #96BDE2;
  245. }
  246. .post.flux .after .options {
  247. float: right;
  248. }
  249. .post.flux .after .options a {
  250. padding: 0 20px;
  251. }
  252. /*.post.flux .after {
  253. margin: 20px 0 0;
  254. background: #fff;
  255. font-size: 80%;
  256. text-align: center;
  257. border-top: 1px solid #aaa;
  258. border-bottom: 1px solid #aaa;
  259. }
  260. .post.flux .after a {
  261. display: inline-block;
  262. height: 50px;
  263. line-height: 50px;
  264. width: 50%;
  265. }
  266. .post.flux .after a:hover {
  267. background: #f6f6f6;
  268. text-decoration: none;
  269. }*/
  270. .post.flux > h1 {
  271. min-height: 0;
  272. padding: 10px 20px;
  273. font-size: 130%;
  274. line-height: 150%;
  275. }
  276. .post.flux .content {
  277. padding: 10px 100px;
  278. }
  279. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  280. margin: 20px 0;
  281. }
  282. .post.flux .content p {
  283. margin: 20px 0;
  284. }
  285. .post.flux .content img {
  286. margin: 10px;
  287. border-radius: 5px;
  288. }
  289. .post.flux .content pre {
  290. width: 90%;
  291. margin: 10px auto;
  292. padding: 10px;
  293. overflow: auto;
  294. background: #666;
  295. border: 1px solid #000;
  296. color: #fafafa;
  297. border-radius: 5px;
  298. }
  299. .post.flux .content q, .post.flux .content blockquote {
  300. display: block;
  301. margin: 10px 0;
  302. padding: 0 20px;
  303. font-style: italic;
  304. border-left: 4px solid #ccc;
  305. color: #666;
  306. }
  307. .post.flux.not_read {
  308. border-left: 10px solid #FF5300;
  309. background: #FFF3ED;
  310. }
  311. .post.flux.favorite {
  312. border-left: 10px solid #FFC300;
  313. background: #FFF6DA;
  314. }
  315. .post.flux.active {
  316. border-left: 10px solid #0062BE;
  317. background: #fff;
  318. }
  319. /*** PAGINATION ***/
  320. .pagination {
  321. margin: 20px 0;
  322. list-style: none;
  323. text-align: center;
  324. font-size: 100%;
  325. }
  326. .pagination li {
  327. display: inline-block;
  328. width: 30px;
  329. height: 30px;
  330. }
  331. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  332. width: 100px;
  333. }
  334. .pagination li.pager-current {
  335. font-weight: bold;
  336. }
  337. .pagination li a {
  338. display: block;
  339. color: #F09600;
  340. }
  341. a#load_more {
  342. display: block;
  343. height: 50px;
  344. background: #eee;
  345. line-height: 50px;
  346. text-align: center;
  347. font-weight: bold;
  348. border-top: 1px solid #aaa;
  349. }
  350. a#load_more:hover {
  351. background: #fff;
  352. text-decoration: none;
  353. }
  354. a#load_more.disable {
  355. cursor: default;
  356. background: #eee;
  357. color: #666;
  358. }
  359. /*** NOTIFICATION ***/
  360. #notification {
  361. position: fixed;
  362. bottom: 0;
  363. left: 25%;
  364. width: 50%;
  365. height: 50px;
  366. padding: 0 50px;
  367. line-height: 50px;
  368. text-align: center;
  369. border-radius: 5px 5px 0 0;
  370. box-shadow: 0 0 5px #666;
  371. background: #ddd;
  372. color: #666;
  373. font-weight: bold;
  374. }
  375. #notification.good {
  376. background: #f4f899;
  377. }
  378. #notification.bad {
  379. background: #f4a899;
  380. }
  381. #notification a.close {
  382. display: inline-block;
  383. width: 25px;
  384. height: 25px;
  385. float: right;
  386. margin: -10px -60px 0 0;
  387. background: #fff;
  388. border-radius: 50px;
  389. border: 1px solid #aaa;
  390. line-height: 25px;
  391. color: #666;
  392. }
  393. #notification a.close:hover {
  394. text-decoration: none;
  395. }