Tom's Guide > Forum > Programmation > Modifier les couleurs d'un forum

Modifier les couleurs d'un forum

Forum Programmation : Modifier les couleurs d'un forum

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

Salut à tous,

Alors voilà je souhaiterais modifier les couleurs de mon forum, j'utilise un phpbb, et le fichier dans lequel je dois modifier les codes couleurs est un .css, le problème est que je n'y compreds quasiment rien! Tout est entassé, aucun saut de ligne, tout en anglais.
Quelqu'un pourrait il m'aider? Un tuto ou autres...

Merci!

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

Ben il te faut apprendre le CSS, pour le CSS j'utilise le siteduzero pour comprendre un peu, sinon pour avoir des signification precise il y a allhtml.com

Répondre à SiM07

Le site du zero m'a tout l'air out of date ou en refrabication..

Répondre à Pedromanel

comment changer la couleur d'un forum phpbb?
hum je ne suis pas sur de comprendre... tu veux dire que c'est toi meme qui a codé le forum ou tu te le fais directement hebergé?

si tu te le fais directement hebergé, il suffit d'aller l'administration
si tu la codé toi meme (gg ^^) et que c'est bel et bien un forum phpbb, je ne pense pas que l'utilisation d'un fichier css doit etre requise....

mais attends la reouverture du site du zero si tu veux vérifier

Répondre à Scratch-Return

C'est un forum que j'héberge, mais il y a un fichier .css où il est possible de modifier les couleurs du forum... Dans l'admin il est impossible de modifier les couleurs d'un thème rajouté.

J'aimerais juste savoir à quoi correspond les différentes parties de cette feuille css
La voici, quelqu'un de très sympathique pourrait il me le dire?
Enfin que les choses essentielles bien sûr, les titres surtout



