base.css 6.1 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="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. font-size: 90%;
  129. float: right;
  130. }
  131. .aside li.active > a {
  132. background: #0062BE;
  133. color: #fff;
  134. }
  135. .aside li > h2 {
  136. height: 50px;
  137. padding: 0;
  138. text-align: center;
  139. background: #eee;
  140. line-height: 50px;
  141. }
  142. .aside form {
  143. display: table;
  144. width: 250px;
  145. margin: 0;
  146. padding: 0;
  147. background: #f0f0f0;
  148. border: none;
  149. border-bottom: 1px solid #aaa;
  150. border-radius: 0;
  151. box-shadow: none;
  152. }
  153. .aside form input {
  154. display: inline-block;
  155. height: 48px;
  156. line-height: 48px;
  157. }
  158. .aside form input[type="url"] {
  159. width: 200px;
  160. margin: 0;
  161. padding: 0;
  162. border: none !important;
  163. border-radius: 0;
  164. }
  165. .aside form input[type="submit"] {
  166. width: 50px;
  167. margin: 0;
  168. padding: 0;
  169. border: none;
  170. border-radius: 0;
  171. }
  172. .aside #flux_menu {
  173. display: none;
  174. position: absolute;
  175. top: 48px; left: 250px;
  176. border-top: 2px solid #0062BE;
  177. border-bottom: 2px solid #0062BE;
  178. }
  179. .aside li:hover #flux_menu {
  180. display: block;
  181. }
  182. .aside #flux_menu a {
  183. background: #fff;
  184. color: #0062BE;
  185. }
  186. .aside #flux_menu a:hover {
  187. background: #f0f0f0;
  188. }
  189. #main {
  190. display: table-cell;
  191. height: 100%;
  192. max-width: 800px;
  193. line-height: 180%;
  194. background: #fafafa;
  195. vertical-align: top;
  196. }
  197. #top {
  198. width: 100%;
  199. background: #eee;
  200. border-bottom: 1px solid #aaa;
  201. box-shadow: 0 1px 3px #aaa;
  202. text-align: center;
  203. }
  204. #top a {
  205. display: inline-block;
  206. height: 50px;
  207. width: 50%;
  208. line-height: 50px;
  209. font-weight: bold;
  210. }
  211. #top a:hover {
  212. background: #fafafa;
  213. text-decoration: none;
  214. }
  215. #stream {
  216. padding: 20px 0;
  217. }
  218. #main .table {
  219. display: table;
  220. width: 100%;
  221. height: 100%;
  222. }
  223. #main .nothing {
  224. display: table-cell;
  225. width: 100%;
  226. height: 100%;
  227. vertical-align: middle;
  228. text-align: center;
  229. }
  230. .post {
  231. width: 90%;
  232. margin: 0 auto;
  233. }
  234. .post.flux {
  235. margin: 40px auto;
  236. font-family: Palatino, "Times New Roman", serif;
  237. line-height: 170%;
  238. border-left: 5px solid #aaa;
  239. background: #eee;
  240. border-radius: 5px;
  241. box-shadow: 0 1px 3px #aaa;
  242. }
  243. .post.flux .before {
  244. padding: 20px;
  245. color: #666;
  246. font-size: 80%;
  247. text-align: center;
  248. }
  249. .post.flux .after {
  250. margin: 50px 0 0;
  251. font-size: 80%;
  252. text-align: center;
  253. border-top: 1px solid #aaa;
  254. }
  255. .post.flux .after a {
  256. display: inline-block;
  257. height: 50px;
  258. line-height: 50px;
  259. width: 50%;
  260. }
  261. .post.flux .after a:hover {
  262. background: #fff;
  263. text-decoration: none;
  264. border-radius: 0 0 5px 5px;
  265. box-shadow: 0 1px 3px #aaa;
  266. }
  267. .post.flux > h1 {
  268. padding: 10px 20px;
  269. }
  270. .post.flux .content {
  271. padding: 10px 20px;
  272. }
  273. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  274. margin: 20px 0;
  275. }
  276. .post.flux .content p {
  277. margin: 20px 0;
  278. }
  279. .post.flux .content img {
  280. margin: 10px;
  281. border-radius: 5px;
  282. }
  283. .post.flux .content pre {
  284. width: 90%;
  285. margin: 10px auto;
  286. padding: 10px;
  287. overflow: auto;
  288. background: #666;
  289. border: 1px solid #000;
  290. color: #fafafa;
  291. border-radius: 5px;
  292. }
  293. .post.flux .content q, .post.flux .content blockquote {
  294. display: block;
  295. margin: 10px 0;
  296. padding: 0 20px;
  297. font-style: italic;
  298. border-left: 4px solid #ccc;
  299. color: #666;
  300. }
  301. .post.flux.not_read {
  302. border-left: 5px solid #FF5300;
  303. background: #FFF3ED;
  304. }
  305. .post.flux.favorite {
  306. border-left: 5px solid #FFC300;
  307. background: #FFF6DA;
  308. }
  309. .post.flux.active {
  310. border-left: 5px solid #0062BE;
  311. }
  312. /*** PAGINATION ***/
  313. .pagination {
  314. margin: 20px 0;
  315. list-style: none;
  316. text-align: center;
  317. font-size: 100%;
  318. }
  319. .pagination li {
  320. display: inline-block;
  321. width: 30px;
  322. height: 30px;
  323. }
  324. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  325. width: 100px;
  326. }
  327. .pagination li.pager-current {
  328. font-weight: bold;
  329. }
  330. .pagination li a {
  331. display: block;
  332. color: #F09600;
  333. }