Skip to content

Commit 32ab250

Browse files
Chore: CSSLint likes alphabetic ordering…
1 parent 4b91d28 commit 32ab250

File tree

1 file changed

+79
-59
lines changed

1 file changed

+79
-59
lines changed

tests/test.css

Lines changed: 79 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ body {
1010
}
1111

1212
h1 {
13-
font-size: 1.2rem;
1413
color: navy;
14+
font-size: 1.2rem;
1515
}
1616

1717
p {
@@ -21,9 +21,9 @@ p {
2121

2222
/* CSS below comes from phpBB3 directly */
2323
.panel {
24+
border-radius: 7px;
2425
margin-bottom: 4px;
2526
padding: 5px 10px;
26-
border-radius: 7px;
2727
}
2828

2929
.panel h3 {
@@ -41,37 +41,37 @@ fieldset dl {
4141
}
4242

4343
fieldset.fields1 dt {
44-
width: 15em;
4544
border-right-width: 0;
45+
width: 15em;
4646
}
4747

4848
fieldset.fields1 div {
49-
margin-bottom: 3px;
49+
margin-bottom: 3px;
5050
}
5151

5252
fieldset dt {
53+
display: block;
5354
float: left;
54-
width: 40%;
5555
text-align: left;
56-
display: block;
56+
width: 40%;
5757
}
5858

5959
fieldset.fields1 dd {
60-
margin-left: 15em;
61-
border-left-width: 0;
60+
border-left-width: 0;
61+
margin-left: 15em;
6262
}
6363

6464
fieldset dd {
65-
margin-left: 41%;
66-
vertical-align: top;
67-
margin-bottom: 3px;
65+
margin-bottom: 3px;
66+
margin-left: 41%;
67+
vertical-align: top;
6868
}
6969

7070
/* Submit button fieldset */
7171
fieldset.submit-buttons {
72+
margin: 5px 0;
7273
text-align: center;
7374
vertical-align: middle;
74-
margin: 5px 0;
7575
}
7676

7777
fieldset.submit-buttons input {
@@ -93,93 +93,113 @@ label {
9393
}
9494

9595
input.inputbox {
96-
width: 85%;
96+
width: 85%;
9797
}
9898

9999
.autowidth {
100-
width: auto !important;
100+
width: auto !important;
101101
}
102+
102103
.inputbox {
103-
border: 1px solid transparent;
104-
padding: 2px;
104+
border: 1px solid transparent;
105+
padding: 2px;
105106
}
106-
dd input, dd textarea {
107-
margin-right: 3px;
107+
108+
dd input,
109+
dd textarea {
110+
margin-right: 3px;
108111
}
112+
109113
input {
110-
font-weight: normal;
111-
vertical-align: middle;
112-
padding: 0 3px;
113-
font-size: 1em;
114-
}
115-
input, button, select, optgroup, textarea {
116-
font-family: inherit;
117-
font-size: inherit;
118-
line-height: inherit;
119-
background-color: aliceblue;
120-
color: darkblue;
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;
121130
}
131+
122132
input {
123-
line-height: normal;
133+
line-height: normal;
124134
}
125135

126136
.message-box {
127-
width: 80%;
137+
width: 80%;
128138
}
129139

130140
textarea.inputbox {
131-
width: 85%;
141+
width: 85%;
132142
}
143+
133144
.message-box textarea {
134-
box-sizing: border-box;
135-
width: 450px;
136-
height: 270px;
137-
min-width: 100%;
138-
max-width: 100%;
139-
font-size: 1.2em;
140-
resize: vertical;
141-
outline: 3px dashed transparent;
142-
outline-offset: -4px;
143-
transition: all .5s ease, height 1ms linear;
145+
box-sizing: border-box;
146+
font-size: 1.2em;
147+
height: 270px;
148+
max-width: 100%;
149+
min-width: 100%;
150+
outline-offset: -4px;
151+
outline: 3px dashed transparent;
152+
resize: vertical;
153+
transition:
154+
all 0.5s ease,
155+
height 1ms linear;
156+
width: 450px;
144157
}
145158

146159
.inputbox {
147-
border: 1px solid transparent;
148-
padding: 2px;
160+
border: 1px solid transparent;
161+
padding: 2px;
149162
}
163+
150164
textarea {
151-
width: 60%;
152-
padding: 2px;
153-
font-size: 1em;
154-
line-height: 1.4em;
155-
overflow: auto;
165+
font-size: 1em;
166+
line-height: 1.4em;
167+
overflow: auto;
168+
padding: 2px;
169+
width: 60%;
156170
}
157171

158-
159172
.clearfix,
173+
dl.polls,
160174
fieldset dl,
161-
ul.topiclist dl,
162-
dl.polls {
175+
ul.topiclist dl {
163176
overflow: hidden;
164177
}
165178

166-
.inner:after, ul.linklist:after, .action-bar:after, .notification_text:after, .tabs-container:after, .tabs > ul:after, .minitabs > ul:after, .postprofile .avatar-container:after {
167-
clear: both;
168-
content: '';
169-
display: block;
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+
clear: both;
188+
content: "";
189+
display: block;
170190
}
171191

172192
blockquote,
173-
dl,
174193
dd,
194+
dl,
195+
figure,
175196
h1,
176197
h2,
177198
h3,
178199
h4,
179200
h5,
180201
h6,
181-
figure,
182202
p,
183203
pre {
184204
margin: 0;
185-
}
205+
}

0 commit comments

Comments
 (0)