base.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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. #global {
  105. display: table;
  106. width: 100%;
  107. height: 100%;
  108. background: #fafafa;
  109. }
  110. .header {
  111. display: table;
  112. width: 100%;
  113. background: #f4f4f4;
  114. table-layout: fixed;
  115. }
  116. .header .item {
  117. display: table-cell;
  118. padding: 10px 0;
  119. border-bottom: 1px solid #aaa;
  120. vertical-align: middle;
  121. text-align: center;
  122. }
  123. .header .item.title {
  124. width: 250px;
  125. }
  126. .header .item.title h1 {
  127. padding: 0;
  128. }
  129. .header .item.title a:hover {
  130. text-decoration: none;
  131. }
  132. .header .item.configure {
  133. width: 100px;
  134. }
  135. .aside {
  136. display: table-cell;
  137. height: 100%;
  138. width: 250px;
  139. padding: 10px 0;
  140. vertical-align: top;
  141. border-right: 1px solid #aaa;
  142. background: #fff;
  143. }
  144. #main {
  145. display: table-cell;
  146. height: 100%;
  147. line-height: 180%;
  148. background: #fafafa;
  149. vertical-align: top;
  150. }
  151. #top {
  152. width: 100%;
  153. background: #fafafa;
  154. border-bottom: 1px solid #aaa;
  155. text-align: center;
  156. padding: 5px 0;
  157. }
  158. #top .btn {
  159. margin: 0 10px;
  160. }
  161. #main .table {
  162. display: table;
  163. width: 100%;
  164. height: 100%;
  165. table-layout: fixed;
  166. }
  167. #main .nothing {
  168. display: table-cell;
  169. width: 100%;
  170. height: 100%;
  171. vertical-align: middle;
  172. text-align: center;
  173. }
  174. .categories {
  175. margin: 0;
  176. padding: 0;
  177. text-align: center;
  178. list-style: none;
  179. }
  180. .categories .feeds .feed,
  181. .categories .category {
  182. display: block;
  183. width: 200px;
  184. margin: 5px auto;
  185. text-align: left;
  186. overflow: hidden;
  187. white-space: nowrap;
  188. text-overflow: ellipsis;
  189. }
  190. .categories .feeds {
  191. width: 200px;
  192. margin: 0 auto;
  193. list-style: none;
  194. }
  195. .categories .feeds .feed {
  196. display: inline-block;
  197. margin: 0;
  198. width: 170px;
  199. line-height: 35px;
  200. font-size: 90%;
  201. vertical-align: middle;
  202. }
  203. .categories .notRead {
  204. padding: 5px;
  205. background: #bbb;
  206. color: #fff;
  207. font-size: 90%;
  208. border: 1px solid #bbb;
  209. border-right: 1px solid #999;
  210. border-bottom: 1px solid #999;
  211. border-radius: 5px;
  212. box-shadow: 0 3px 3px #999 inset;
  213. text-shadow: 0 0 1px #aaa;
  214. }
  215. .post {
  216. }
  217. .post.flux {
  218. font-family: Palatino, "Times New Roman", serif;
  219. border-left: 10px solid #aaa;
  220. background: #fafafa;
  221. }
  222. .post.flux:hover {
  223. background: #fff;
  224. }
  225. .post.flux .content {
  226. padding: 20px 100px;
  227. line-height: 170%;
  228. }
  229. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  230. margin: 20px 0 5px;
  231. }
  232. .post.flux .content p {
  233. margin: 10px 0;
  234. }
  235. .post.flux .content img.big {
  236. display: block;
  237. margin: 10px 0;
  238. width: 100%;
  239. box-shadow: 0 0 5px #000;
  240. border-radius: 5px;
  241. }
  242. .post.flux .content pre {
  243. width: 90%;
  244. margin: 10px auto;
  245. padding: 10px;
  246. overflow: auto;
  247. background: #666;
  248. border: 1px solid #000;
  249. color: #fafafa;
  250. border-radius: 5px;
  251. }
  252. .post.flux .content q, .post.flux .content blockquote {
  253. display: block;
  254. margin: 0;
  255. padding: 10px 20px;
  256. font-style: italic;
  257. border-left: 4px solid #ccc;
  258. color: #666;
  259. }
  260. .post.flux.active {
  261. border-left: 10px solid #0062BE;
  262. background: #fff;
  263. }
  264. .post.flux.not_read {
  265. border-left: 10px solid #FF5300;
  266. background: #FFF3ED;
  267. }
  268. .post.flux.favorite {
  269. border-left: 10px solid #FFC300;
  270. background: #FFF6DA;
  271. }
  272. .flux_header {
  273. display: table;
  274. table-layout: fixed;
  275. margin: 0;
  276. padding: 0;
  277. width: 100%;
  278. height: 25px;
  279. font-size: 12px;
  280. line-height: 25px;
  281. border-top: 1px solid #ddd;
  282. }
  283. .flux_header .item {
  284. display: table-cell;
  285. vertical-align: middle;
  286. }
  287. .flux_header .item.manage {
  288. width: 50px;
  289. }
  290. .flux_header .item.manage .read {
  291. display: inline-block;
  292. width: 25px;
  293. height: 25px;
  294. background: url("icons/read.svg") center center no-repeat;
  295. vertical-align: middle;
  296. }
  297. .flux_header .item.manage .read:hover {
  298. text-decoration: none;
  299. }
  300. .post.flux.not_read .flux_header .item.manage .read {
  301. background: url("icons/unread.svg") center center no-repeat;
  302. }
  303. .flux_header .item.manage .bookmark {
  304. display: inline-block;
  305. width: 25px;
  306. height: 25px;
  307. background: url("icons/non-starred.svg") center center no-repeat;
  308. vertical-align: middle;
  309. }
  310. .flux_header .item.manage .bookmark:hover {
  311. text-decoration: none;
  312. }
  313. .post.flux.favorite .flux_header .item.manage .bookmark {
  314. background: url("icons/starred.svg") center center no-repeat;
  315. }
  316. .flux_header .item.website {
  317. width: 200px;
  318. overflow: hidden;
  319. white-space: nowrap;
  320. text-overflow: ellipsis;
  321. }
  322. .flux_header .item.title {
  323. overflow: hidden;
  324. white-space: nowrap;
  325. text-overflow: ellipsis;
  326. }
  327. .flux_header .item.title h1 {
  328. font-size: 12px;
  329. padding: 0;
  330. font-weight: normal;
  331. }
  332. .post.flux.not_read .flux_header .item.title h1 {
  333. font-weight: bold;
  334. }
  335. .flux_header .item.date {
  336. width: 200px;
  337. overflow: hidden;
  338. white-space: nowrap;
  339. text-overflow: ellipsis;
  340. text-align: right;
  341. font-size: 10px;
  342. color: #666;
  343. }
  344. .flux_header .item.link {
  345. width: 35px;
  346. text-align: center;
  347. }
  348. .flux_header .item.link a {
  349. display: inline-block;
  350. width: 25px;
  351. height: 25px;
  352. background: url("website.svg") center center no-repeat;
  353. vertical-align: middle;
  354. }
  355. .flux_header .item.link a:hover {
  356. text-decoration: none;
  357. }
  358. /*** PAGINATION ***/
  359. .pagination {
  360. display: block;
  361. margin: 0;
  362. background: #fafafa;
  363. text-align: center;
  364. color: #333;
  365. font-size: 80%;
  366. line-height: 200%;
  367. border-top: 1px solid #aaa;
  368. }
  369. .pagination .item {
  370. display: inline-block;
  371. padding: 5px 10px;
  372. }
  373. .pagination .item a {
  374. color: #333;
  375. font-style: italic;
  376. }
  377. .pagination .item.pager-current {
  378. font-weight: bold;
  379. }
  380. /*** NOTIFICATION ***/
  381. .notification {
  382. position: fixed;
  383. bottom: 0;
  384. left: 25%;
  385. width: 50%;
  386. height: 50px;
  387. padding: 0 50px;
  388. line-height: 50px;
  389. text-align: center;
  390. border-radius: 5px 5px 0 0;
  391. box-shadow: 0 0 5px #666;
  392. background: #ddd;
  393. color: #666;
  394. font-weight: bold;
  395. }
  396. .notification.good {
  397. background: #f4f899;
  398. }
  399. .notification.bad {
  400. background: #f4a899;
  401. }
  402. .notification a.close {
  403. display: inline-block;
  404. width: 16px;
  405. height: 16px;
  406. float: right;
  407. margin: -10px -60px 0 0;
  408. padding: 5px;
  409. background: #fff;
  410. border-radius: 50px;
  411. border: 1px solid #aaa;
  412. line-height: 16px;
  413. }
  414. @media(max-width: 840px) {
  415. #global {
  416. table-layout: fixed;
  417. }
  418. .header,
  419. .aside {
  420. display: none;
  421. }
  422. #main {
  423. width: 100%;
  424. padding: 0;
  425. }
  426. #top {
  427. width: 100%;
  428. position: static;
  429. }
  430. #stream {
  431. padding: 0;
  432. }
  433. .flux_header .item.website span,
  434. .flux_header .item.date {
  435. display: none;
  436. }
  437. .flux_header .item.website {
  438. width: 20px;
  439. }
  440. .post.flux .content {
  441. padding: 10px;
  442. }
  443. a#read_mode {
  444. display: none;
  445. }
  446. }
  447. @media(max-width: 450px) {
  448. #top {
  449. display: none;
  450. }
  451. }