Project

General

Profile

StyleSheet » History » Sprint/Milestone 1

Steven (eSHIFT) Uggowitzer, 02 August 2022 10:25 AM

1 1 Steven (eSHIFT) Uggowitzer
div.wiki, div.wiki-page {
2
   counter-reset:h1s;
3
}
4
5
.wiki h1 {
6
padding: 0.2em;
7
font-weight: normal;
8
background: #e9ecef;
9
border-top: solid 3px #00a5b1;
10
border-bottom: solid 3px #00a5b1;
11
overflow-x: auto;
12
counter-reset: h2s;
13
}
14
15
.wiki h1::before {
16
   content: counter(h1s) ". ";
17
   counter-increment: h1s;
18
}
19
20
.wiki h2 {
21
overflow-x: auto;
22
counter-reset: h3s;
23
}
24
25
.wiki h2::before {
26
   content: counter(h1s) "." counter(h2s) ". ";
27
   counter-increment: h2s;
28
}
29
30
.wiki h2:after {
31
content: " ";
32
display: block;
33
height: 2px;
34
}
35
36
.wiki h3 {
37
margin-right: 25%;
38
overflow-x: auto;
39
counter-reset: h4s;
40
}
41
42
.wiki h3::before {
43
   content: counter(h1s) "." counter(h2s) "." counter(h3s) ". ";
44
   counter-increment: h3s;
45
}
46
47
.wiki h3:after {
48
content: " ";
49
display: block;
50
height: 2px;
51
background: linear-gradient(to right, royalblue, skyblue);
52
}
53
54
.wiki h4 {
55
border-bottom: thin solid #00a5b1;
56
margin-left: 4px;
57
margin-right: 40%;
58
counter-reset: h5s;
59
}
60
61
.wiki h4::before {
62
   content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s);
63
   counter-increment: h4s;
64
   margin-right: 0.4em;
65
}
66
67
.wiki h5 {
68
text-decoration-line: underline;
69
text-decoration-color: #00a5b1;
70
margin-left: 4px;
71
counter-reset: h6s;
72
}
73
74
.wiki h5::before {
75
   content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s);
76
   counter-increment: h5s;
77
   margin-right: 0.5em;
78
}
79
80
.wiki h6 {
81
   counter-reset: h7s;
82
}
83
84
.wiki h6::before {
85
   content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s) "." counter(h6s);
86
   counter-increment: h6s;
87
   margin-right: 0.6em;
88
}
89
90
.wiki h7 {
91
}
92
93
.wiki h7::before {
94
   content: counter(h1s) "." counter(h2s) "." counter(h3s) "." counter(h4s) "." counter(h5s) "." counter(h6s) "." counter(h7s);
95
   counter-increment: h7s;
96
   margin-right: 0.6em;
97
}
98
99
100
#wrapper textarea.wiki-edit {
101
font-family: monospace;
102
}
103
104
.wiki th {
105
background: aliceblue;
106
}
107
108
.wiki table tr:nth-child(odd) td {
109
background:whitesmoke;
110
}
Go to top