style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. /* $Id: style.css,v 1.12 2006/01/20 09:09:18 dries Exp $ */
  2. /*
  3. ** HTML elements
  4. */
  5. /*
  6. body {
  7. margin: 0;
  8. padding: 0;
  9. color: #000;
  10. background-color: #fff;
  11. font: 76% Verdana, Arial, Helvetica, sans-serif;
  12. }
  13. tr.odd td, tr.even td {
  14. padding: 0.3em;
  15. }
  16. h1, h2, h3, h4, h5, h6 {
  17. margin-bottom: 0.5em;
  18. }
  19. h1 {
  20. font-size: 1.3em;
  21. }
  22. h2 {
  23. font-size: 1.2em;
  24. }
  25. h3, h4, h5, h6 {
  26. font-size: 1.1em;
  27. }
  28. p {
  29. margin-top: 0.5em;
  30. margin-bottom: 0.9em;
  31. }
  32. a {
  33. text-decoration: none;
  34. font-weight: bold;
  35. }
  36. a:link {
  37. color: #39c;
  38. }
  39. a:visited {
  40. color: #369;
  41. }
  42. a:hover {
  43. color: #39c;
  44. text-decoration: underline;
  45. }
  46. fieldset {
  47. border: 1px solid #ccc;
  48. }
  49. pre {
  50. background-color: #eee;
  51. padding: 0.75em 1.5em;
  52. font-size: 12px;
  53. border: 1px solid #ddd;
  54. }
  55. table { */
  56. /* make <td> sizes relative to body size! */
  57. /* font-size: 1em;
  58. }
  59. .form-item label {
  60. font-size: 1em;
  61. color: #222;
  62. }
  63. .item-list .title {
  64. font-size: 1em;
  65. color: #222;
  66. }
  67. .links {
  68. margin-bottom: 0em;
  69. }
  70. .comment .links {
  71. margin-bottom: 0em;
  72. }
  73. /*
  74. ** Page layout blocks / IDs
  75. */
  76. /*
  77. #header, #content {
  78. width: 100%;
  79. }
  80. #header {
  81. background-color: #69c;
  82. }
  83. #logo {
  84. vertical-align: middle;
  85. border: 0;
  86. }
  87. #logo img {
  88. float: left;
  89. padding: 0em 1.0em 0em 1em;
  90. border: 0;
  91. }
  92. #menu {
  93. padding: 0.5em 0.5em 0 0.5em;
  94. text-align: right;
  95. vertical-align: middle;
  96. }
  97. #primary {
  98. font-size: 1.0em;
  99. padding: 0em 0.8em 0.5em 0;
  100. color: #9cf;
  101. }
  102. #primary a {
  103. font-weight: bold;
  104. color: #fff;
  105. }
  106. #secondary {
  107. padding: 0 1em 0.5em 0;
  108. font-size: 0.8em;
  109. color: #9cf;
  110. }
  111. #secondary a {
  112. font-weight: bold;
  113. color: #9cf;
  114. }
  115. #search .form-text, #search .form-submit {
  116. border: 1px solid #369;
  117. font-size: 1.1em;
  118. }
  119. #search .form-text {
  120. width: 8em;
  121. height: 1.4em;
  122. padding: 0 0.5em 0 0.5em;
  123. margin: 0 0 0.5em 0;
  124. }
  125. #search .form-submit {
  126. height: 1.5em;
  127. }
  128. #mission {
  129. background-color: #369;
  130. padding: 1.5em 2em;
  131. color: #fff;
  132. }
  133. #mission a, #mission a:visited {
  134. color: #9cf;
  135. font-weight: bold;
  136. }
  137. .site-name {
  138. margin: 0.6em 0em 0em 0em;
  139. padding: 0em;
  140. font-size: 2em;
  141. }
  142. .site-name a:link, .site-name a:visited {
  143. color: #fff;
  144. }
  145. .site-name a:hover {
  146. color: #369;
  147. text-decoration: none;
  148. }
  149. .site-slogan {
  150. font-size: 1em;
  151. color: #eee;
  152. display: block;
  153. margin: 0em 0em 0em 0em;
  154. font-style: italic;
  155. font-weight: bold;
  156. }
  157. #main { */
  158. /* padding in px not ex because IE messes up 100% width tables otherwise */
  159. /*
  160. padding: 10px;
  161. }
  162. #mission, .node .content, .comment .content {
  163. line-height: 1.4;
  164. }
  165. #help {
  166. font-size: 0.9em;
  167. margin-bottom: 1em;
  168. }
  169. .breadcrumb {
  170. margin-bottom: .5em;
  171. }
  172. .messages {
  173. background-color: #eee;
  174. border: 1px solid #ccc;
  175. padding: 0.3em;
  176. margin-bottom: 1em;
  177. }
  178. .error {
  179. border-color: red;
  180. }
  181. #sidebar-left, #sidebar-right {
  182. background-color: #ddd;
  183. width: 16em; */
  184. /* padding in px not ex because IE messes up 100% width tables otherwise */
  185. /*padding: 10px;
  186. vertical-align: top;
  187. }
  188. #footer {
  189. background-color: #eee;
  190. padding: 1em;
  191. font-size: 0.8em;
  192. }
  193. */
  194. /*
  195. ** Common declarations for child classes of node, comment, block, box, etc.
  196. ** If you want any of them styled differently for a specific parent, add
  197. ** additional rules /with only the differing properties!/ to .parent .class.
  198. ** See .comment .title for an example.
  199. */
  200. /*
  201. .title, .title a {
  202. font-weight: bold;
  203. font-size: 1.3em;
  204. color: #777;
  205. margin: 0 auto 0 auto; */
  206. /* decrease default margins for h<x>.title */
  207. /*
  208. }
  209. .submitted {
  210. color: #999;
  211. font-size: 0.8em;
  212. }
  213. .links {
  214. color: #999;
  215. }
  216. .links a {
  217. font-weight: bold;
  218. }
  219. .block, .box {
  220. padding: 0 0 1.5em 0;
  221. }
  222. .block {
  223. border-bottom: 1px solid #bbb;
  224. padding-bottom: 0.75em;
  225. margin-bottom: 1.5em;
  226. }
  227. .block .title {
  228. margin-bottom: .25em;
  229. }
  230. .box .title {
  231. font-size: 1.1em;
  232. }
  233. .node {
  234. margin: .5em 0 2em 0;
  235. }
  236. .sticky {
  237. padding: .5em;
  238. background-color: #eee;
  239. border: solid 1px #ddd;
  240. }
  241. .node .content, .comment .content {
  242. margin: .5em 0 .5em 0;
  243. }
  244. .node .taxonomy {
  245. color: #999;
  246. font-size: 0.8em;
  247. padding: 1.5em;
  248. }
  249. .node .picture {
  250. border: 1px solid #ddd;
  251. float: right;
  252. margin: 0.5em;
  253. }
  254. .comment {
  255. border: 1px solid #abc;
  256. padding: .5em;
  257. margin-bottom: 1em;
  258. }
  259. .comment .title a {
  260. font-size: 1.1em;
  261. font-weight: normal;
  262. }
  263. .comment .new {
  264. text-align: right;
  265. font-weight: bold;
  266. font-size: 0.8em;
  267. float: right;
  268. color: red;
  269. }
  270. .comment .picture {
  271. border: 1px solid #abc;
  272. float: right;
  273. margin: 0.5em;
  274. }
  275. */
  276. /*
  277. ** Module specific styles
  278. */
  279. /*
  280. #aggregator .feed-source {
  281. background-color: #eee;
  282. border: 1px solid #ccc;
  283. padding: 1em;
  284. margin: 1em 0 1em 0;
  285. }
  286. #aggregator .news-item .categories, #aggregator .source, #aggregator .age {
  287. color: #999;
  288. font-style: italic;
  289. font-size: 0.9em;
  290. }
  291. #aggregator .title {
  292. margin-bottom: 0.5em;
  293. font-size: 1em;
  294. }
  295. #aggregator h3 {
  296. margin-top: 1em;
  297. }
  298. #forum table {
  299. width: 100%;
  300. }
  301. #forum td {
  302. padding: 0.5em 0.5em 0.5em 0.5em;
  303. }
  304. #forum td.forum, #forum td.posts {
  305. background-color: #eee;
  306. }
  307. #forum td.topics, #forum td.last-reply {
  308. background-color: #ddd;
  309. }
  310. #forum td.container {
  311. background-color: #ccc;
  312. }
  313. #forum td.container a {
  314. color: #555;
  315. }
  316. #forum td.statistics, #forum td.settings, #forum td.pager {
  317. height: 1.5em;
  318. border: 1px solid #bbb;
  319. }
  320. #forum td .name {
  321. color: #96c;
  322. }
  323. #forum td .links {
  324. padding-top: 0.7em;
  325. font-size: 0.9em;
  326. }
  327. #profile .profile {
  328. clear: both;
  329. border: 1px solid #abc;
  330. padding: .5em;
  331. margin: 1em 0em 1em 0em;
  332. }
  333. #profile .profile .name {
  334. padding-bottom: 0.5em;
  335. }
  336. .block-forum h3 {
  337. margin-bottom: .5em;
  338. }
  339. .calendar a {
  340. text-decoration: none;
  341. }
  342. .calendar td, .calendar th {
  343. padding: 0.4em 0;
  344. border-color: #888;
  345. }
  346. .calendar .day-today {
  347. background-color: #69c;
  348. }
  349. .calendar .day-today a {
  350. color: #fff;
  351. }
  352. .calendar .day-selected {
  353. background-color: #369;
  354. color: #fff;
  355. }
  356. .calendar .header-week {
  357. background-color: #ccc;
  358. }
  359. .calendar .day-blank {
  360. background-color: #ccc;
  361. }
  362. .calendar .row-week td a:hover {
  363. background-color: #fff; color: #000;
  364. }
  365. */
  366. /*==========================================*/
  367. /* ***** BEGIN LICENSE BLOCK *****
  368. * This file is part of DotClear.
  369. * Copyright (c) 2004 Maurice Svay and contributors. All rights
  370. * reserved.
  371. *
  372. * DotClear is free software; you can redistribute it and/or modify
  373. * it under the terms of the GNU General Public License as published by
  374. * the Free Software Foundation; either version 2 of the License, or
  375. * (at your option) any later version.
  376. *
  377. * DotClear is distributed in the hope that it will be useful,
  378. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  379. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  380. * GNU General Public License for more details.
  381. *
  382. * You should have received a copy of the GNU General Public License
  383. * along with DotClear; if not, write to the Free Software
  384. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  385. *
  386. * ***** END LICENSE BLOCK *****
  387. *
  388. * Contributor(s):
  389. * Maurice Svay
  390. */
  391. /* Ce fichier d�finit le style visuel pour les diff�rents �l�ments du blog.
  392. * Dans l'ordre, vous trouverez les r�gles qui d�finissent l'apparence pour:
  393. * - les �l�ments HTML en g�n�ral
  394. * - la page
  395. * - l'ent�te
  396. * - le pr�lude
  397. * - le contenu
  398. * - la barre de navigation
  399. * - le pied de page
  400. *
  401. * L'agengement des blocs est d�fini dans le fichier layout.css
  402. * Pour mettre la barre de navigation � gauche, d�commentez l'appel �
  403. * layout-gauche.css
  404. */
  405. @import "layout.css";
  406. /* @import "layout-gauche.css"; */
  407. /* Les �l�ments HTML en g�n�ral
  408. -------------------------------------------------------- */
  409. body{
  410. background: #EEE;
  411. color: #000;
  412. font-size: 80%;
  413. line-height: 1.6em;
  414. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  415. border-top: 10px solid #DDD;
  416. }
  417. h1, h2, h3, h4, h5, h6{
  418. font-family: "Trebuchet MS", sans-serif;
  419. }
  420. h1{font-size: 1.5em;}
  421. h2{font-size: 1.4em;}
  422. h3{font-size: 1.3em;}
  423. h4{font-size: 1.2em;}
  424. h5{font-size: 1.1em;}
  425. h6{font-size: 1em;}
  426. pre, code
  427. {
  428. font-size: 1.2em;
  429. color : #666;
  430. font-weight : bold;
  431. }
  432. pre{
  433. width: 100%;
  434. overflow: auto;
  435. border: 1px solid #CCC;
  436. }
  437. fieldset{
  438. border: none;
  439. }
  440. label{
  441. cursor: pointer;
  442. cursor: hand;
  443. }
  444. .field label{
  445. display: block;
  446. }
  447. input,textarea{
  448. border: 1px solid #999;
  449. }
  450. textarea{
  451. width: 100%;
  452. font-size: 1em;
  453. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  454. }
  455. a{
  456. color: #000;
  457. }
  458. a:visited{
  459. color: #663;
  460. }
  461. a:hover{
  462. color: #636;
  463. }
  464. .left{
  465. float: left;
  466. margin-right: 1em;
  467. }
  468. .right{
  469. float: right;
  470. margin-left: 1em;
  471. }
  472. /* La page
  473. -------------------------------------------------------- */
  474. #page{
  475. background: #fff url(img/page.png) repeat-y center top;
  476. color: inherit;
  477. }
  478. /* L'ent�te
  479. -------------------------------------------------------- */
  480. #top{
  481. height: 120px;
  482. /*padding-top: 20px;*/
  483. background: #FFF url(img/top.png) no-repeat left top;
  484. }
  485. #top h1{
  486. height: 80px;
  487. line-height: 80px;
  488. margin: 0 0 0 40px;
  489. padding-top: 20px;
  490. color: #FFFFFF;
  491. }
  492. #top h1 a{
  493. text-decoration: none;
  494. color: #FFFFFF;
  495. }
  496. /* Le pr�lude
  497. -------------------------------------------------------- */
  498. #prelude{
  499. background: transparent;
  500. color: #DFDFDF;
  501. text-align: center;
  502. }
  503. #prelude a{
  504. color: #DFDFDF;
  505. background: transparent;
  506. }
  507. #prelude a:hover{
  508. color: #666;
  509. background: transparent;
  510. }
  511. /* Le contenu
  512. -------------------------------------------------------- */
  513. .day-date{
  514. padding-left: 20px;
  515. margin-left: -25px;
  516. color: #888;
  517. background: transparent url(img/day-date.png) no-repeat left center;
  518. font-style: italic;
  519. }
  520. .post-title{
  521. color: #F90;
  522. background: transparent;
  523. margin-bottom: 0;
  524. }
  525. .post-title a{
  526. color: #F90;
  527. background: transparent;
  528. text-decoration: none;
  529. }
  530. .post-info{
  531. margin-top: 0;
  532. color: #FA0;
  533. background: transparent;
  534. padding-bottom: 1ex;
  535. /*border-bottom: 1px solid #FC0;*/
  536. }
  537. .post-info a{
  538. color: #FA0;
  539. background: transparent;
  540. text-decoration: none;
  541. }
  542. .post-content{
  543. text-align: justify;
  544. }
  545. blockquote {
  546. font-style: italic ;
  547. border: solid blue 1px ;
  548. padding: 0.5em ;
  549. margin: 1em ;
  550. }
  551. .post-content blockquote{
  552. font-family: Georgia, serif;
  553. font-style: italic;
  554. }
  555. .post-info-co{
  556. text-align: right;
  557. }
  558. #trackbacks blockquote, #comments blockquote{
  559. border: 1px solid #EEE;
  560. margin: 1em 0;
  561. padding: 1ex 1em;
  562. }
  563. /* La barre de navigation
  564. -------------------------------------------------------- */
  565. #sidebar div{
  566. border-bottom: 1px solid #F0F0F0;
  567. color: inherit;
  568. }
  569. #sidebar div ul{
  570. margin: 0;
  571. padding: 0;
  572. list-style: none;
  573. }
  574. #sidebar h2, #sidebar h3{
  575. color: #9ED200;
  576. margin: 0 0 1ex 0;
  577. }
  578. #sidebar h3{
  579. font-size: 1em;
  580. margin: 0;
  581. }
  582. #sidebar div#search{
  583. background: transparent;
  584. color: inherit;
  585. line-height: 2.3em;
  586. }
  587. #search fieldset, #search p{
  588. margin: 0;
  589. padding: 0;
  590. }
  591. #q{
  592. padding-left: 18px;
  593. background: #fff url(img/q.png) no-repeat 4px center;
  594. }
  595. #sidebar div#calendar{
  596. /*border-top: 1px solid #F0F0F0;*/
  597. }
  598. #sidebar div#calendar table{
  599. font-size: 0.8em;
  600. text-align: center;
  601. margin: 0 auto;
  602. border-collapse: collapse;
  603. }
  604. #sidebar div#calendar table caption{
  605. margin: 0 auto;
  606. }
  607. #sidebar div#calendar table th{
  608. color: #493;
  609. background: transparent;
  610. }
  611. #sidebar div#calendar table td{
  612. width: 14%;
  613. line-height: 2em;
  614. border: 1px solid #EEE;
  615. }
  616. #sidebar div#calendar table td a{
  617. display: block;
  618. background: #EFA;
  619. color: #493;
  620. font-weight: bold;
  621. text-decoration: none;
  622. }
  623. #sidebar div#calendar table td a:hover{
  624. background: #DBB8DC;
  625. color: #636;
  626. }
  627. /* Le pied de page
  628. -------------------------------------------------------- */
  629. #footer{
  630. margin: 0;
  631. padding: 1em;
  632. border-top: 1px solid #CCC;
  633. background: #EEE;
  634. color: #666;
  635. }
  636. #footer a
  637. {
  638. color: #999;
  639. }
  640. #cc
  641. {
  642. white-space:nowrap;
  643. text-decoration:none !important ;
  644. border: none;
  645. }
  646. #cc img
  647. {
  648. margin: 0 0.2em ;
  649. border: none ;
  650. }