Se connecter avec
S'enregistrer | Connectez-vous

Modifier les couleurs d'un forum

Dernière réponse : dans Programmation
Lassé par la pub ? Créez un compte

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

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



  1. /* General page style. The scroll bar colours only visible in IE5.5+ */
  2.  
  3.  
  4.  
  5. body {
  6. background-color: #DFE7E2;
  7.  
  8. scrollbar-face-color: #Dee3e7;
  9.  
  10. scrollbar-highlight-color: #FFFFFF;
  11.  
  12. scrollbar-shadow-color: #DEE3E7;
  13.  
  14. scrollbar-3dlight-color: #D1D7DC;
  15.  
  16. scrollbar-arrow-color: #83A38E;
  17.  
  18. scrollbar-track-color: #f1f5f1;
  19.  
  20. scrollbar-darkshadow-color: #98AAB1;
  21. }
  22.  
  23. /* General font families for common tags */
  24.  
  25.  
  26. font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
  27.  
  28. a:link,a:active,a:visited { color : #006699; }
  29.  
  30. a:hover { text-decoration: underline; color : #5C9E65; }
  31.  
  32. hr { height: 0px; border: solid #004080 0px; border-top-width: 1px;}
  33.  
  34. /* This is the border line & background colour round the entire page */
  35.  
  36. .bodyline { background-color: #FFFFFF; border: 1px #5C9E65 solid; }
  37. .upline
  38. { background-color: #FFFFFF; border: 0px;
  39.  
  40. background-image: url(images/bgpic1.jpg);
  41. }
  42.  
  43. /* This is the outline round the main forum tables */
  44.  
  45. .forumline { background-color: #FFFFFF; border: 2px #F1F5F1 solid; }
  46.  
  47. .playline { background-color: #FFFFFF; border: 1px #F1F5F1 solid; }
  48.  
  49. /* Main table cell colours and backgrounds */
  50.  
  51.  
  52. td.row1 { background-color: #ECF0EC; }
  53.  
  54. td.row2 { background-color: #F1F5F1; }
  55.  
  56. td.row3 { background-color: #ECF0EC; }
  57. /*
  58. This is for the table cell above the Topics, Post & Last posts on the index.php page
  59.  
  60. By default this is the fading out gradiated silver background.
  61.  
  62. However, you could replace this with a bitmap specific for each forum
  63.  
  64. */
  65.  
  66. td.rowpic {
  67. background-color: #FFFFFF;
  68. }
  69.  
  70.  
  71.  
  72. /* Header cells - the blue and silver gradient backgrounds */
  73.  
  74. th {
  75.  
  76. color: #006690; font-size: 11px; font-weight : bold;
  77.  
  78. background-color: #F1F5F1; height: 19px;
  79. }
  80.  
  81.  
  82.  
  83. td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
  84.  
  85. background-image: url(images/cellpic5.jpg);
  86.  
  87. background-color:#D4DED8; border: #FFFFFF; border-style: solid; height: 20px;
  88. }
  89. /*
  90.  
  91. Setting additional nice inner borders for the main table cells.
  92.  
  93. The names indicate which sides the border will be on.
  94.  
  95. Don't worry if you don't understand this, just ignore it :-)
  96.  
  97.  
  98. */
  99.  
  100. td.cat,td.catHead,td.catBottom {
  101.  
  102. height: 20px;
  103.  
  104. border-width: 0px 0px 0px 0px;
  105. }
  106.  
  107.  
  108. th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
  109.  
  110. font-weight: bold;
  111. border: #FFFFFF;
  112. border-style: solid; height: 20px; }
  113.  
  114.  
  115. td.row3Right,td.spaceRow {
  116.  
  117.  
  118. background-color: #F1F5F1;
  119. border: #FFFFFF;
  120. border-style: solid; }
  121.  
  122.  
  123.  
  124. th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
  125.  
  126. th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; }
  127.  
  128. th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; }
  129.  
  130. th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; }
  131.  
  132. th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; }
  133.  
  134. th.thTop { border-width: 1px 0px 0px 0px; }
  135. th.thCornerL { border-width: 1px 0px 0px 1px; }
  136.  
  137. th.thCornerR { border-width: 1px 1px 0px 0px; }
  138.  
  139.  
  140. /* The largest text used in the index page title and toptic title etc.
  141.  
  142. */
  143. .maintitle,h1,h2 {
  144.  
  145. font-weight: bold; font-size: 14px; font-family: Verdana, Arial, Helvetica, sans-serif;
  146.  
  147. text-decoration: none; line-height : 120%; color : #000000;
  148. }
  149.  
  150.  
  151. /* General text */
  152. .gen
  153. { font-size : 12px; }
  154. .genmed { font-size : 11px; }
  155. .gensmall
  156. { font-size : 10px; }
  157. .gen,.genmed,.gensmall
  158. { color : #000000; }
  159. a.gen,a.genmed,a.gensmall
  160. { color: #88A28B; text-decoration: none; }
  161. a.gen:hover,a.genmed:hover,a.gensmall:hover
  162. { color: #83A38E; text-decoration: underline; }
  163.  
  164.  
  165. /* The register, login, search etc links at the top of the page
  166.  
  167.  
  168. */
  169. .mainmenu
  170.  
  171. { font-size : 11px; color : #000000 }
  172. a.mainmenu
  173. { text-decoration: none; color : #A1C7A4; }
  174. a.mainmenu:hover
  175. { text-decoration: underline; color : #99C1A7; }
  176.  
  177.  
  178. /* Forum category titles */
  179. .cattitle
  180. { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #639374}
  181. a.cattitle
  182. { text-decoration: none; color : #91B79F; }
  183. a.cattitle:hover { text-decoration: underline; }
  184.  
  185. /* Forum title: Text and link to the forums used in: index.php
  186.  
  187.  
  188. */
  189. .forumlink
  190.  
  191. { font-weight: bold; font-size: 12px; color : #87B197; }
  192. a.forumlink
  193. { text-decoration: none; color : #87B197; }
  194. a.forumlink:hover
  195. { text-decoration: underline; color : #91B79F; }
  196.  
  197.  
  198. /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum
  199.  
  200. */
  201. .nav
  202.  
  203. { font-weight: bold; font-size: 11px; color : #000000;}
  204. a.nav
  205. { text-decoration: none; color : #99C1A7; }
  206. a.nav:hover
  207. { text-decoration: underline; }
  208.  
  209.  
  210. /* titles for the topics: could specify viewed link colour too
  211.  
  212. */
  213. .topictitle
  214. { font-weight: bold; font-size: 11px; color : #000000; }
  215. a.topictitle:link
  216. { text-decoration: none; color : #94C2A4; }
  217. a.topictitle:visited
  218. { text-decoration: none; color : #83B595; }
  219. a.topictitle:hover
  220. { text-decoration: underline; color : #AE0000; }
  221.  
  222.  
  223. /* Name of poster in viewmsg.php and viewtopic.php and other places
  224.  
  225.  
  226. */
  227. .name
  228.  
  229. { font-size : 11px; color : #000000;}
  230.  
  231.  
  232.  
  233. /* Location, number of posts, post date etc */
  234. .postdetails
  235.  
  236. { font-size : 10px; color : #000000; }
  237.  
  238.  
  239. /* The content of the posts (body of text)
  240.  
  241. */
  242. .postbody { font-size : 12px;}
  243. a.postlink:link
  244. { text-decoration: none; color : #8CA890 }
  245. a.postlink:visited
  246. { text-decoration: none; color : #90B896; }
  247. a.postlink:hover
  248. { text-decoration: underline; color : #A3C1A7 }
  249.  
  250.  
  251. /* Quote & Code blocks
  252.  
  253.  
  254. */
  255. .code {
  256. font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #C8DDCB;
  257.  
  258. background-color: #FFFFFF; border: #C8DDCB; border-style: solid;
  259.  
  260. border-left-width: 1px;
  261. border-top-width: 1px; border-right-width: 1px;
  262. border-bottom-width: 1px
  263. }
  264.  
  265. .quote {
  266.  
  267.  
  268. font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
  269.  
  270. background-color: #FFFFFF; border: #C8DDCB; border-style: solid;
  271.  
  272. border-left-width: 1px; border-top-width: 1px; border-right-width: 1px;
  273. border-bottom-width: 1px
  274. }
  275.  
  276.  
  277. /* Copyright and bottom info */
  278. .copyright
  279.  
  280. { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
  281. a.copyright
  282. { color: #444444; text-decoration: none;}
  283.  
  284. a.copyright:hover { color: #000000; text-decoration: underline;}
  285.  
  286. /* Form elements */
  287. input,textarea, select
  288.  
  289. {
  290. font: normal 11px Verdana, Arial, Helvetica, sans-serif;
  291.  
  292. border-color: #000000;
  293. border-width: 1px;
  294.  
  295. background-color : #FFFFFF;
  296. }
  297.  
  298. /* The text input fields background colour
  299.  
  300. */
  301. input.post, textarea.post, select
  302. {
  303. background-color : #FFFFFF;
  304.  
  305. border-width: 1px;
  306.  
  307. border-color : #000000;
  308. }
  309.  
  310. input
  311. { text-indent : 2px;
  312. background-color : #F1F5F1;
  313. }
  314.  
  315. /* The buttons used for bbCode styling in message post */
  316. input.button
  317. {
  318. background-color : #F1F5F1;
  319.  
  320. border-color: #F1F5F1;
  321. border-width: 0px;
  322.  
  323. font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
  324. }
  325.  
  326. /* The main submit button option
  327.  
  328.  
  329. */
  330. input.mainoption
  331. {
  332. background-color : #F1F5F1;
  333.  
  334. border-color: #000000;
  335. border-width: 1px;
  336.  
  337. font-weight : bold;
  338. }
  339.  
  340. /* None-bold submit button */
  341. input.liteoption {
  342.  
  343. background-color : #FFFFFF;
  344. border-color: #000000;
  345. border-width: 1px;
  346.  
  347. font-weight : normal;
  348. }
  349.  
  350. /* This is the line in the posting page which shows the rollover
  351. help line.
  352. This is actually a text box, but if set to be the same
  353. colour as the background no one will know ;)
  354. */
  355. .helpline
  356. { background-color: #BBD6BE; border-style: none; }
  357.  
  358. /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
  359. @import url("formIE.css");



Merci!
Lassé par la pub ? Créez un compte
Tom's guide dans le monde