Skip to content

Commit b85dad7

Browse files
committed
Remove a bunch of unused utility classes
1 parent efab35e commit b85dad7

5 files changed

Lines changed: 82 additions & 82 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: "Write an awesome description for your new site here. You can edit
55
baseurl: ""
66
url: "https://csswizardry.com"
77
future: true
8-
sw: "0011"
8+
sw: "0012"
99

1010
# Build settings
1111
markdown: kramdown

_includes/css/csswizardry.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/_trumps.widths-responsive.scss

Lines changed: 77 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -5,141 +5,141 @@
55
/**
66
* Some simple, crude, starting-point widths to use alongside the layout system.
77
*/
8-
@include media-query(palm) {
8+
// @include media-query(palm) {
99

10-
.palm-one-whole { width: 100%; }
10+
// .palm-one-whole { width: 100%; }
1111

12-
.palm-one-half { width: 50%; }
12+
// .palm-one-half { width: 50%; }
1313

14-
.palm-one-third { width: 33.333333333%; }
15-
.palm-two-thirds { width: 66.666666666%; }
14+
// .palm-one-third { width: 33.333333333%; }
15+
// .palm-two-thirds { width: 66.666666666%; }
1616

17-
.palm-one-quarter { width: 25%; }
18-
.palm-three-quarters { width: 75%; }
17+
// .palm-one-quarter { width: 25%; }
18+
// .palm-three-quarters { width: 75%; }
1919

20-
.palm-one-fifth { width: 20%; }
21-
.palm-two-fifths { width: 40%; }
22-
.palm-three-fifths { width: 60%; }
23-
.palm-four-fifths { width: 80%; }
20+
// .palm-one-fifth { width: 20%; }
21+
// .palm-two-fifths { width: 40%; }
22+
// .palm-three-fifths { width: 60%; }
23+
// .palm-four-fifths { width: 80%; }
2424

25-
.palm-one-tenth { width: 10%; }
26-
.palm-three-tenths { width: 30%; }
27-
.palm-seven-tenths { width: 70%; }
28-
.palm-nine-tenths { width: 90%; }
25+
// .palm-one-tenth { width: 10%; }
26+
// .palm-three-tenths { width: 30%; }
27+
// .palm-seven-tenths { width: 70%; }
28+
// .palm-nine-tenths { width: 90%; }
2929

30-
}
30+
// }
3131

3232

3333

3434

3535

36-
@include media-query(lap) {
36+
// @include media-query(lap) {
3737

38-
.lap-one-whole { width: 100%; }
38+
// .lap-one-whole { width: 100%; }
3939

40-
.lap-one-half { width: 50%; }
40+
// .lap-one-half { width: 50%; }
4141

42-
.lap-one-third { width: 33.333333333%; }
43-
.lap-two-thirds { width: 66.666666666%; }
42+
// .lap-one-third { width: 33.333333333%; }
43+
// .lap-two-thirds { width: 66.666666666%; }
4444

45-
.lap-one-quarter { width: 25%; }
46-
.lap-three-quarters { width: 75%; }
45+
// .lap-one-quarter { width: 25%; }
46+
// .lap-three-quarters { width: 75%; }
4747

48-
.lap-one-fifth { width: 20%; }
49-
.lap-two-fifths { width: 40%; }
50-
.lap-three-fifths { width: 60%; }
51-
.lap-four-fifths { width: 80%; }
48+
// .lap-one-fifth { width: 20%; }
49+
// .lap-two-fifths { width: 40%; }
50+
// .lap-three-fifths { width: 60%; }
51+
// .lap-four-fifths { width: 80%; }
5252

53-
.lap-one-tenth { width: 10%; }
54-
.lap-three-tenths { width: 30%; }
55-
.lap-seven-tenths { width: 70%; }
56-
.lap-nine-tenths { width: 90%; }
53+
// .lap-one-tenth { width: 10%; }
54+
// .lap-three-tenths { width: 30%; }
55+
// .lap-seven-tenths { width: 70%; }
56+
// .lap-nine-tenths { width: 90%; }
5757

58-
}
58+
// }
5959

6060

6161

6262

6363

6464
@include media-query(lap-and-up) {
6565

66-
.lap-and-up-one-whole { width: 100%; }
66+
// .lap-and-up-one-whole { width: 100%; }
6767

68-
.lap-and-up-one-half { width: 50%; }
68+
.lap-and-up-one-half { width: 50%; }
6969

70-
.lap-and-up-one-third { width: 33.333333333%; }
71-
.lap-and-up-two-thirds { width: 66.666666666%; }
70+
// .lap-and-up-one-third { width: 33.333333333%; }
71+
// .lap-and-up-two-thirds { width: 66.666666666%; }
7272

73-
.lap-and-up-one-quarter { width: 25%; }
74-
.lap-and-up-three-quarters { width: 75%; }
73+
.lap-and-up-one-quarter { width: 25%; }
74+
// .lap-and-up-three-quarters { width: 75%; }
7575

76-
.lap-and-up-one-fifth { width: 20%; }
77-
.lap-and-up-two-fifths { width: 40%; }
78-
.lap-and-up-three-fifths { width: 60%; }
79-
.lap-and-up-four-fifths { width: 80%; }
76+
// .lap-and-up-one-fifth { width: 20%; }
77+
// .lap-and-up-two-fifths { width: 40%; }
78+
// .lap-and-up-three-fifths { width: 60%; }
79+
// .lap-and-up-four-fifths { width: 80%; }
8080

81-
.lap-and-up-one-tenth { width: 10%; }
82-
.lap-and-up-three-tenths { width: 30%; }
83-
.lap-and-up-seven-tenths { width: 70%; }
84-
.lap-and-up-nine-tenths { width: 90%; }
81+
// .lap-and-up-one-tenth { width: 10%; }
82+
// .lap-and-up-three-tenths { width: 30%; }
83+
// .lap-and-up-seven-tenths { width: 70%; }
84+
// .lap-and-up-nine-tenths { width: 90%; }
8585

8686
}
8787

