base.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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. /* FORMULAIRES */
  33. form {
  34. width: 450px;
  35. max-width: 100%;
  36. margin: 20px auto;
  37. padding: 20px;
  38. background: #f0f0f0;
  39. border: 1px solid #ddd;
  40. border-radius: 3px;
  41. box-shadow: 0 1px 3px #aaa;
  42. }
  43. label {
  44. display: block;
  45. margin: 20px 0 0;
  46. padding: 0 20px 0 0;
  47. font-weight: bold;
  48. }
  49. input:focus, textarea:focus {
  50. color: #3366cc !important;
  51. border: 1px solid #3366cc !important;
  52. }
  53. input[type="text"], input[type="url"], input[type="email"], input[type="number"], textarea {
  54. display: block;
  55. height: 30px;
  56. width: 430px;
  57. max-width: 95%;
  58. margin: 5px 0 5px;
  59. padding: 5px 10px;
  60. background: #fff;
  61. border: 1px solid #ccc;
  62. border-radius: 5px;
  63. font-size: 90%;
  64. }
  65. textarea {
  66. min-height: 100px;
  67. font-size: 110%;
  68. line-height: 150%;
  69. font-family: Monospace;
  70. }
  71. input[type="submit"], button {
  72. display: block;
  73. height: 40px;
  74. width: 100%;
  75. margin: 5px 0 5px;
  76. padding: 5px 0;
  77. }
  78. select {
  79. width: 100%;
  80. padding: 5px;
  81. }
  82. .radio_group {
  83. line-height: 35px;
  84. }
  85. .radio_group label {
  86. display: inline-block;
  87. margin: 0;
  88. padding: 0 0 0 5px;
  89. font-weight: normal;
  90. }
  91. /* STRUCTURE */
  92. #global {
  93. display: table;
  94. width: 100%;
  95. height: 100%;
  96. }
  97. .aside {
  98. display: table-cell;
  99. height: 100%;
  100. width: 250px;
  101. vertical-align: top;
  102. border-right: 1px solid #aaa;
  103. background: #fff;
  104. }
  105. .aside ul {
  106. margin: 0;
  107. list-style: none;
  108. }
  109. .aside li {
  110. width: 100%;
  111. height: 50px;
  112. overflow: hidden;
  113. line-height: 50px;
  114. }
  115. .aside li > a, .aside li > span {
  116. display: block;
  117. width: 230px;
  118. padding: 0 10px;
  119. }
  120. .aside li > a:hover, .aside li > span:hover {
  121. text-decoration: none;
  122. background: #f0f0f0;
  123. }
  124. .aside li.disable > span {
  125. background: #fff;
  126. }
  127. .aside li > a > span {
  128. float: right;
  129. padding: 0 5px;
  130. font-size: 80%;
  131. }
  132. .aside li.active > a {
  133. background: #0062BE;
  134. color: #fff;
  135. }
  136. .aside li > h2 {
  137. height: 50px;
  138. padding: 0;
  139. text-align: center;
  140. background: #eee;
  141. line-height: 50px;
  142. }
  143. .aside form {
  144. display: table;
  145. width: 250px;
  146. margin: 0;
  147. padding: 0;
  148. background: #f0f0f0;
  149. border: none;
  150. border-bottom: 1px solid #aaa;
  151. border-radius: 0;
  152. box-shadow: none;
  153. }
  154. .aside form input {
  155. display: inline-block;
  156. height: 48px;
  157. line-height: 48px;
  158. }
  159. .aside form input[type="url"] {
  160. width: 200px;
  161. margin: 0;
  162. padding: 0;
  163. border: none !important;
  164. border-radius: 0;
  165. }
  166. .aside form input[type="submit"] {
  167. width: 50px;
  168. margin: 0;
  169. padding: 0;
  170. border: none;
  171. border-radius: 0;
  172. }
  173. #main_aside {
  174. position: fixed;
  175. }
  176. #categories {
  177. height: 69%;
  178. overflow: auto;
  179. border-top: 1px solid #aaa;
  180. }
  181. #main {
  182. display: table-cell;
  183. height: 100%;
  184. max-width: 800px;
  185. padding: 0 0 0 250px;
  186. line-height: 180%;
  187. background: #fafafa;
  188. vertical-align: top;
  189. }
  190. #top {
  191. width: 100%;
  192. background: #eee;
  193. border-bottom: 1px solid #aaa;
  194. box-shadow: 0 1px 3px #aaa;
  195. text-align: center;
  196. }
  197. #top a {
  198. display: inline-block;
  199. height: 50px;
  200. width: 50%;
  201. line-height: 50px;
  202. font-weight: bold;
  203. }
  204. #top a:hover {
  205. background: #fafafa;
  206. text-decoration: none;
  207. }
  208. #stream {
  209. padding: 20px 0;
  210. }
  211. #main .table {
  212. display: table;
  213. width: 100%;
  214. height: 100%;
  215. }
  216. #main .nothing {
  217. display: table-cell;
  218. width: 100%;
  219. height: 100%;
  220. vertical-align: middle;
  221. text-align: center;
  222. }
  223. .post {
  224. width: 90%;
  225. margin: 0 auto;
  226. }
  227. .post.flux {
  228. margin: 40px auto;
  229. font-family: Palatino, "Times New Roman", serif;
  230. line-height: 170%;
  231. border-left: 5px solid #aaa;
  232. background: #eee;
  233. border-radius: 5px;
  234. box-shadow: 0 1px 3px #aaa;
  235. }
  236. .post.flux .before {
  237. padding: 20px;
  238. color: #666;
  239. font-size: 80%;
  240. text-align: center;
  241. }
  242. .post.flux .after {
  243. margin: 50px 0 0;
  244. font-size: 80%;
  245. text-align: center;
  246. border-top: 1px solid #aaa;
  247. }
  248. .post.flux .after a {
  249. display: inline-block;
  250. height: 50px;
  251. line-height: 50px;
  252. width: 50%;
  253. }
  254. .post.flux .after a:hover {
  255. background: #fff;
  256. text-decoration: none;
  257. border-radius: 0 0 5px 5px;
  258. box-shadow: 0 1px 3px #aaa;
  259. }
  260. .post.flux > h1 {
  261. padding: 10px 20px;
  262. }
  263. .post.flux .content {
  264. padding: 10px 20px;
  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.not_read {
  295. border-left: 5px solid #FF5300;
  296. background: #FFF3ED;
  297. }
  298. .post.flux.favorite {
  299. border-left: 5px solid #FFC300;
  300. background: #FFF6DA;
  301. }
  302. .post.flux.active {
  303. border-left: 5px solid #0062BE;
  304. }
  305. /*** PAGINATION ***/
  306. .pagination {
  307. margin: 20px 0;
  308. list-style: none;
  309. text-align: center;
  310. font-size: 100%;
  311. }
  312. .pagination li {
  313. display: inline-block;
  314. width: 30px;
  315. height: 30px;
  316. }
  317. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  318. width: 100px;
  319. }
  320. .pagination li.pager-current {
  321. font-weight: bold;
  322. }
  323. .pagination li a {
  324. display: block;
  325. color: #F09600;
  326. }