Project

General

Profile

Actions

div.wiki, div.wiki-page {
counter-reset:h1s;
}

.wiki h1 {
padding: 0.2em;
font-weight: normal;
background: #e9ecef;
border-top: solid 3px #00a5b1;
border-bottom: solid 3px #00a5b1;
overflow-x: auto;
counter-reset: h2s;
}

.wiki h1::before {
content: counter(h1s) ". ";
counter-increment: h1s;
}

.wiki h2 {
overflow-x: auto;
counter-reset: h3s;
}

.wiki h2::before {
content: counter(h1s) "." counter(h2s) ". ";
counter-increment: h2s;
}

.wiki h2:after {
content: " ";
display: block;
height: 2px;
}

.wiki h3 {
margin-right: 25%;
overflow-x: auto;
counter-reset: h4s;
}

.wiki h3::before {
content: counter(h1s) "." counter(h2s) "." counter(h3s) ". ";
counter-increment: h3s;
}

.wiki h3:after {
content: " ";
display: block;
height: 2px;
background: linear-gradient(to right, royalblue, skyblue);
}

.wiki h4 {
border-bottom: thin solid #00a5b1;
margin-left: 4px;
margin-right: 40%;
counter-reset: h5s;
}

.wiki h4::before {
content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s);
counter-increment: h4s;
margin-right: 0.4em;
}

.wiki h5 {
text-decoration-line: underline;
text-decoration-color: #00a5b1;
margin-left: 4px;
counter-reset: h6s;
}

.wiki h5::before {
content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s);
counter-increment: h5s;
margin-right: 0.5em;
}

.wiki h6 {
counter-reset: h7s;
}

.wiki h6::before {
content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s) "." counter(h6s);
counter-increment: h6s;
margin-right: 0.6em;
}

.wiki h7 {
}

.wiki h7::before {
content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s) "." counter(h6s) "." counter(h7s);
counter-increment: h7s;
margin-right: 0.6em;
}

#wrapper textarea.wiki-edit {
font-family: monospace;
}

.wiki th {
background: aliceblue;
}

.wiki table tr:nth-child(odd) td {
background:whitesmoke;
}

Tags:

Updated by Steven (eSHIFT) Uggowitzer over 2 years ago · 2 revisions

Go to top