base.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  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="number"], textarea {
  54. display: block;
  55. width: 430px;
  56. max-width: 95%;
  57. margin: 5px 0 5px;
  58. padding: 5px 10px;
  59. background: #fff;
  60. border: 1px solid #ccc;
  61. border-radius: 5px;
  62. font-size: 90%;
  63. }
  64. textarea {
  65. min-height: 100px;
  66. font-size: 110%;
  67. line-height: 150%;
  68. font-family: Monospace;
  69. }
  70. input[type="submit"], button {
  71. width: 100%;
  72. margin: 5px 0 5px;
  73. padding: 5px 0;
  74. }
  75. select {
  76. width: 100%;
  77. padding: 5px;
  78. }
  79. .radio_group {
  80. line-height: 35px;
  81. }
  82. .radio_group label {
  83. display: inline-block;
  84. margin: 0;
  85. padding: 0 0 0 5px;
  86. font-weight: normal;
  87. }
  88. /* STRUCTURE */
  89. #global {
  90. display: table;
  91. width: 100%;
  92. height: 100%;
  93. }
  94. .aside {
  95. display: table-cell;
  96. height: 100%;
  97. width: 250px;
  98. vertical-align: top;
  99. border-right: 1px solid #aaa;
  100. background: #fff;
  101. }
  102. .aside ul {
  103. margin: 0;
  104. list-style: none;
  105. }
  106. .aside li {
  107. width: 100%;
  108. height: 50px;
  109. overflow: hidden;
  110. line-height: 50px;
  111. }
  112. .aside li > a, .aside li > span {
  113. display: block;
  114. width: 230px;
  115. padding: 0 10px;
  116. }
  117. .aside li > a:hover, .aside li > span:hover {
  118. text-decoration: none;
  119. background: #f0f0f0;
  120. }
  121. .aside li.disable > span {
  122. background: #fff;
  123. }
  124. .aside li > a span {
  125. font-size: 90%;
  126. float: right;
  127. }
  128. .aside li.active > a {
  129. background: #0062BE;
  130. color: #fff;
  131. }
  132. .aside li > h2 {
  133. height: 50px;
  134. padding: 0;
  135. text-align: center;
  136. background: #eee;
  137. line-height: 50px;
  138. }
  139. .aside form {
  140. display: table;
  141. width: 250px;
  142. margin: 0;
  143. padding: 0;
  144. background: #f0f0f0;
  145. border: none;
  146. border-bottom: 1px solid #aaa;
  147. border-radius: 0;
  148. box-shadow: none;
  149. }
  150. .aside form input {
  151. display: table-cell;
  152. height: 48px;
  153. line-height: 48px;
  154. }
  155. .aside form input[type="url"] {
  156. width: 200px;
  157. margin: 0;
  158. padding: 0;
  159. border: none !important;
  160. border-radius: 0;
  161. }
  162. .aside form input[type="submit"] {
  163. width: 50px;
  164. margin: 0;
  165. padding: 0;
  166. border: none;
  167. border-radius: 0;
  168. }
  169. .aside #flux_menu {
  170. display: none;
  171. position: absolute;
  172. top: 48px; left: 250px;
  173. border-top: 2px solid #0062BE;
  174. border-bottom: 2px solid #0062BE;
  175. }
  176. .aside li:hover #flux_menu {
  177. display: block;
  178. }
  179. .aside #flux_menu a {
  180. background: #fff;
  181. color: #0062BE;
  182. }
  183. .aside #flux_menu a:hover {
  184. background: #f0f0f0;
  185. }
  186. #main {
  187. display: table-cell;
  188. height: 100%;
  189. max-width: 800px;
  190. line-height: 180%;
  191. background: #fafafa;
  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: 20px 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. width: 80%;
  228. margin: 0 auto;
  229. }
  230. .post.flux {
  231. margin: 40px auto;
  232. font-family: Palatino, "Times New Roman", serif;
  233. line-height: 170%;
  234. border-left: 5px solid #aaa;
  235. background: #eee;
  236. border-radius: 5px;
  237. box-shadow: 0 1px 3px #aaa;
  238. -moz-transition: border-color .10s ease-out;
  239. -webkit-transition: border-color .10s ease-out;
  240. transition: border-color .10s ease-out;
  241. }
  242. .post.flux .before {
  243. padding: 20px;
  244. color: #666;
  245. font-size: 80%;
  246. text-align: center;
  247. }
  248. .post.flux .after {
  249. margin: 50px 0 0;
  250. font-size: 80%;
  251. text-align: center;
  252. border-top: 1px solid #aaa;
  253. }
  254. .post.flux .after a {
  255. display: inline-block;
  256. height: 50px;
  257. line-height: 50px;
  258. width: 50%;
  259. }
  260. .post.flux .after a:hover {
  261. background: #fff;
  262. text-decoration: none;
  263. border-radius: 0 0 5px 5px;
  264. box-shadow: 0 1px 3px #aaa;
  265. }
  266. .post.flux > h1 {
  267. padding: 10px 20px;
  268. }
  269. .post.flux .content {
  270. padding: 10px 20px;
  271. }
  272. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  273. margin: 20px 0;
  274. }
  275. .post.flux .content p {
  276. margin: 20px 0;
  277. }
  278. .post.flux .content img {
  279. margin: 10px;
  280. border-radius: 5px;
  281. }
  282. .post.flux .content pre {
  283. width: 90%;
  284. margin: 10px auto;
  285. padding: 10px;
  286. overflow: auto;
  287. background: #666;
  288. border: 1px solid #000;
  289. color: #fafafa;
  290. border-radius: 5px;
  291. }
  292. .post.flux .content q, .post.flux .content blockquote {
  293. display: block;
  294. margin: 10px 0;
  295. padding: 0 20px;
  296. font-style: italic;
  297. border-left: 4px solid #ccc;
  298. color: #666;
  299. }
  300. .post.flux.not_read {
  301. border-left: 5px solid #FF5300;
  302. background: #FFF3ED;
  303. }
  304. .post.flux.favorite {
  305. border-left: 5px solid #FFC300;
  306. background: #FFF6DA;
  307. }
  308. .post.flux.active {
  309. border-left: 5px solid #0062BE;
  310. }
  311. /*** PAGINATION ***/
  312. .pagination {
  313. margin: 20px 0;
  314. list-style: none;
  315. text-align: center;
  316. font-size: 100%;
  317. }
  318. .pagination li {
  319. display: inline-block;
  320. width: 30px;
  321. height: 30px;
  322. }
  323. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  324. width: 100px;
  325. }
  326. .pagination li.pager-current {
  327. font-weight: bold;
  328. }
  329. .pagination li a {
  330. display: block;
  331. color: #F09600;
  332. }