Skip to content

Commit f076d56

Browse files
Fix: alphabetic sorting
Loooooots of CSS errors
1 parent 16bef66 commit f076d56

File tree

1 file changed

+89
-96
lines changed

1 file changed

+89
-96
lines changed

tests/test.css

Lines changed: 89 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
/* Some basics so that this doesn't look so default-y */
1+
/**
2+
* Some basics so that this doesn't look so default-y
3+
*
4+
* Note that the formatting may look weird, but we're trying to do things as
5+
* recommended by Stylelint (gwyneth 20230425)
6+
*/
27
body {
38
background-color: ivory;
49
font-family: "Work Sans", ui-sans-serif, sans-serif;
@@ -9,24 +14,66 @@ body {
914
word-wrap: break-word;
1015
}
1116

17+
blockquote,
18+
dd,
19+
dl,
20+
figure,
21+
h1,
22+
h2,
23+
h3,
24+
h4,
25+
h5,
26+
h6,
27+
p,
28+
pre {
29+
margin: 0;
30+
}
31+
32+
button,
33+
input,
34+
optgroup,
35+
select,
36+
textarea {
37+
background-color: aliceblue;
38+
color: darkblue;
39+
font-family: inherit;
40+
font-size: inherit;
41+
line-height: inherit;
42+
}
43+
1244
h1 {
1345
color: navy;
1446
font-size: 1.2rem;
1547
}
1648

49+
input {
50+
line-height: normal;
51+
font-size: 1em;
52+
font-weight: normal;
53+
padding: 0 3px;
54+
vertical-align: middle;
55+
}
56+
1757
p {
1858
color: darkslategray;
1959
padding-bottom: 0.5em;
2060
}
2161

22-
/* CSS below comes from phpBB3 directly */
62+
textarea {
63+
font-size: 1em;
64+
line-height: 1.4em;
65+
overflow: auto;
66+
padding: 2px;
67+
width: 60%;
68+
}
69+
2370
.panel {
2471
border-radius: 7px;
2572
margin-bottom: 4px;
2673
padding: 5px 10px;
2774
}
2875

29-
.panel h3 {
76+
h3.panel {
3077
margin: 0.5em 0;
3178
}
3279

@@ -37,34 +84,40 @@ fieldset {
3784
}
3885

3986
fieldset dl {
87+
overflow: hidden;
4088
padding: 4px 0;
4189
}
4290

43-
fieldset.fields1 dt {
44-
border-right-width: 0;
45-
width: 15em;
46-
}
47-
48-
fieldset.fields1 div {
49-
margin-bottom: 3px;
50-
}
51-
5291
fieldset dt {
5392
display: block;
5493
float: left;
5594
text-align: left;
5695
width: 40%;
5796
}
5897

98+
fieldset dd {
99+
margin-bottom: 3px;
100+
margin-left: 41%;
101+
vertical-align: top;
102+
}
103+
59104
fieldset.fields1 dd {
60105
border-left-width: 0;
61106
margin-left: 15em;
62107
}
63108

64-
fieldset dd {
109+
fieldset.fields1 div {
65110
margin-bottom: 3px;
66-
margin-left: 41%;
67-
vertical-align: top;
111+
}
112+
113+
fieldset.fields1 dt {
114+
border-right-width: 0;
115+
width: 15em;
116+
}
117+
118+
.inputbox {
119+
border: 1px solid transparent;
120+
padding: 2px;
68121
}
69122

70123
/* Submit button fieldset */
@@ -74,24 +127,26 @@ fieldset.submit-buttons {
74127
vertical-align: middle;
75128
}
76129

77-
fieldset.submit-buttons input {
78-
vertical-align: middle;
130+
dd input,
131+
dd textarea {
132+
margin-right: 3px;
79133
}
80134

81-
dt label {
82-
font-weight: bold;
83-
text-align: left;
135+
fieldset.submit-buttons input {
136+
vertical-align: middle;
84137
}
85138

86-
/* label {
87-
color: #425067;
88-
} */
89-
90139
label {
140+
/* color: #425067; */
91141
cursor: default;
92142
padding-right: 5px;
93143
}
94144

145+
dt label {
146+
font-weight: bold;
147+
text-align: left;
148+
}
149+
95150
input.inputbox {
96151
width: 85%;
97152
}
@@ -100,39 +155,6 @@ input.inputbox {
100155
width: auto !important;
101156
}
102157

103-
.inputbox {
104-
border: 1px solid transparent;
105-
padding: 2px;
106-
}
107-
108-
dd input,
109-
dd textarea {
110-
margin-right: 3px;
111-
}
112-
113-
input {
114-
font-size: 1em;
115-
font-weight: normal;
116-
padding: 0 3px;
117-
vertical-align: middle;
118-
}
119-
120-
button,
121-
input,
122-
optgroup,
123-
select,
124-
textarea {
125-
background-color: aliceblue;
126-
color: darkblue;
127-
font-family: inherit;
128-
font-size: inherit;
129-
line-height: inherit;
130-
}
131-
132-
input {
133-
line-height: normal;
134-
}
135-
136158
.message-box {
137159
width: 80%;
138160
}
@@ -156,50 +178,21 @@ textarea.inputbox {
156178
width: 450px;
157179
}
158180

159-
.inputbox {
160-
border: 1px solid transparent;
161-
padding: 2px;
162-
}
163-
164-
textarea {
165-
font-size: 1em;
166-
line-height: 1.4em;
167-
overflow: auto;
168-
padding: 2px;
169-
width: 60%;
170-
}
171-
172181
.clearfix,
173-
dl.polls,
174-
fieldset dl,
175-
ul.topiclist dl {
182+
.polls,
183+
.topiclist dl {
176184
overflow: hidden;
177185
}
178186

179-
.action-bar:after,
180-
.inner:after,
181-
.minitabs > ul:after,
182-
.notification_text:after,
183-
.postprofile .avatar-container:after,
184-
.tabs > ul:after,
185-
.tabs-container:after,
186-
ul.linklist:after {
187+
.action-bar::after,
188+
.inner::after,
189+
.linklist,
190+
.minitabs > ul::after,
191+
.notification-text::after,
192+
.postprofile .avatar-container::after,
193+
.tabs > ul::after,
194+
.tabs-container::after {
187195
clear: both;
188196
content: "";
189197
display: block;
190198
}
191-
192-
blockquote,
193-
dd,
194-
dl,
195-
figure,
196-
h1,
197-
h2,
198-
h3,
199-
h4,
200-
h5,
201-
h6,
202-
p,
203-
pre {
204-
margin: 0;
205-
}

0 commit comments

Comments
 (0)