CSS ne marche pas?

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu CSS ne marche pas?

Message par PufferMic Dim 23 Oct 2011 - 3:50

Bonjour,
Sa fait environ une heure que je fais mon possible pour faire entrer ce CSS (par contre je ne suis pas capable, l'apparence de mon forum reste le même...) :

Code:
/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
   Style name:      subsilver2
   Based on style:   subSilver (the default phpBB 2 style)
   Original author:   subBlue ( http://www.subBlue.com/ )
   Modified by:      psoTFX and the phpBB team ( http://www.phpbb.com )
   
   This is an alternative style for phpBB3 for those wishing to stay with
   the familiar subSilver style of phpBB version 2.x
   
   Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
   /* Reset browsers default margin, padding and font sizes */
   margin: 0;
   padding: 0;
}

html {
   font-size: 100%;
}

body {
   /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 10px;
   color: #333333;
   background-color: #FFFFFF;
   background-image: url('./images/bgforum.jpg');
   background-position: center;
   background-repeat:repeat-y;
   width: 860px;
   margin-left: auto;
   margin-right: auto;
}

#wrapheader {
   min-height: 120px;
   height: auto !important;
   height: 120px;
/*   background-image: url('./images/background.gif');
   background-repeat: repeat-x;*/
/*   padding: 0 25px 15px 25px;*/
   padding: 0;
}

#wrapcentre {
   margin: 0px 25px 0 25px;
}

#wrapfooter {
   text-align: center;
   clear: both;
}

#wrapnav {
   width: 100%;
   margin: 0;
   background-color: #ECECEC;
   border-width: 1px;
   border-style: solid;
   border-color: #FFFFFF;
}

#logodesc {
   height: 110px;
   width: 808px;
   background-image: url("./images/random/random.php");
   margin-left: auto;
   margin-right: auto;
}

#menubar {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 8px;
   text-transform: uppercase;
   line-height: 2.6em;
   background-color: #4C4C4C;
   margin: 0 26px 0 26px;
}

#menubar a:link{
   color: #CCFF00;
   text-decoration: none;
   padding-bottom: 2px;
}

#menubar a:visited {
   color: #CCFF00;
   text-decoration: none;
}

#menubar a:hover {
   color: #FFFF00;
   border-bottom-width: 2px;
   border-bottom-style: solid;
   border-bottom-color: #FFFF00;
}

#datebar {
   margin: 0px 25px 0 25px;
}

#findbar {
   margin: 10px 25px 0 25px;
}

.forumrules {
   background-color: #F9CC79;
   border-width: 1px;
   border-style: solid;
   border-color: #BB9860;
   padding: 4px;
   font-weight: normal;
   font-size: 1.1em;
   font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
   color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
   color: black;
   font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
   font-weight: bold;
   font-size: 1.8em;
   text-decoration: none;
}

h2 {
   font-family: Arial, Helvetica, sans-serif;
   font-weight: bold;
   font-size: 1.5em;
   text-decoration: none;
   line-height: 120%;
}

h3 {
   font-size: 1.3em;
   font-weight: bold;
   font-family: Arial, Helvetica, sans-serif;
   line-height: 120%;
}

h4 {
   margin: 0;
   font-size: 1.1em;
   font-weight: bold;
}

p {
   font-size: 1.1em;
}

p.moderators {
   font-family: "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
   font-weight: bold;
   font-size: 11px;
   text-decoration: none;
        padding-left: 5px;
        color: #757978;
}

.rtl p.moderators {
   float: right;
}

p.linkmcp {
   margin: 0;
   float: left;
   white-space: nowrap;
}

.rtl p.linkmcp {
   float: left;
}

p.extra {
   color: #333333;
   font-weight: bold;
   white-space: normal;
   font-size: 1em;
}

p.breadcrumbs {
   margin: 0;
   float: left;
   color: #990000;
   font-weight: bold;
   white-space: normal;
   font-size: 1em;
}

.rtl p.breadcrumbs {
   float: right;
}

p.index {
   margin: 0;
   float: left;
   color: #333333;
   font-weight: bold;
   white-space: normal;
   font-size: 1em;
}

.rtl p.index {
   float: right;
}

p.indexalt {
   margin: 0;
   float: left;
   color: #FFFFFF;
   font-weight: bold;
   white-space: normal;
   font-size: 1em;
}

.rtl p.indexalt {
   float: right;
}

p.datetime {
   margin: 0;
   float: right;
   white-space: nowrap;
   font-size: 1em;
}

.rtl p.datetime {
   float: left;
}

p.indexalt {
   margin: 0;
   float: right;
   white-space: nowrap;
   font-size: 1em;
        color: #990000;
}

.rtl p.{
   float: left;
}

p.searchbar {
   padding: 2px 0;
   white-space: nowrap;
}

p.searchbarreg {
   margin: 0;
   float: right;
   white-space: nowrap;
}

.rtl p.searchbarreg {
   float: left;
}

p.forumdesc {
   padding-bottom: 4px;
   font-size : 10px
}

p.topicauthor {
   margin: 1px 0;
}

p.topicdetails {
   margin: 1px 0;
   font-size : 10px;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
   margin: 1px 0;
   color: red;
   font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
   color: green;
   font-weight:bold;
}

.postapprove img, .postreported img {
   vertical-align: bottom;
}

.postauthor {
   color: #000000;
}

.postdetails {
   color: #000000;
}

.postbody {
   font-size: 1.3em;
   line-height: 1.4em;
   font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
   margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
   margin: 0 1.5em 0 0;
}

.posthilit {
   background-color: yellow;
}

.nav {
   margin: auto;
   color: black;
   font-weight: bold;
}

.pagination {
   padding: 4px;
   color: black;
   font-size: 1em;
   font-weight: bold;
}

.cattitle {

}

.gen {
   margin: 1px 1px;
   font-size: 1.2em;
}

.genmed {
   margin: 1px 1px;
   font-size : 10px
}

.gensmall {
   margin: 1px 1px;
   font-size: 10px;
}

.copyright {
   color: #444;
   font-weight: normal;
   font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
   font-weight: bold;
   font-size: 13px;
   text-decoration: none;
        padding-left: 5px;
        color: #757978;
}

.error {
   color: red;
}


/* Tables
 ------------ */
th {
   color: #757978;
        text-transform: uppercase;
   font-size: 10px;
   font-weight: bold;
   background-color: #E1E1E1;
   background-image: url('./images/cellpic3.gif');
   white-space: nowrap;
   padding: 7px 5px;
   height: 25px;
}

td {
   padding: 2px;
}
td.profile {
   padding: 4px;
}

.tablebg {
   background-color: #FFFFFF;
   border: 1px solid #CCCCCC;
}

.catdiv {
   height: 28px;
   margin: 0;
   padding: 0;
   border: 0;
   background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
}
.rtl .catdiv {
   background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
}

.cat {
   height: 28px;
   text-transform: uppercase;
   margin: 0;
   padding: 0;
   border: 0;
   background-color: #C7D0D7;
   background-image: url('./images/cellpic1.gif');
   text-indent: 4px;
}

.row1 {
   background-color: #EFEFEF;
   padding: 4px;
}

.row2 {
   background-color: #EFEFEF;
   padding: 4px;
}

.row3 {
   background-color: #EFEFEF;
   padding: 4px;
}

.extra {
   background-color: #EFEFEF;
}

.extra a:link, .extra a:visited {
   color: #990000;
   text-decoration: none;
}

.extra a:hover {
   color: #990000;
   text-decoration: underline;
}

.breadcrumbs {
   background-color: #EFEFEF;
}

.breadcrumbs a:link, .breadcrumbs a:visited {
   color: #990000;
   text-decoration: none;
}

.breadcrumbs a:hover {
   color: #990000;
   text-decoration: underline;
}

.index {
   background-color: #FFFFFF;
}

.index a:link, .index a:visited {
   color: #990000;
   text-decoration: none;
}

.index a:hover {
   color: #990000;
   text-decoration: underline;
}

.indexalt {
   background-color: #FFFFFF;
}

.indexalt a:link, .index a:visited {
   color: #990000;
   text-decoration: none;
}

.indexalt a:hover {
   color: #990000;
   text-decoration: underline;
}

.foldersline {
        width: 550px;
   background-color: #EFEFEF;
   border: 1px #cccccc solid;
}

.spacer {
   background-color: #EFEFEF;
}

hr {
   height: 1px;
   border-width: 0;
   background-color: #D1D7DC;
   color: #D1D7DC;
}

.legend {
   text-align:center;
   margin: 0 auto;
   background-color: #EFEFEF;
   border: 1px #cccccc solid;
}

/* Links
 ------------ */
a:link {
   color: #757978;
   text-decoration: none;
}

a:active,
a:visited {
   color: #757978;
   text-decoration: none;
}

a:hover {
   color: #DD6900;
   text-decoration: underline;
}

a.forumlink {
   color: #FF6600;
   font-weight: bold;
   font-size: 10px;
}

a.forumlink:hover {
   color: #FF6600;
   font-weight: bold;
   font-size: 10px;
   text-decoration:underline
}

a.topictitle {
   margin: 1px 0;
   font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
   font-weight: bold;
   font-size: 1.2em;
   color: #FF6600;
   text-decoration: none;
}

a.topictitle:visited {
   color: #FF9966;
   text-decoration: none;
}

a.topictitle:hover {
   color: #FF6600;
   text-decoration: underline;
}

