style.notcss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. /* ***** BEGIN LICENSE BLOCK *****
  2. * This file is part of DotClear.
  3. * Copyright (c) 2004 Maurice Svay and contributors. All rights
  4. * reserved.
  5. *
  6. * DotClear is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * DotClear is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with DotClear; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. *
  20. * ***** END LICENSE BLOCK *****
  21. *
  22. * Contributor(s):
  23. * Maurice Svay
  24. */
  25. /* Ce fichier définit le style visuel pour les différents éléments du blog.
  26. * Dans l'ordre, vous trouverez les règles qui définissent l'apparence pour:
  27. * - les éléments HTML en général
  28. * - la page
  29. * - l'entête
  30. * - le prélude
  31. * - le contenu
  32. * - la barre de navigation
  33. * - le pied de page
  34. *
  35. * L'agengement des blocs est défini dans le fichier layout.css
  36. * Pour mettre la barre de navigation à gauche, décommentez l'appel à
  37. * layout-gauche.css
  38. */
  39. @import "layout.css";
  40. /* @import "layout-gauche.css"; */
  41. /* Les éléments HTML en général
  42. -------------------------------------------------------- */
  43. body{
  44. background: #EEE;
  45. color: #000;
  46. font-size: 80%;
  47. line-height: 1.6em;
  48. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  49. border-top: 10px solid #DDD;
  50. }
  51. h1, h2, h3, h4, h5, h6{
  52. font-family: "Trebuchet MS", sans-serif;
  53. }
  54. h1{font-size: 1.5em;}
  55. h2{font-size: 1.4em;}
  56. h3{font-size: 1.3em;}
  57. h4{font-size: 1.2em;}
  58. h5{font-size: 1.1em;}
  59. h6{font-size: 1em;}
  60. pre, code{
  61. font-size: 1.2em;
  62. }
  63. pre{
  64. width: 100%;
  65. overflow: auto;
  66. border: 1px solid #CCC;
  67. }
  68. fieldset{
  69. border: none;
  70. }
  71. label{
  72. cursor: pointer;
  73. cursor: hand;
  74. }
  75. .field label{
  76. display: block;
  77. }
  78. input,textarea{
  79. border: 1px solid #999;
  80. }
  81. textarea{
  82. width: 100%;
  83. font-size: 1em;
  84. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  85. }
  86. a{
  87. color: #000;
  88. }
  89. a:visited{
  90. color: #663;
  91. }
  92. a:hover{
  93. color: #636;
  94. }
  95. .left{
  96. float: left;
  97. margin-right: 1em;
  98. }
  99. .right{
  100. float: right;
  101. margin-left: 1em;
  102. }
  103. /* La page
  104. -------------------------------------------------------- */
  105. #page{
  106. background: #fff url(img/page.png) repeat-y center top;
  107. color: inherit;
  108. }
  109. /* L'entête
  110. -------------------------------------------------------- */
  111. #top{
  112. height: 120px;
  113. /*padding-top: 20px;*/
  114. background: #FFF url(img/top.png) no-repeat left top;
  115. }
  116. #top h1{
  117. height: 80px;
  118. line-height: 80px;
  119. margin: 0 0 0 40px;
  120. padding-top: 20px;
  121. color: #FFFFFF;
  122. }
  123. #top h1 a{
  124. text-decoration: none;
  125. color: #FFFFFF;
  126. }
  127. /* Le prélude
  128. -------------------------------------------------------- */
  129. #prelude{
  130. background: transparent;
  131. color: #DFDFDF;
  132. text-align: center;
  133. }
  134. #prelude a{
  135. color: #DFDFDF;
  136. background: transparent;
  137. }
  138. #prelude a:hover{
  139. color: #666;
  140. background: transparent;
  141. }
  142. /* Le contenu
  143. -------------------------------------------------------- */
  144. .day-date{
  145. padding-left: 20px;
  146. margin-left: -25px;
  147. color: #888;
  148. background: transparent url(img/day-date.png) no-repeat left center;
  149. font-style: italic;
  150. }
  151. .post-title{
  152. color: #F90;
  153. background: transparent;
  154. margin-bottom: 0;
  155. }
  156. .post-title a{
  157. color: #F90;
  158. background: transparent;
  159. text-decoration: none;
  160. }
  161. .post-info{
  162. margin-top: 0;
  163. color: #FA0;
  164. background: transparent;
  165. padding-bottom: 1ex;
  166. /*border-bottom: 1px solid #FC0;*/
  167. }
  168. .post-info a{
  169. color: #FA0;
  170. background: transparent;
  171. text-decoration: none;
  172. }
  173. .post-content{
  174. text-align: justify;
  175. }
  176. .post-content blockquote{
  177. font-family: Georgia, serif;
  178. font-style: italic;
  179. }
  180. .post-info-co{
  181. text-align: right;
  182. }
  183. #trackbacks blockquote, #comments blockquote{
  184. border: 1px solid #EEE;
  185. margin: 1em 0;
  186. padding: 1ex 1em;
  187. }
  188. /* La barre de navigation
  189. -------------------------------------------------------- */
  190. #sidebar div{
  191. border-bottom: 1px solid #F0F0F0;
  192. color: inherit;
  193. }
  194. #sidebar div ul{
  195. margin: 0;
  196. padding: 0;
  197. list-style: none;
  198. }
  199. #sidebar h2, #sidebar h3{
  200. color: #9ED200;
  201. margin: 0 0 1ex 0;
  202. }
  203. #sidebar h3{
  204. font-size: 1em;
  205. margin: 0;
  206. }
  207. #sidebar div#search{
  208. background: transparent;
  209. color: inherit;
  210. line-height: 2.3em;
  211. }
  212. #search fieldset, #search p{
  213. margin: 0;
  214. padding: 0;
  215. }
  216. #q{
  217. padding-left: 18px;
  218. background: #fff url(img/q.png) no-repeat 4px center;
  219. }
  220. #sidebar div#calendar{
  221. /*border-top: 1px solid #F0F0F0;*/
  222. }
  223. #sidebar div#calendar table{
  224. font-size: 0.8em;
  225. text-align: center;
  226. margin: 0 auto;
  227. border-collapse: collapse;
  228. }
  229. #sidebar div#calendar table caption{
  230. margin: 0 auto;
  231. }
  232. #sidebar div#calendar table th{
  233. color: #493;
  234. background: transparent;
  235. }
  236. #sidebar div#calendar table td{
  237. width: 14%;
  238. line-height: 2em;
  239. border: 1px solid #EEE;
  240. }
  241. #sidebar div#calendar table td a{
  242. display: block;
  243. background: #EFA;
  244. color: #493;
  245. font-weight: bold;
  246. text-decoration: none;
  247. }
  248. #sidebar div#calendar table td a:hover{
  249. background: #DBB8DC;
  250. color: #636;
  251. }
  252. /* Le pied de page
  253. -------------------------------------------------------- */
  254. #footer{
  255. margin: 0;
  256. padding: 1em;
  257. border-top: 1px solid #CCC;
  258. background: #EEE;
  259. color: #666;
  260. }
  261. #footer a{
  262. color: #999;
  263. }