base.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  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. a.add, a.update, a.delete, a.back {
  17. height: 30px;
  18. padding: 0 20px;
  19. line-height: 30px;
  20. }
  21. a.add {
  22. background: url("img/add.png") no-repeat left 3px;
  23. }
  24. a.update {
  25. background: url("img/update.png") no-repeat left 3px;
  26. }
  27. a.delete {
  28. background: url("img/delete.png") no-repeat left 3px;
  29. }
  30. a.back {
  31. background: url("img/back.png") no-repeat left 5px;
  32. }
  33. /* LISTES */
  34. ul {
  35. margin: 10px 0 10px 30px;
  36. line-height: 190%;
  37. }
  38. /* TITRES */
  39. h1, h2, h3 {
  40. min-height: 50px;
  41. padding: 10px 0 20px;
  42. line-height: 50px;
  43. }
  44. /* IMG */
  45. img {
  46. max-width: 100%;
  47. vertical-align: middle;
  48. }
  49. /* FORMULAIRES */
  50. form {
  51. width: 450px;
  52. max-width: 100%;
  53. margin: 20px auto;
  54. padding: 20px;
  55. background: #f0f0f0;
  56. border: 1px solid #ddd;
  57. border-radius: 3px;
  58. box-shadow: 0 1px 3px #aaa;
  59. }
  60. label {
  61. display: block;
  62. padding: 0 20px 0 0;
  63. font-weight: bold;
  64. }
  65. input:focus, textarea:focus {
  66. color: #3366cc !important;
  67. border: 1px solid #3366cc !important;
  68. }
  69. input[type="text"], input[type="url"], input[type="number"], textarea {
  70. display: block;
  71. width: 430px;
  72. max-width: 95%;
  73. margin: 5px 0 5px;
  74. padding: 5px 10px;
  75. background: #fff;
  76. border: 1px solid #ccc;
  77. border-radius: 5px;
  78. font-size: 90%;
  79. }
  80. textarea {
  81. min-height: 100px;
  82. font-size: 110%;
  83. line-height: 150%;
  84. font-family: Monospace;
  85. }
  86. input[type="submit"] {
  87. width: 100%;
  88. margin: 5px 0 5px;
  89. padding: 5px 0;
  90. }
  91. .radio_group label {
  92. display: inline-block;
  93. padding: 0 0 0 5px;
  94. font-weight: normal;
  95. }
  96. /* STRUCTURE */
  97. #global {
  98. display: table;
  99. width: 100%;
  100. height: 100%;
  101. }
  102. .aside {
  103. display: table-cell;
  104. height: 100%;
  105. width: 250px;
  106. vertical-align: top;
  107. border-right: 1px solid #aaa;
  108. }
  109. .aside ul {
  110. margin: 0;
  111. list-style: none;
  112. }
  113. .aside li {
  114. height: 50px;
  115. line-height: 50px;
  116. }
  117. .aside li.active a {
  118. background: #0062BE !important;
  119. color: #fff;
  120. }
  121. .aside li a {
  122. display: block;
  123. padding: 0 10px;
  124. }
  125. .aside li a:hover {
  126. text-decoration: none;
  127. background: #fafafa;
  128. }
  129. .aside li h2 {
  130. height: 50px;
  131. padding: 0;
  132. text-align: center;
  133. background: #eee;
  134. line-height: 50px;
  135. }
  136. .aside form {
  137. display: table;
  138. width: 250px;
  139. margin: 0;
  140. padding: 0;
  141. background: #f0f0f0;
  142. border: none;
  143. border-bottom: 1px solid #aaa;
  144. border-radius: 0;
  145. box-shadow: none;
  146. }
  147. .aside form input {
  148. display: table-cell;
  149. height: 48px;
  150. line-height: 48px;
  151. }
  152. .aside form input[type="url"] {
  153. width: 200px;
  154. margin: 0;
  155. padding: 0;
  156. border: none !important;
  157. border-radius: 0;
  158. }
  159. .aside form input[type="submit"] {
  160. width: 50px;
  161. margin: 0;
  162. padding: 0;
  163. border: none;
  164. border-radius: 0;
  165. }
  166. #main {
  167. display: table-cell;
  168. height: 100%;
  169. max-width: 800px;
  170. line-height: 180%;
  171. background: #fafafa;
  172. }
  173. #top {
  174. width: 100%;
  175. background: #eee;
  176. border-bottom: 1px solid #aaa;
  177. box-shadow: 0 1px 3px #aaa;
  178. text-align: center;
  179. }
  180. #top a {
  181. display: inline-block;
  182. height: 50px;
  183. width: 50%;
  184. line-height: 50px;
  185. font-weight: bold;
  186. }
  187. #top a:hover {
  188. background: #fafafa;
  189. text-decoration: none;
  190. }
  191. #stream {
  192. padding: 20px 0;
  193. }
  194. .post {
  195. width: 80%;
  196. margin: 0 auto;
  197. }
  198. .post.flux {
  199. margin: 40px auto;
  200. padding: 25px 20px;
  201. font-family: Palatino, "Times New Roman", serif;
  202. line-height: 170%;
  203. border-left: 5px solid #aaa;
  204. background: #eee;
  205. border-radius: 5px;
  206. box-shadow: 0 1px 3px #aaa;
  207. }
  208. .post.flux .before {
  209. color: #666;
  210. font-size: 80%;
  211. text-align: center;
  212. }
  213. .post.flux .after {
  214. margin: 50px 0 0;
  215. font-size: 80%;
  216. text-align: center;
  217. border-top: 1px solid #aaa;
  218. }
  219. .post.flux .after a {
  220. display: inline-block;
  221. height: 50px;
  222. line-height: 50px;
  223. width: 50%;
  224. }
  225. .post.flux .after a:hover {
  226. background: #fff;
  227. text-decoration: none;
  228. border-radius: 0 0 5px 5px;
  229. box-shadow: 0 1px 3px #aaa;
  230. }
  231. /* temporaire !!! */
  232. .post.flux .content {
  233. /*display: none;*/
  234. }
  235. .post.flux .content img {
  236. border-radius: 5px;
  237. }
  238. .post.flux .content pre {
  239. width: 90%;
  240. margin: 10px auto;
  241. padding: 10px;
  242. overflow: auto;
  243. background: #666;
  244. border: 1px solid #000;
  245. color: #fafafa;
  246. border-radius: 5px;
  247. }
  248. .post.flux .content q {
  249. display: block;
  250. width: 90%;
  251. margin: 10px auto;
  252. padding: 10px;
  253. font-style: italic;
  254. border-left: 15px solid #ccc;
  255. color: #669;
  256. border-radius: 5px 0 0 5px;
  257. }
  258. .post.flux.not_read {
  259. border-left: 5px solid #FF5300;
  260. background: #FFF3ED;
  261. }
  262. .post.flux.favorite {
  263. border-left: 5px solid #FFC300;
  264. background: #FFF6DA;
  265. }
  266. /*** PAGINATION ***/
  267. .pagination {
  268. margin: 20px 0;
  269. list-style: none;
  270. text-align: center;
  271. font-size: 100%;
  272. }
  273. .pagination li {
  274. display: inline-block;
  275. width: 30px;
  276. height: 30px;
  277. }
  278. .pagination li.pager-next, .pagination li.pager-previous, .pagination li.pager-first, .pagination li.pager-last {
  279. width: 100px;
  280. }
  281. .pagination li.pager-current {
  282. font-weight: bold;
  283. }
  284. .pagination li a {
  285. display: block;
  286. color: #F09600;
  287. }