spip.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /* --------------------------------------------------------------
  2. Styles associes au code genere par SPIP
  3. -------------------------------------------------------------- */
  4. /* Listes SPIP */
  5. ul.spip,
  6. ol.spip { margin-left: 50px; }
  7. @media (max-width: 640px) {
  8. ul.spip,
  9. ol.spip { margin-left: 1.5em; }
  10. }
  11. ul.spip { list-style-type: square; }
  12. li ul.spip { list-style-type: disc; }
  13. li li ul.spip { list-style-type: circle; }
  14. ol.spip { list-style-type: decimal; }
  15. dl.spip dt,
  16. dl.spip dd { padding-left: 50px; }
  17. dl.spip dt { clear: both; }
  18. dl.spip dd {}
  19. /* Tableaux SPIP */
  20. table.spip { width: 100%; }
  21. table.spip caption {}
  22. table.spip tr.row_first th {}
  23. table.spip tr.odd td {}
  24. table.spip tr.even td {}
  25. /* Citations, code et poesie */
  26. blockquote.spip { min-height: 40px; background: url(img/quote.png) no-repeat; font-family: Georgia, Cambria}
  27. .spip_poesie { border-left: 1px solid; }
  28. .spip_poesie div { margin-left: 50px; text-indent: -50px; }
  29. .spip_code,
  30. .spip_cadre { font-family: 'Courier New', Courier, monospace; font-size: 1em; }
  31. /* Enluminures typo V3 / Cf.: http://contrib.spip.net/3118 */
  32. sc, .sc { font-variant: small-caps; }
  33. .caractencadre-spip { background-color: #FFFFCC; color: purple; }
  34. .caractencadre2-spip { background-color: #FFFFCC; color: orange; }
  35. .texteencadre-spip { display: block; margin: 1.5em 50px; padding: 1.5em; background: #EEE; }
  36. /* Logos, documents et images */
  37. .spip_logos { float: left; margin: 0 10px 10px 0; padding: 0; border: none; }
  38. .spip_documents { margin-bottom: 1.5em; padding: 0; background: none; }
  39. .spip_documents,
  40. .spip_documents_center,
  41. .spip_doc_titre,
  42. .spip_doc_descriptif { margin-right: auto; margin-left: auto; text-align: center; }
  43. .spip_documents_center { clear: both; display: block; width: 100%; }
  44. .spip_documents_left { float: left; margin-right: 1.5em; }
  45. .spip_documents_right { float: right; margin-left: 1.5em; }
  46. .spip_doc_titre {}
  47. .spip_doc_descriptif { clear: both; }
  48. /* Modeles par defaut */
  49. .spip_modele { float: right; display: block; width: 25%; margin: 0 0 1.5em 1.5em; padding: 1.5em; background-color: #EEE; }
  50. /* Formulaires */
  51. .formulaire_spip {}
  52. .formulaire_spip li { clear: both; margin-bottom: 0.75em; }
  53. .formulaire_spip .boutons { clear: both; margin: 0; padding: 0; text-align: right; }
  54. .formulaire_spip .boutons input,
  55. .formulaire_spip .boutons button {}
  56. @media print {
  57. .formulaire_spip { display: none; }
  58. }
  59. /* Barre typo */
  60. .markItUp .markItUpHeader ul .markItUpSeparator { display: none; }
  61. /* Previsu */
  62. .previsu { margin-bottom: 1.5em; padding: 0.75em; border: 2px dashed #F57900; }
  63. fieldset.previsu legend { color: #F57900; }
  64. /* Reponses */
  65. .reponse_formulaire { margin-bottom: 1.5em; padding: 0.75em; border: 2px solid #ddd; }
  66. .reponse_formulaire_ok { background: #e6efc2; color: #264409; border-color: #c6d880; }
  67. .reponse_formulaire_erreur { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
  68. .reponse_formulaire_ok a { color: #264409; }
  69. .reponse_formulaire_erreur a { color: #8a1f11; }
  70. .erreur_message { color: red; }
  71. li.erreur input[type="text"], li.erreur input.text,
  72. li.erreur input[type="password"], li.erreur input.password,
  73. li.erreur textarea { background-color: #fbe3e4; border-color: #fbc2c4; }
  74. .spip_surligne { background-color: yellow; }
  75. /* Formulaire de recherche */
  76. .formulaire_recherche * { display: inline; }
  77. /* Paragraphes */
  78. div.spip, ul.spip, ol.spip, .spip_poesie, .spip_cadre, div.spip_code, .spip_documents.spip_documents_center { margin-bottom: 1.5em; }
  79. /* Pagination */
  80. .pagination { clear: both; text-align: center; }
  81. @media print {
  82. .pagination { display: none; }
  83. }
  84. /* Liens de SPIP */
  85. a.spip_note { font-weight: bold; } /* liens vers notes de bas de page */
  86. a.spip_in {} /* liens internes */
  87. a.spip_mail {}
  88. a.spip_out {} /* liens sortants */
  89. a.spip_url {} /* liens url sortants */
  90. a.spip_glossaire {} /* liens vers encyclopedie */
  91. @media print {
  92. a.spip_out:after,
  93. a.spip_url:after { content: " (" attr(href) ")"; }
  94. }
  95. /* Boutons d'admin */
  96. .ie6 .spip-admin,
  97. .ie6 #spip-admin { display: none; }
  98. @media print {
  99. .spip-admin,
  100. #spip-admin { display: none; }
  101. }
  102. /* end */