mulanee

Untitled

Feb 19th, 2026
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. /**
  2. * Voici une feuille de style type, bien entendu vous pouvez ajouter
  3. * ou supprimer des propriétés CSS en fonction de vos besoins.
  4. */
  5.  
  6. /**
  7. * Éléments principaux
  8. */
  9.  
  10.  
  11. /*
  12. * Grille du site
  13. * Barres et page
  14. */
  15. #contentLeft {
  16. }
  17. #contentRight {
  18. }
  19. #contentSite {
  20. }
  21.  
  22. /* Bannière */
  23. header {
  24. }
  25.  
  26. /* Titre de la bannière */
  27. header span {
  28. }
  29.  
  30. /* Menu */
  31. nav {
  32. }
  33.  
  34. /* Items du menu */
  35. nav a {
  36. }
  37.  
  38. /* Items au survol du menu */
  39. nav a:hover {
  40. }
  41.  
  42. /* Item courant du menu */
  43. nav a.active {
  44. }
  45.  
  46. /* Menu latéral */
  47. /* aspect des puces */
  48. ul #menuSide {
  49. }
  50. /* Block menu à droite */
  51. #menuSideRight {
  52. }
  53. /* Block menu à gauche */
  54. #menuSideLeft {
  55. }
  56.  
  57.  
  58. /* Bas de page */
  59. footer {
  60. }
  61.  
  62. footer #footersite, #footerbody {
  63. }
  64.  
  65. /* Liens du bas de page */
  66. footer #footersite, #footerbody a {
  67. }
  68.  
  69. /* footer bloc gauche */
  70. footer #footersiteLeft, #footerbodyLeft {
  71. }
  72.  
  73. /* footer bloc central */
  74. footer #footersiteCenter, #footerbodyCenter {
  75. }
  76.  
  77. /* footer bloc droite */
  78. footer #footersiteRight, #footerbodyRight {
  79. }
  80.  
  81.  
  82.  
  83. /**
  84. * Éléments de contenu
  85. */
  86.  
  87. /* Titres */
  88. h1,
  89. h2,
  90. h3,
  91. h4 {
  92. }
  93.  
  94. /* Liens */
  95. a {
  96. }
  97.  
  98. /* Liens au survol */
  99. a:hover {
  100. }
  101.  
  102. /* Liens au clic */
  103. a:active {
  104. }
  105.  
  106. /* Boutons */
  107. .button,
  108. button[type='submit'],
  109. .pagination a {
  110. }
  111.  
  112. /* Boutons au survol */
  113. .button:hover,
  114. button[type='submit']:hover,
  115. .pagination a:hover {
  116. }
  117.  
  118. /* Boutons au clic */
  119. .button:active,
  120. button[type='submit']:active,
  121. .pagination a:active {
  122. }
  123.  
  124. /* Cases à cocher */
  125. input[type='checkbox']:checked + label:before {
  126. }
  127.  
  128. /* Cases à cocher au survol */
  129. input[type='checkbox']:not(:active):checked:hover + label:before,
  130. input[type='checkbox']:active + label:before {
  131. }
  132.  
  133. /* Champs de formulaire */
  134. input[type='text'],
  135. input[type='password'],
  136. .inputFile,
  137. select,
  138. textarea {
  139. }
  140.  
  141. /* Champs de formulaire au survol */
  142. input[type='text']:hover,
  143. input[type='password']:hover,
  144. .inputFile:hover,
  145. select:hover,
  146. textarea:hover {
  147. }
  148.  
  149. /* Modules News et Blog */
  150.  
  151. .blogDate {
  152. }
  153.  
  154. .blogPicture {
  155. }
  156.  
  157. .blogPicture img {
  158. }
  159.  
  160. .blogComment {
  161. }
  162.  
  163. .blogTitle {
  164. }
  165.  
  166. .blogContent {
  167. }
  168.  
  169. .newsTitle {
  170. /*background-color: grey;*/
  171. }
  172.  
  173. .newsContent {
  174. }
  175.  
  176. .newsSignature {
  177. color: #404040;
  178. }
  179.  
  180. /* Texte défilant source https://codepen.io/jreaux62/pen/EZYBeW*/
  181. /* Adapté pour Zwii par Sylvain Lelièvre */
  182.  
  183. /* Adapter votre css pour les lignes commentées uniquement*/
  184.  
  185. /* Réglages du bandeau */
  186. .messagedefilant {
  187. z-index: 1;
  188. overflow: hidden;
  189. position: fixed;
  190. bottom: 0; /* top : texte en haut, bottom : texte en bas */
  191. left: 0;
  192. width: 100%;
  193. height: 1.5rem; /* hauteur de la bannière */
  194. background-color : rgba(163,113,212,0.7); /* couleur et transparence de la bannière */
  195. }
  196.  
  197. .messagedefilant div {
  198. position: absolute;
  199. min-width: 100%;
  200. }
  201.  
  202. /* Réglages de l'aspect du texte */
  203. .messagedefilant_1, .messagedefilant_2 {
  204. display: inline-block;
  205. white-space: nowrap;
  206. margin-top: 0.2rem; /* décalage du texte par rapport au haut de la bannière*/
  207. font-size: 1rem; /* taille du texte */
  208. color: white; /* couleur du texte */
  209. font-family: cursive; /* police */
  210. font-weight : bold; /* graisse */
  211. font-style : normal; /* style normal, italic ou oblique*/
  212. }
  213.  
  214. /* Réglages de l'animation */
  215. .messagedefilant_1, .messagedefilant_2 {
  216. animation-duration : 10s; /* durée d'un défilement */
  217. animation-iteration-count : infinite; /* nombre de défilements ou infinite */
  218. animation-timing-function: linear; /* déroulement de l'animation à chaque cycle */
  219. animation-direction: normal; /* direction de l'animation normal, reverse ou alternate */
  220. }
  221.  
  222. .messagedefilant_1 {
  223. position: relative;
  224. animation-name: defilement;
  225. }
  226.  
  227. .messagedefilant_2 {
  228. position: absolute;
  229. top: 0; left: 0;
  230. animation-name: defilement2;
  231. }
  232.  
  233. @keyframes defilement2 {
  234. 0% { margin-left: 100%; }
  235. 100% { margin-left: 0%; }
  236. }
  237.  
  238. @keyframes defilement {
  239. 0% { margin-left: 0%; }
  240. 100% { margin-left: -100%; }
  241. }
  242.  
  243. /* Fin du texte défilant */
  244.  
  245. /* ********** Bannière défilante ********** */
  246.  
  247. /* Les valeurs à régler ont un commentaire, les 3 premiers sont obligatoires si votre bannière ne comporte pas 5 images */
  248.  
  249. @keyframes slidy {
  250. 0% { margin-left: 0%; }
  251. 100% { margin-left: -400%; } /* -100% x (nombre d'images - 1) soit -400% pour 5 images */
  252. }
  253.  
  254. .bannieredefilante {
  255. border:0px solid;
  256. overflow: hidden;
  257. font-size: 0px;
  258. }
  259.  
  260. .bannieredefilante figure img {
  261. width: 20%; /* 100% / nombre d'images soit 20% pour 5 images*/
  262. float: left;
  263. }
  264.  
  265. .bannieredefilante figure {
  266. display:block;
  267. position: relative;
  268. width: 500%; /* 100% x nombre d'images soit 500% pour 5 images*/
  269. animation-name: slidy;
  270. animation-duration : 40s; /* durée d'un défilement */
  271. animation-iteration-count : infinite; /* nombre de défilements ou infinite */
  272. animation-timing-function: linear; /* déroulement de l'animation à chaque cycle */
  273. animation-direction: normal; /* direction de l'animation normal, reverse ou alternate */
  274. }
  275.  
  276. /* ********** Fin de la bannière défilante ********** */
  277.  
  278.  
  279. .shadowbox {
  280. width: 13em;
  281. border: 1px solid #333;
  282. box-shadow: 8px 8px 5px #444;
  283. padding: 8px 12px;
  284. background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
  285. }
  286.  
Advertisement
Add Comment
Please, Sign In to add comment