np, here my SSX code:
****************************************
/* - numbering.css */
#xwikicontent {
counter-reset: mynum-h1 !important;
}
#xwikicontent h1 {
counter-reset: mynum-h2 !important;
}
#xwikicontent h1:before {
content: counter(mynum-h1, upper-alpha) ". " !important;
counter-increment: mynum-h1 !important;
}
#xwikicontent h2:not(.blogdate) {
counter-reset: mynum-h3 !important;
}
#xwikicontent h2:not(.blogdate):before {
content: counter(mynum-h1, upper-alpha) "." counter(mynum-h2) " "
!important;
counter-increment: mynum-h2 !important;
}
#xwikicontent h3 {
counter-reset: mynum-h4 !important;
}
#xwikicontent h3:before {
content: counter(mynum-h1, upper-alpha) "." counter(mynum-h2) "."
counter(mynum-h3) " " !important;
counter-increment: mynum-h3 !important;
}
#xwikicontent h4 {
counter-reset: mynum-h5 !important;
}
#xwikicontent h4:before {
content: counter(mynum-h1, upper-alpha) "." counter(mynum-h2) "."
counter(mynum-h3) "." counter(mynum-h4) " " !important;
counter-increment: mynum-h4 !important;
}
#xwikicontent h5 {
counter-reset: mynum-h6 !important;
}
#xwikicontent h5:before {
content: counter(mynum-h1) "." counter(mynum-h2) "."
counter(mynum-h3) "." counter(mynum-h4) "." counter(mynum-h5) "
" !important;
counter-increment: mynum-h5 !important;
}
#xwikicontent h6 {
}
#xwikicontent h6:before {
content: counter(mynum-h1, upper-alpha) "." counter(mynum-h2) "."
counter(mynum-h3) "." counter(mynum-h4) "." counter(mynum-h5)
"." counter(mynum-h6) " " !important;
counter-increment: mynum-h6 !important;
}
/* Redimensionnement des titres */
/* Rajout de la balise des posts du blog */
#xwikicontent > H1:not(.xapp), #xwikicontent .entry-content > h1 {
overflow:hidden;
line-height:1.2em;
}
/* Numérotation des titres */
#xwikicontent > H1:not(.xapp):after, #xwikicontent .entry-content > h1:after {
content:"";
vertical-align:top;
display:inline-block;
width:100%;
height:0.8em;
border-bottom:1px solid black;
margin:0 -1 0 0.9em;
}
#xwikicontent > H3 > span {
font-style: italic;
}
#xwikicontent > H1, #xwikicontent .entry-content > h1 {
font-size: 30px;
}
#xwikicontent > H2, #xwikicontent .entry-content > h2 {
font-size: 26px;
}
#xwikicontent > H3, #xwikicontent .entry-content > h3 {
font-size: 20px;
}
******************************************
--------------------------------------------
En date de : Lun 8.8.16, Ryan D. Larkin <rlarkin(a)washeriff.net> a écrit :
Objet: Re: [xwiki-users] Question regarding changing default format of Numbered Lists
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>
Date: Lundi 8 août 2016, 17h34
If you
don't mind I would love to see your code, that sounds
like exactly what I am looking for.