Skip to content

Commit 72c2d77

Browse files
committed
Align with spaces
I normally prefer tabs, but spaces work better with the comments aligned on column 40.
1 parent 0205ab0 commit 72c2d77

13 files changed

+815
-811
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true

aside.css

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,41 @@
44
*/
55

66
aside {
7-
hyphens: auto; /* Hyphenate, as this text is quite narrow. */
7+
hyphens: auto; /* Hyphenate, as this text is quite narrow. */
88
}
99

1010
aside {
11-
position: absolute;
12-
left: /*padx*/-15em;
13-
width: 14em;
14-
text-align: right;
15-
font-size: .9em;
11+
position: absolute;
12+
left: /*padx*/-15em;
13+
width: 14em;
14+
text-align: right;
15+
font-size: .9em;
1616
}
1717

1818
/* Alternative: place on the right.
1919
aside {
20-
position: absolute;
21-
right: -15em;
22-
width: 14em;
20+
position: absolute;
21+
right: -15em;
22+
width: 14em;
2323
}
2424
*/
2525

26-
/* Place inline if it won't fit on the screen. */
27-
@media (max-width: 83em) {
28-
aside {
29-
position: static;
30-
width: auto;
31-
text-align: left;
32-
background-color: #f7f7f7;
33-
padding: .4em 2em;
34-
border: 1px solid #b7b7b7;
35-
hyphens: none;
36-
}
26+
@media (max-width: 83em) { /* Place inline if it won't fit on the screen. */
27+
aside {
28+
position: static;
29+
width: auto;
30+
text-align: left;
31+
background-color: #f7f7f7;
32+
padding: .4em 2em;
33+
border: 1px solid #b7b7b7;
34+
hyphens: none;
35+
}
3736
}
3837

3938
/* Optional: place the page further to the right, so that there's more space for
4039
* the aside.
4140
* Adjust the media query above to max-width: 63em
4241
.page {
43-
left: 10em;
42+
left: 10em;
4443
}
4544
*/

0 commit comments

Comments
 (0)