Code :
  1. /* General page style. The scroll bar colours only visible in IE5.5+ */
  2. body {
  3.     background-color: #DFE7E2;
  4.     scrollbar-face-color: #Dee3e7;
  5.     scrollbar-highlight-color: #FFFFFF;
  6.     scrollbar-shadow-color: #DEE3E7;
  7.     scrollbar-3dlight-color: #D1D7DC;
  8.     scrollbar-arrow-color:  #83A38E;
  9.     scrollbar-track-color: #f1f5f1;
  10.     scrollbar-darkshadow-color: #98AAB1;
  11. }
  12. /* General font families for common tags */
  13. font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
  14. a:link,a:active,a:visited { color : #006699; }
  15. a:hover        { text-decoration: underline; color : #5C9E65; }
  16. hr    { height: 0px; border: solid #004080 0px; border-top-width: 1px;}
  17. /* This is the border line & background colour round the entire page */
  18. .bodyline    { background-color: #FFFFFF; border: 1px #5C9E65 solid; }
  19. .upline
  20. { background-color: #FFFFFF; border: 0px;
  21. background-image: url(images/bgpic1.jpg);
  22.         }
  23. /* This is the outline round the main forum tables */
  24. .forumline    { background-color: #FFFFFF; border: 2px #F1F5F1 solid; }
  25. .playline    { background-color: #FFFFFF; border: 1px #F1F5F1 solid; }
  26. /* Main table cell colours and backgrounds */
  27. td.row1    { background-color: #ECF0EC; }
  28. td.row2    { background-color: #F1F5F1; }
  29. td.row3    { background-color: #ECF0EC; }
  30. /*
  31.   This is for the table cell above the Topics, Post & Last posts on the index.php page
  32.   By default this is the fading out gradiated silver background.
  33. However, you could replace this with a bitmap specific for each forum
  34. */
  35. td.rowpic {
  36.         background-color: #FFFFFF;
  37. }
  38. /* Header cells - the blue and silver gradient backgrounds */
  39. th    {
  40.     color: #006690; font-size: 11px; font-weight : bold;
  41.     background-color: #F1F5F1; height: 19px;
  42. }
  43. td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
  44.     background-image: url(images/cellpic5.jpg);
  45.     background-color:#D4DED8; border: #FFFFFF; border-style: solid; height: 20px;
  46. }
  47. /*
  48.  
  49.     Setting additional nice inner borders for the main table cells.
  50.  
  51.     The names indicate which sides the border will be on.
  52.  
  53.     Don't worry if you don't understand this, just ignore it :-)
  54. */
  55.     td.cat,td.catHead,td.catBottom {
  56.     height: 20px;
  57.     border-width: 0px 0px 0px 0px;
  58. }
  59.     th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
  60.     font-weight: bold;
  61.     border: #FFFFFF;
  62.     border-style: solid; height: 20px; }
  63. td.row3Right,td.spaceRow {
  64.     background-color: #F1F5F1;
  65.     border: #FFFFFF;
  66.     border-style: solid; }
  67. th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
  68. th.thSides,td.catSides,td.spaceRow     { border-width: 0px 1px 0px 1px; }
  69. th.thRight,td.catRight,td.row3Right     { border-width: 0px 1px 0px 0px; }
  70. th.thLeft,td.catLeft      { border-width: 0px 0px 0px 1px; }
  71. th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
  72. th.thTop     { border-width: 1px 0px 0px 0px; }
  73. th.thCornerL { border-width: 1px 0px 0px 1px; }
  74. th.thCornerR { border-width: 1px 1px 0px 0px; }
  75. /* The largest text used in the index page title and toptic title etc.
  76. */
  77. .maintitle,h1,h2    {
  78. font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif;
  79. text-decoration: none; line-height : 120%; color : #000000;
  80. }
  81. /* General text */
  82. .gen
  83. { font-size : 12px; }
  84. .genmed { font-size : 11px; }
  85. .gensmall
  86. { font-size : 10px; }
  87. .gen,.genmed,.gensmall
  88. { color : #000000; }
  89. a.gen,a.genmed,a.gensmall
  90. { color: #88A28B; text-decoration: none; }
  91. a.gen:hover,a.genmed:hover,a.gensmall:hover
  92. { color: #83A38E; text-decoration: underline; }
  93. /* The register, login, search etc links at the top of the page
  94. */
  95. .mainmenu
  96. { font-size : 11px; color : #000000 }
  97. a.mainmenu
  98. { text-decoration: none; color : #A1C7A4; }
  99. a.mainmenu:hover 
  100. { text-decoration: underline; color : #99C1A7; }
  101. /* Forum category titles */
  102. .cattitle
  103. { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #639374}
  104. a.cattitle
  105. { text-decoration: none; color : #91B79F; }
  106. a.cattitle:hover  { text-decoration: underline; }
  107. /* Forum title: Text and link to the forums used in: index.php
  108. */
  109. .forumlink
  110. { font-weight: bold; font-size: 12px; color : #87B197; }
  111. a.forumlink
  112. { text-decoration: none; color : #87B197; }
  113. a.forumlink:hover
  114. { text-decoration: underline; color : #91B79F; }
  115. /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum
  116. */
  117. .nav
  118. { font-weight: bold; font-size: 11px; color : #000000;}
  119. a.nav
  120. { text-decoration: none; color : #99C1A7; }
  121. a.nav:hover
  122. { text-decoration: underline; }
  123. /* titles for the topics: could specify viewed link colour too
  124. */
  125. .topictitle
  126. { font-weight: bold; font-size: 11px; color : #000000; }
  127. a.topictitle:link 
  128. { text-decoration: none; color : #94C2A4; }
  129. a.topictitle:visited
  130. { text-decoration: none; color : #83B595; }
  131. a.topictitle:hover
  132. { text-decoration: underline; color : #AE0000; }
  133. /* Name of poster in viewmsg.php and viewtopic.php and other places
  134. */
  135. .name
  136. { font-size : 11px; color : #000000;}
  137. /* Location, number of posts, post date etc */
  138. .postdetails
  139. { font-size : 10px; color : #000000; }
  140. /* The content of the posts (body of text)
  141. */
  142. .postbody { font-size : 12px;}
  143. a.postlink:link
  144. { text-decoration: none; color : #8CA890 }
  145. a.postlink:visited
  146. { text-decoration: none; color : #90B896; }
  147. a.postlink:hover
  148. { text-decoration: underline; color : #A3C1A7 }
  149. /* Quote & Code blocks
  150. */
  151. .code {
  152.     font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #C8DDCB;
  153. background-color: #FFFFFF; border: #C8DDCB; border-style: solid;
  154. border-left-width: 1px;
  155. border-top-width: 1px; border-right-width: 1px;
  156. border-bottom-width: 1px
  157. }
  158. .quote {
  159. font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
  160. background-color: #FFFFFF; border: #C8DDCB; border-style: solid;
  161. border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;
  162. border-bottom-width: 1px
  163. }
  164. /* Copyright and bottom info */
  165. .copyright
  166. { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
  167. a.copyright
  168. { color: #444444; text-decoration: none;}
  169. a.copyright:hover { color: #000000; text-decoration: underline;}
  170. /* Form elements */
  171. input,textarea, select
  172. {
  173.     font: normal 11px Verdana, Arial, Helvetica, sans-serif;
  174. border-color: #000000;
  175.     border-width: 1px;
  176. background-color : #FFFFFF;
  177. }
  178. /* The text input fields background colour
  179. */
  180. input.post, textarea.post, select
  181. {
  182.     background-color : #FFFFFF;
  183. border-width: 1px;
  184. border-color : #000000;
  185. }
  186. input
  187. { text-indent : 2px;
  188.     background-color : #F1F5F1;
  189.     }
  190. /* The buttons used for bbCode styling in message post */
  191. input.button
  192. {
  193.     background-color : #F1F5F1;
  194. border-color: #F1F5F1;
  195.     border-width: 0px;
  196. font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
  197. }
  198. /* The main submit button option
  199. */
  200. input.mainoption
  201. {
  202.     background-color : #F1F5F1;
  203. border-color: #000000;
  204.     border-width: 1px;
  205. font-weight : bold;
  206. }
  207. /* None-bold submit button */
  208. input.liteoption {
  209. background-color : #FFFFFF;
  210.     border-color: #000000;
  211.     border-width: 1px;
  212. font-weight : normal;
  213. }
  214. /* This is the line in the posting page which shows the rollover
  215.   help line.
  216. This is actually a text box, but if set to be the same
  217.   colour as the background no one will know ;)
  218. */
  219. .helpline
  220. { background-color: #BBD6BE; border-style: none; }
  221. /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
  222. @import url("formIE.css" );




Merci!

Répondre à Pedromanel
Tom's Guide > Forum > Programmation > Modifier les couleurs d'un forum
Aller à :

Il y a 1753 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens