[Facil] Stylesheet du Wiki
Nicolas Marchildon
nicolas at marchildon.net
Mer 23 Nov 21:08:18 EST 2005
MF wrote:
> Je ne me souviens plus qui a parlé de ce problème (Nicolas M. me semble)
> mais j'ai trouvé le bobo. Les listes énumérées (<OL><OL>) affichent un
> saut de ligne
Merci pour l'aide. J'ai aussi réglé quelques autres petits bugs
d'espacement, surtout concernant les listes. J'ai aussi remis les styles
pour les diff en vert et rouge.
Voici un diff contextuel (diff -c) de ce que j'ai fait:
***************
*** 150,156 ****
}
#content OL > LI > OL > LI {
! padding-left: 1em;
}
#content LI > P {
--- 150,156 ----
}
#content OL > LI > OL > LI {
! /* padding-left: 1em;*/
}
#content LI > P {
***************
*** 160,166 ****
H2, H3, H4 {
margin: 0;
! padding: .7em 0 0 0;
font-family: utopia, serif;
color: /*#6F5700*/#000;
--- 160,166 ----
H2, H3, H4 {
margin: 0;
! padding: .7em 0 .5em 0;
font-family: utopia, serif;
color: /*#6F5700*/#000;
***************
*** 238,244 ****
#page {
width: 580px;
margin: 0 0 0 170px;
! padding: 0 30px;
height: 100%;
}
--- 238,244 ----
#page {
width: 580px;
margin: 0 0 0 170px;
! padding: 1em 30px;
height: 100%;
}
***************
*** 437,439 ****
--- 437,468 ----
#editor-textarea, #editor-comment { width:100%; }
+
+ /* Page: diffs */
+
+ .diff-title {
+ background-color: #C0C0C0;
+ }
+
+ .diff-added {
+ background-color: #E0FFE0;
+ vertical-align: sub;
+ }
+
+ .diff-removed {
+ background-color: #FFFFE0;
+ vertical-align: sub;
+ }
+
+ .diff-added span {
+ background-color: #80FF80;
+ }
+
+ .diff-removed span {
+ background-color: #FFFF80;
+ }
+
+ .searchresult dd span {
+ font-weight: bold;
+ }
+
Plus d'informations sur la liste de diffusion forum