base.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  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. 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. vertical-align: top;
  193. }
  194. #top {
  195. width: 100%;
  196. background: #eee;
  197. border-bottom: 1px solid #aaa;
  198. box-shadow: 0 1px 3px #aaa;
  199. text-align: center;
  200. }
  201. #top a {
  202. display: inline-block;
  203. height: 50px;
  204. width: 50%;
  205. line-height: 50px;
  206. font-weight: bold;
  207. }
  208. #top a:hover {
  209. background: #fafafa;
  210. text-decoration: none;
  211. }
  212. #stream {
  213. padding: 20px 0;
  214. }
  215. #main .table {
  216. display: table;
  217. width: 100%;
  218. height: 100%;
  219. }
  220. #main .nothing {
  221. display: table-cell;
  222. width: 100%;
  223. height: 100%;
  224. vertical-align: middle;
  225. text-align: center;
  226. }
  227. .post {
  228. width: 90%;
  229. margin: 0 auto;
  230. }
  231. .post.flux {
  232. margin: 40px auto;
  233. font-family: Palatino, "Times New Roman", serif;
  234. line-height: 170%;
  235. border-left: 5px solid #aaa;
  236. background: #eee;
  237. border-radius: 5px;
  238. box-shadow: 0 1px 3px #aaa;
  239. -moz-transition: border-color .10s ease-out;
  240. -webkit-transition: border-color .10s ease-out;
  241. transition: border-color .10s ease-out;
  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. }