base.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  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. background: #fafafa;
  102. }
  103. .aside {
  104. display: table-cell;
  105. height: 100%;
  106. width: 250px;
  107. vertical-align: top;
  108. border-right: 1px solid #aaa;
  109. background: #fff;
  110. }
  111. .aside ul {
  112. margin: 0;
  113. list-style: none;
  114. }
  115. .aside li {
  116. width: 100%;
  117. height: 50px;
  118. overflow: hidden;
  119. line-height: 50px;
  120. }
  121. .aside li > a, .aside li > span {
  122. display: block;
  123. width: 230px;
  124. padding: 0 10px;
  125. }
  126. .aside li > a:hover, .aside li > span:hover {
  127. text-decoration: none;
  128. background: #fafafa;
  129. }
  130. .aside li.disable > span {
  131. background: #fff;
  132. }
  133. .aside li > a > span {
  134. float: right;
  135. padding: 0 5px;
  136. font-size: 80%;
  137. }
  138. .aside li.active > a {
  139. background: #0062BE;
  140. color: #fff;
  141. }
  142. .aside li > h2 {
  143. height: 50px;
  144. padding: 0;
  145. text-align: center;
  146. background: #eee;
  147. line-height: 50px;
  148. }
  149. .aside form {
  150. display: table;
  151. width: 250px;
  152. margin: 0;
  153. padding: 0;
  154. background: #f0f0f0;
  155. border: none;
  156. border-bottom: 1px solid #aaa;
  157. border-radius: 0;
  158. box-shadow: none;
  159. }
  160. .aside form input {
  161. display: inline-block;
  162. height: 48px;
  163. line-height: 48px;
  164. }
  165. .aside form input[type="url"] {
  166. width: 200px;
  167. margin: 0;
  168. padding: 0;
  169. border: none !important;
  170. border-radius: 0;
  171. }
  172. .aside form input[type="submit"] {
  173. width: 50px;
  174. margin: 0;
  175. padding: 0;
  176. border: none;
  177. border-radius: 0;
  178. }
  179. #main_aside {
  180. position: fixed;
  181. z-index: 10;
  182. }
  183. #categories {
  184. height: 69%;
  185. overflow: auto;
  186. border-top: 1px solid #aaa;
  187. }
  188. #main {
  189. display: table-cell;
  190. height: 100%;
  191. max-width: 800px;
  192. padding: 0 0 0 250px;
  193. line-height: 180%;
  194. background: #fafafa;
  195. vertical-align: top;
  196. }
  197. #top {
  198. position: fixed;
  199. top: 0;
  200. width: 85%;
  201. background: #eee;
  202. border-bottom: 1px solid #aaa;
  203. box-shadow: 0 1px 3px #aaa;
  204. text-align: center;
  205. z-index: 0;
  206. }
  207. #top a {
  208. display: inline-block;
  209. height: 50px;
  210. width: 50%;
  211. line-height: 50px;
  212. font-weight: bold;
  213. }
  214. #top a:hover {
  215. background: #fafafa;
  216. text-decoration: none;
  217. }
  218. #stream {
  219. padding: 50px 0 0;
  220. }
  221. #main .table {
  222. display: table;
  223. width: 100%;
  224. height: 100%;
  225. }
  226. #main .nothing {
  227. display: table-cell;
  228. width: 100%;
  229. height: 100%;
  230. vertical-align: middle;
  231. text-align: center;
  232. }
  233. .post {
  234. }
  235. .post.flux {
  236. font-family: Palatino, "Times New Roman", serif;
  237. line-height: 170%;
  238. border-left: 10px solid #aaa;
  239. background: #fafafa;
  240. }
  241. .post.flux:hover {
  242. background: #fff;
  243. }
  244. .post.flux .after, .post.flux .before {
  245. padding: 0 20px;
  246. color: #aaa;
  247. font-size: 80%;
  248. font-style: italic;
  249. }
  250. .post.flux .before a {
  251. color: #96BDE2;
  252. }
  253. .post.flux .after a {
  254. display: inline-block;
  255. height: 40px;
  256. line-height: 40px;
  257. }
  258. .post.flux > h1 {
  259. min-height: 0;
  260. padding: 10px 20px;
  261. font-size: 130%;
  262. line-height: 150%;
  263. }
  264. .post.flux .content {
  265. padding: 5px 100px;
  266. }
  267. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  268. margin: 20px 0;
  269. }
  270. .post.flux .content p {
  271. margin: 20px 0;
  272. }
  273. .post.flux .content img {
  274. margin: 10px;
  275. border-radius: 5px;
  276. }
  277. .post.flux .content pre {
  278. width: 90%;
  279. margin: 10px auto;
  280. padding: 10px;
  281. overflow: auto;
  282. background: #666;
  283. border: 1px solid #000;
  284. color: #fafafa;
  285. border-radius: 5px;
  286. }
  287. .post.flux .content q, .post.flux .content blockquote {
  288. display: block;
  289. margin: 10px 0;
  290. padding: 0 20px;
  291. font-style: italic;
  292. border-left: 4px solid #ccc;
  293. color: #666;
  294. }
  295. .post.flux.active {
  296. border-left: 10px solid #0062BE;
  297. background: #fff;
  298. }
  299. .post.flux.not_read {
  300. border-left: 10px solid #FF5300;
  301. background: #FFF3ED;
  302. }
  303. .post.flux.favorite {
  304. border-left: 10px solid #FFC300;
  305. background: #FFF6DA;
  306. }
  307. #stream.read_mode {
  308. background: #fff;
  309. box-shadow: 0 0 5px #000;
  310. }
  311. #stream.read_mode .post.flux {
  312. border-left: 0;
  313. padding: 50px 20px;
  314. background: #fff;
  315. }
  316. #stream.read_mode .post.flux a {
  317. color: #363;
  318. }
  319. #stream.read_mode .post.flux .content a {
  320. text-decoration: underline;
  321. }
  322. #stream.read_mode .post.flux .content a:hover {
  323. text-decoration: none;
  324. }
  325. #stream.read_mode .post.flux .after {
  326. display: none;
  327. }
  328. /*** PAGINATION ***/
  329. .pagination {
  330. height: 50px;
  331. margin: 0;
  332. list-style: none;
  333. text-align: center;
  334. font-size: 100%;
  335. line-height: 50px;
  336. }
  337. .pagination li {
  338. display: inline-block;
  339. width: 30px;
  340. height: 30px;
  341. }
  342. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  343. width: 100px;
  344. }
  345. .pagination li.pager-current {
  346. font-weight: bold;
  347. }
  348. .pagination li a {
  349. display: block;
  350. color: #F09600;
  351. }
  352. a#load_more {
  353. display: block;
  354. height: 50px;
  355. background: #eee;
  356. line-height: 50px;
  357. text-align: center;
  358. font-weight: bold;
  359. border-top: 1px solid #aaa;
  360. }
  361. a#load_more:hover {
  362. background: #fff;
  363. text-decoration: none;
  364. }
  365. a#load_more.disable {
  366. cursor: default;
  367. background: #eee;
  368. color: #666;
  369. }
  370. a#read_mode {
  371. display: block;
  372. position: fixed;
  373. bottom: 0;
  374. right: 0;
  375. width: 50px;
  376. height: 50px;
  377. background: url("read_mode.png") 9px 9px no-repeat #ddd;
  378. border-top: 1px solid #aaa;
  379. border-left: 1px solid #aaa;
  380. border-radius: 20px 0 0 0;
  381. box-shadow: -2px -2px 5px #aaa;
  382. transition: all 100ms linear 0s;
  383. }
  384. a#read_mode:hover {
  385. width: 60px;
  386. height: 60px;
  387. background-color: #eee;
  388. text-decoration: none;
  389. }
  390. /*** NOTIFICATION ***/
  391. #notification {
  392. position: fixed;
  393. bottom: 0;
  394. left: 25%;
  395. width: 50%;
  396. height: 50px;
  397. padding: 0 50px;
  398. line-height: 50px;
  399. text-align: center;
  400. border-radius: 5px 5px 0 0;
  401. box-shadow: 0 0 5px #666;
  402. background: #ddd;
  403. color: #666;
  404. font-weight: bold;
  405. }
  406. #notification.good {
  407. background: #f4f899;
  408. }
  409. #notification.bad {
  410. background: #f4a899;
  411. }
  412. #notification a.close {
  413. display: inline-block;
  414. width: 25px;
  415. height: 25px;
  416. float: right;
  417. margin: -10px -60px 0 0;
  418. background: #fff;
  419. border-radius: 50px;
  420. border: 1px solid #aaa;
  421. line-height: 25px;
  422. color: #666;
  423. }
  424. #notification a.close:hover {
  425. text-decoration: none;
  426. }