8888

8989

9090

9191

92-
@include media-query(portable) {
92+
// @include media-query(portable) {
9393

94-
.portable-one-whole { width: 100%; }
94+
// .portable-one-whole { width: 100%; }
9595

96-
.portable-one-half { width: 50%; }
96+
// .portable-one-half { width: 50%; }
9797

98-
.portable-one-third { width: 33.333333333%; }
99-
.portable-two-thirds { width: 66.666666666%; }
98+
// .portable-one-third { width: 33.333333333%; }
99+
// .portable-two-thirds { width: 66.666666666%; }
100100

101-
.portable-one-quarter { width: 25%; }
102-
.portable-three-quarters { width: 75%; }
101+
// .portable-one-quarter { width: 25%; }
102+
// .portable-three-quarters { width: 75%; }
103103

104-
.portable-one-fifth { width: 20%; }
105-
.portable-two-fifths { width: 40%; }
106-
.portable-three-fifths { width: 60%; }
107-
.portable-four-fifths { width: 80%; }
104+
// .portable-one-fifth { width: 20%; }
105+
// .portable-two-fifths { width: 40%; }
106+
// .portable-three-fifths { width: 60%; }
107+
// .portable-four-fifths { width: 80%; }
108108

109-
.portable-one-tenth { width: 10%; }
110-
.portable-three-tenths { width: 30%; }
111-
.portable-seven-tenths { width: 70%; }
112-
.portable-nine-tenths { width: 90%; }
109+
// .portable-one-tenth { width: 10%; }
110+
// .portable-three-tenths { width: 30%; }
111+
// .portable-seven-tenths { width: 70%; }
112+
// .portable-nine-tenths { width: 90%; }
113113

114-
}
114+
// }
115115

116116

117117

118118

119119

120120
@include media-query(desk) {
121121

122-
.desk-one-whole { width: 100%; }
122+
// .desk-one-whole { width: 100%; }
123123

124-
.desk-one-half { width: 50%; }
124+
// .desk-one-half { width: 50%; }
125125

126-
.desk-one-third { width: 33.333333333%; }
127-
.desk-two-thirds { width: 66.666666666%; }
126+
.desk-one-third { width: 33.333333333%; }
127+
.desk-two-thirds { width: 66.666666666%; }
128128

129-
.desk-one-quarter { width: 25%; }
130-
.desk-three-quarters { width: 75%; }
129+
// .desk-one-quarter { width: 25%; }
130+
// .desk-three-quarters { width: 75%; }
131131

132-
.desk-one-fifth { width: 20%; }
133-
.desk-two-fifths { width: 40%; }
134-
.desk-three-fifths { width: 60%; }
135-
.desk-four-fifths { width: 80%; }
132+
// .desk-one-fifth { width: 20%; }
133+
// .desk-two-fifths { width: 40%; }
134+
.desk-three-fifths { width: 60%; }
135+
// .desk-four-fifths { width: 80%; }
136136

137-
.desk-one-tenth { width: 10%; }
138-
.desk-three-tenths { width: 30%; }
139-
.desk-seven-tenths { width: 70%; }
140-
.desk-nine-tenths { width: 90%; }
137+
// .desk-one-tenth { width: 10%; }
138+
.desk-three-tenths { width: 30%; }
139+
// .desk-seven-tenths { width: 70%; }
140+
// .desk-nine-tenths { width: 90%; }
141141

142-
.desk-push-one-tenth { position: relative; left: 10%; }
142+
.desk-push-one-tenth { position: relative; left: 10%; }
143143

144144
}
145145

css/csswizardry.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
@import "base.quotes";
125125
@import "base.forms";
126126
@import "base.tables";
127-
@import "elements.details";
127+
//@import "elements.details";
128128

129129

130130

sw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var cacheName = 'csswizardry:0011';
1+
var cacheName = 'csswizardry:0012';
22
var cacheFiles = [
33
'/',
44
'/about/',
@@ -53,7 +53,7 @@ self.addEventListener('fetch', function(event) {
5353
// Empty out any caches that don’t match the ones listed.
5454
self.addEventListener('activate', function(event) {
5555

56-
var cacheWhitelist = ['csswizardry:0011'];
56+
var cacheWhitelist = ['csswizardry:0012'];
5757

5858
event.waitUntil(
5959
caches.keys().then(function(cacheNames) {

0 commit comments

Comments
 (0)