base.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html, body {
  6. height: 100%;
  7. font-size: 95%;
  8. font-family: "Cantarell", "Helvetica", "Arial", "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. .btn {
  39. display: inline-block;
  40. min-height: 30px;
  41. min-width: 20px;
  42. padding: 5px 10px;
  43. background: #fff;
  44. background: linear-gradient(#fff, #eee);
  45. border-radius: 5px;
  46. border: 1px solid #ddd;
  47. border-bottom: 1px solid #aaa;
  48. border-right: 1px solid #aaa;
  49. color: #666;
  50. text-shadow: 0px 1px 1px #ddd;
  51. line-height: 30px;
  52. vertical-align: middle;
  53. }
  54. .btn:hover {
  55. background: #f4f4f4;
  56. background: linear-gradient(#fafafa, #f0f0f0);
  57. text-decoration: none;
  58. }
  59. .btn.active,
  60. .btn:active {
  61. box-shadow: 0px 2px 4px #e0e0e0 inset, 0px 1px 2px #fafafa;
  62. background: #eee;
  63. }
  64. .btn.btn-important {
  65. background: #0084CC;
  66. background: linear-gradient(#0084CC, #0045CC);
  67. color: #fff;
  68. border: 1px solid #0062B7;
  69. text-shadow: 0px 1px 1px #aaa;
  70. }
  71. .btn.btn-important:hover {
  72. background: linear-gradient(#0066CC, #0045CC);
  73. }
  74. .btn.btn-important:active {
  75. background: #0044CB;
  76. box-shadow: none;
  77. }
  78. /* ICONES */
  79. .icon {
  80. display: inline-block;
  81. width: 16px;
  82. height: 16px;
  83. vertical-align: middle;
  84. }
  85. .icon.refresh {
  86. background: url("icons/refresh.svg") center center no-repeat;
  87. }
  88. .icon.bookmark {
  89. background: url("icons/starred.svg") center center no-repeat;
  90. }
  91. .icon.all {
  92. background: url("icons/all.svg") center center no-repeat;
  93. }
  94. .icon.close {
  95. background: url("icons/close.svg") center center no-repeat;
  96. }
  97. .icon.search {
  98. background: url("icons/search.svg") center center no-repeat;
  99. }
  100. .icon.configure {
  101. background: url("icons/configure.svg") center center no-repeat;
  102. }
  103. /* STRUCTURE */
  104. .header {
  105. display: table;
  106. width: 100%;
  107. background: #f4f4f4;
  108. table-layout: fixed;
  109. }
  110. .header .item {
  111. display: table-cell;
  112. padding: 10px 0;
  113. border-bottom: 1px solid #aaa;
  114. vertical-align: middle;
  115. text-align: center;
  116. }
  117. .header .item.title {
  118. width: 250px;
  119. }
  120. .header .item.title h1 {
  121. padding: 0;
  122. }
  123. .header .item.title a:hover {
  124. text-decoration: none;
  125. }
  126. .header .item.configure {
  127. width: 100px;
  128. }
  129. #global {
  130. display: table;
  131. width: 100%;
  132. height: 100%;
  133. background: #fafafa;
  134. table-layout: fixed;
  135. }
  136. .aside {
  137. display: table-cell;
  138. height: 100%;
  139. width: 250px;
  140. padding: 10px 0;
  141. vertical-align: top;
  142. border-right: 1px solid #aaa;
  143. background: #fff;
  144. }
  145. .nav_menu {
  146. width: 100%;
  147. background: #fafafa;
  148. border-bottom: 1px solid #aaa;
  149. text-align: center;
  150. padding: 5px 0;
  151. }
  152. .nav_menu .btn {
  153. margin: 0 5px;
  154. }
  155. .categories {
  156. margin: 0;
  157. padding: 0;
  158. text-align: center;
  159. list-style: none;
  160. }
  161. .categories .feeds .feed,
  162. .categories .category {
  163. display: block;
  164. width: 200px;
  165. margin: 5px auto;
  166. text-align: left;
  167. overflow: hidden;
  168. white-space: nowrap;
  169. text-overflow: ellipsis;
  170. }
  171. .categories .feeds {
  172. width: 200px;
  173. margin: 0 auto;
  174. list-style: none;
  175. }
  176. .categories .feeds .feed {
  177. display: inline-block;
  178. margin: 0;
  179. width: 170px;
  180. line-height: 35px;
  181. font-size: 90%;
  182. vertical-align: middle;
  183. }
  184. .categories .notRead {
  185. padding: 5px;
  186. background: #bbb;
  187. color: #fff;
  188. font-size: 90%;
  189. border: 1px solid #bbb;
  190. border-right: 1px solid #999;
  191. border-bottom: 1px solid #999;
  192. border-radius: 5px;
  193. box-shadow: 0 3px 3px #999 inset;
  194. text-shadow: 0 0 1px #aaa;
  195. }
  196. .post.flux {
  197. font-family: Palatino, "Times New Roman", serif;
  198. border-left: 10px solid #aaa;
  199. background: #fafafa;
  200. }
  201. .post.flux:hover {
  202. background: #fff;
  203. }
  204. .post.flux .content {
  205. padding: 20px 100px;
  206. line-height: 170%;
  207. }
  208. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  209. margin: 20px 0 5px;
  210. }
  211. .post.flux .content p {
  212. margin: 10px 0;
  213. }
  214. .post.flux .content img.big {
  215. display: block;
  216. margin: 10px 0;
  217. width: 100%;
  218. box-shadow: 0 0 5px #000;
  219. border-radius: 5px;
  220. }
  221. .post.flux .content pre {
  222. width: 90%;
  223. margin: 10px auto;
  224. padding: 10px;
  225. overflow: auto;
  226. background: #666;
  227. border: 1px solid #000;
  228. color: #fafafa;
  229. border-radius: 5px;
  230. }
  231. .post.flux .content q, .post.flux .content blockquote {
  232. display: block;
  233. margin: 0;
  234. padding: 10px 20px;
  235. font-style: italic;
  236. border-left: 4px solid #ccc;
  237. color: #666;
  238. }
  239. .post.flux.active {
  240. border-left: 10px solid #0062BE;
  241. background: #fff;
  242. }
  243. .post.flux.not_read {
  244. border-left: 10px solid #FF5300;
  245. background: #FFF3ED;
  246. }
  247. .post.flux.favorite {
  248. border-left: 10px solid #FFC300;
  249. background: #FFF6DA;
  250. }
  251. .flux_header {
  252. display: table;
  253. table-layout: fixed;
  254. margin: 0;
  255. padding: 0;
  256. width: 100%;
  257. height: 25px;
  258. font-size: 12px;
  259. line-height: 25px;
  260. border-top: 1px solid #ddd;
  261. }
  262. .flux_header .item {
  263. display: table-cell;
  264. vertical-align: middle;
  265. }
  266. .flux_header .item.manage {
  267. width: 50px;
  268. }
  269. .flux_header .item.manage .read {
  270. display: inline-block;
  271. width: 25px;
  272. height: 25px;
  273. background: url("icons/read.svg") center center no-repeat;
  274. vertical-align: middle;
  275. }
  276. .flux_header .item.manage .read:hover {
  277. text-decoration: none;
  278. }
  279. .post.flux.not_read .flux_header .item.manage .read {
  280. background: url("icons/unread.svg") center center no-repeat;
  281. }
  282. .flux_header .item.manage .bookmark {
  283. display: inline-block;
  284. width: 25px;
  285. height: 25px;
  286. background: url("icons/non-starred.svg") center center no-repeat;
  287. vertical-align: middle;
  288. }
  289. .flux_header .item.manage .bookmark:hover {
  290. text-decoration: none;
  291. }
  292. .post.flux.favorite .flux_header .item.manage .bookmark {
  293. background: url("icons/starred.svg") center center no-repeat;
  294. }
  295. .flux_header .item.website {
  296. width: 200px;
  297. overflow: hidden;
  298. white-space: nowrap;
  299. text-overflow: ellipsis;
  300. }
  301. .flux_header .item.title {
  302. overflow: hidden;
  303. white-space: nowrap;
  304. text-overflow: ellipsis;
  305. }
  306. .flux_header .item.title h1 {
  307. font-size: 12px;
  308. padding: 0;
  309. font-weight: normal;
  310. }
  311. .post.flux.not_read .flux_header .item.title h1 {
  312. font-weight: bold;
  313. }
  314. .flux_header .item.date {
  315. width: 200px;
  316. overflow: hidden;
  317. white-space: nowrap;
  318. text-overflow: ellipsis;
  319. text-align: right;
  320. font-size: 10px;
  321. color: #666;
  322. }
  323. .flux_header .item.link {
  324. width: 35px;
  325. text-align: center;
  326. }
  327. .flux_header .item.link a {
  328. display: inline-block;
  329. width: 25px;
  330. height: 25px;
  331. background: url("icons/website.svg") center center no-repeat;
  332. vertical-align: middle;
  333. }
  334. .flux_header .item.link a:hover {
  335. text-decoration: none;
  336. }
  337. /*** PAGINATION ***/
  338. .pagination {
  339. display: table;
  340. width: 100%;
  341. margin: 0;
  342. background: #fafafa;
  343. text-align: center;
  344. color: #333;
  345. font-size: 80%;
  346. line-height: 200%;
  347. table-layout: fixed;
  348. }
  349. .pagination .item {
  350. display: table-cell;
  351. padding: 5px 10px;
  352. border-top: 1px solid #aaa;
  353. }
  354. .pagination .item a {
  355. color: #333;
  356. font-style: italic;
  357. }
  358. .pagination .pager-previous, .pagination .pager-next {
  359. width: 200px;
  360. }
  361. .pagination .item.pager-current {
  362. font-weight: bold;
  363. }
  364. /*** NOTIFICATION ***/
  365. .notification {
  366. position: fixed;
  367. bottom: 0;
  368. left: 25%;
  369. width: 50%;
  370. height: 50px;
  371. padding: 0 50px;
  372. line-height: 50px;
  373. text-align: center;
  374. border-radius: 5px 5px 0 0;
  375. box-shadow: 0 0 5px #666;
  376. background: #ddd;
  377. color: #666;
  378. font-weight: bold;
  379. }
  380. .notification.good {
  381. background: #f4f899;
  382. }
  383. .notification.bad {
  384. background: #f4a899;
  385. }
  386. .notification a.close {
  387. display: inline-block;
  388. width: 16px;
  389. height: 16px;
  390. float: right;
  391. margin: -10px -60px 0 0;
  392. padding: 5px;
  393. background: #fff;
  394. border-radius: 50px;
  395. border: 1px solid #aaa;
  396. line-height: 16px;
  397. }
  398. @media(max-width: 840px) {
  399. .header,
  400. .aside,
  401. .flux_header .item.website span,
  402. .flux_header .item.date {
  403. display: none;
  404. }
  405. .flux_header .item.website {
  406. width: 20px;
  407. }
  408. .post.flux .content {
  409. padding: 10px;
  410. }
  411. .pagination .pager-previous, .pagination .pager-next {
  412. width: 100px;
  413. }
  414. }
  415. @media(max-width: 450px) {
  416. .nav_menu {
  417. display: none;
  418. }
  419. }