base.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  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. #menu {
  177. height: 92%;
  178. overflow: auto;
  179. }
  180. #menu li.all {
  181. border-top: 1px solid #aaa;
  182. }
  183. #main {
  184. display: table-cell;
  185. height: 100%;
  186. max-width: 800px;
  187. padding: 0 0 0 250px;
  188. line-height: 180%;
  189. background: #fafafa;
  190. vertical-align: top;
  191. }
  192. #top {
  193. width: 100%;
  194. background: #eee;
  195. border-bottom: 1px solid #aaa;
  196. box-shadow: 0 1px 3px #aaa;
  197. text-align: center;
  198. }
  199. #top a {
  200. display: inline-block;
  201. height: 50px;
  202. width: 50%;
  203. line-height: 50px;
  204. font-weight: bold;
  205. }
  206. #top a:hover {
  207. background: #fafafa;
  208. text-decoration: none;
  209. }
  210. #stream {
  211. padding: 20px 0;
  212. }
  213. #main .table {
  214. display: table;
  215. width: 100%;
  216. height: 100%;
  217. }
  218. #main .nothing {
  219. display: table-cell;
  220. width: 100%;
  221. height: 100%;
  222. vertical-align: middle;
  223. text-align: center;
  224. }
  225. .post {
  226. width: 90%;
  227. margin: 0 auto;
  228. }
  229. .post.flux {
  230. margin: 40px auto;
  231. font-family: Palatino, "Times New Roman", serif;
  232. line-height: 170%;
  233. border-left: 5px solid #aaa;
  234. background: #eee;
  235. border-radius: 5px;
  236. box-shadow: 0 1px 3px #aaa;
  237. }
  238. .post.flux .before {
  239. padding: 20px;
  240. color: #666;
  241. font-size: 80%;
  242. text-align: center;
  243. }
  244. .post.flux .after {
  245. margin: 50px 0 0;
  246. font-size: 80%;
  247. text-align: center;
  248. border-top: 1px solid #aaa;
  249. }
  250. .post.flux .after a {
  251. display: inline-block;
  252. height: 50px;
  253. line-height: 50px;
  254. width: 50%;
  255. }
  256. .post.flux .after a:hover {
  257. background: #fff;
  258. text-decoration: none;
  259. border-radius: 0 0 5px 5px;
  260. box-shadow: 0 1px 3px #aaa;
  261. }
  262. .post.flux > h1 {
  263. padding: 10px 20px;
  264. }
  265. .post.flux .content {
  266. padding: 10px 20px;
  267. }
  268. .post.flux .content h1, .post.flux .content h2, .post.flux .content h3 {
  269. margin: 20px 0;
  270. }
  271. .post.flux .content p {
  272. margin: 20px 0;
  273. }
  274. .post.flux .content img {
  275. margin: 10px;
  276. border-radius: 5px;
  277. }
  278. .post.flux .content pre {
  279. width: 90%;
  280. margin: 10px auto;
  281. padding: 10px;
  282. overflow: auto;
  283. background: #666;
  284. border: 1px solid #000;
  285. color: #fafafa;
  286. border-radius: 5px;
  287. }
  288. .post.flux .content q, .post.flux .content blockquote {
  289. display: block;
  290. margin: 10px 0;
  291. padding: 0 20px;
  292. font-style: italic;
  293. border-left: 4px solid #ccc;
  294. color: #666;
  295. }
  296. .post.flux.not_read {
  297. border-left: 5px solid #FF5300;
  298. background: #FFF3ED;
  299. }
  300. .post.flux.favorite {
  301. border-left: 5px solid #FFC300;
  302. background: #FFF6DA;
  303. }
  304. .post.flux.active {
  305. border-left: 5px solid #0062BE;
  306. }
  307. /*** PAGINATION ***/
  308. .pagination {
  309. margin: 20px 0;
  310. list-style: none;
  311. text-align: center;
  312. font-size: 100%;
  313. }
  314. .pagination li {
  315. display: inline-block;
  316. width: 30px;
  317. height: 30px;
  318. }
  319. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  320. width: 100px;
  321. }
  322. .pagination li.pager-current {
  323. font-weight: bold;
  324. }
  325. .pagination li a {
  326. display: block;
  327. color: #F09600;
  328. }