th a,
th a:visited {
   color: #FFA34F !important;
   text-decoration: none;
}

th a:hover {
   text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
   margin: 0;
   padding: 0;
   border: 0;
}

input {
   color: #333333;
   font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
   font-size: 1.1em;
   font-weight: normal;
   padding: 1px;
   border: 1px solid #FFFFFF;
   background-color: #FAFAFA;
}

textarea {
   background-color: #FAFAFA;
   color: #333333;
   font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
   font-size: 1.3em;
   line-height: 1.4em;
   font-weight: normal;
   border: 1px solid #999999;
   padding: 2px;
}

select {
   color: #333333;
   background-color: #FAFAFA;
   font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
   font-size: 1.1em;
   font-weight: normal;
   border: 1px solid #999999;
   padding: 1px;
}

option {
   padding: 0 1em 0 0;
}

option.disabled-option {
   color: graytext;
}

.rtl option {
   padding: 0 0 0 1em;
}

input.radio {
   border: none;
   background-color: transparent;
}

.post {
   background-color: white;
   border-style: solid;
   border-width: 1px;
   border-color: #999999;
}

.btnbbcode {
   color: #000000;
   font-weight: normal;
   font-size: 1.1em;
   font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
   background-color: #EFEFEF;
   border: 1px solid #999999;
}

.btnmain {
   font-weight: bold;
   background-color: #FAFAFA;
   border: 1px solid #999999;
   cursor: pointer;
   padding: 1px 5px;
   font-size: 1.1em;
}

.btnlite {
   font-weight: normal;
   background-color: #FAFAFA;
   border: 1px solid #999999;
   cursor: pointer;
   padding: 1px 5px;
   font-size: 1.1em;
}

.btnfile {
   font-weight: normal;
   background-color: #FAFAFA;
   border: 1px solid #999999;
   padding: 1px 5px;
   font-size: 1.1em;
}

.helpline {
   background-color: #EFEFEF;
   border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
   margin: 10px 5px 0 5px;
   padding: 4px;
   color: #333333;
   font-size: 0.85em;
   font-weight: bold;
}

.quotetitle .quotetitle {
   font-size: 1em;
}

.quotecontent, .attachcontent {
   margin: 0 5px 10px 5px;
   padding: 5px;
   border-color: #D1D7DC;
   border-width: 1px 1px 1px 1px;
   border-style: solid;
   font-weight: normal;
   font-size: 1em;
   line-height: 1.4em;
   font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
   background-color: #FAFAFA;
   color: #444444;
}

.attachcontent {
   font-size: 0.85em;
}

.codetitle {
   margin: 10px 5px 0 5px;
   padding: 2px 4px;
   color: #333333;
   font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
   font-size: 0.8em;
}

.codecontent {
   direction: ltr;
   margin: 0 5px 10px 5px;
   padding: 5px;
   border-color: #D1D7DC;
   border-width: 1px 1px 1px 1px;
   border-style: solid;
   font-weight: normal;
   color: #006600;
   font-size: 0.85em;
   font-family: Monaco, 'Courier New', monospace;
   background-color: #FAFAFA;
}

.syntaxbg {
   color: #FFFFFF;
}

.syntaxcomment {
   color: #FF8000;
}

.syntaxdefault {
   color: #0000BB;
}

.syntaxhtml {
   color: #000000;
}

.syntaxkeyword {
   color: #007700;
}

.syntaxstring {
   color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
   background-color: #000000;
}

.pm_replied_colour {
   background-color: #FFFFFF;
}

.pm_friend_colour {
   background-color: #007700;
}

.pm_foe_colour {
   background-color: #DD0000;
}


/* Misc
 ------------ */
img {
   border: none;
}

.sep {
   color: black;
   background-color: #FFA34F;
}

table.colortable td {
   padding: 0;
}

pre {
   font-size: 1.1em;
   font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
   white-space: nowrap;
}

.username-coloured {
   font-weight: bold;
}


Dernière édition par PufferMic le Dim 30 Oct 2011 - 15:03, édité 1 fois
avatar

PufferMic
Nouveau membre

Messages : 1
Inscrit(e) le : 23/10/2011

http://www.betta-info.forumactif.com
PufferMic a été remercié(e) par l'auteur de ce sujet.

Résolu Re: CSS ne marche pas?

Message par Ea Dim 23 Oct 2011 - 11:02

Bonjour,


C'est un css pour phpbb3 pas pour un forum forumactif en phpbb3.

D'après la description ça semble donner un affichage comme le thème par défaut du phpbb2, pourquoi ne pas simplement passer à ce thème de phpbb2 ?
Ea

Ea
Aidactif
Aidactif

Messages : 23583
Inscrit(e) le : 04/04/2008

Ea a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum