Skip to content

Commit e668725

Browse files
committed
Unused CSS
1 parent f3bfd82 commit e668725

File tree

6 files changed

+11
-114
lines changed

6 files changed

+11
-114
lines changed

src/assets/sass/modules/_embedded-content.scss

-24
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,6 @@ img {
4646
}
4747
}
4848

49-
/**
50-
* Rounded corner images.
51-
*
52-
* Example HTML:
53-
*
54-
* <img class="img--rounded">
55-
*/
56-
57-
.img--rounded {
58-
border-radius: setup.$border-radius;
59-
}
60-
61-
/**
62-
* Circular images.
63-
*
64-
* Example HTML:
65-
*
66-
* <img class="img--circular">
67-
*/
68-
69-
.img--circular {
70-
border-radius: 50%;
71-
}
72-
7349
/**
7450
* Bordered images.
7551
*

src/assets/sass/modules/_forms.scss

-14
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,13 @@ textarea,
8787
* 1. Remove browser-specific default styling.
8888
*/
8989

90-
[type="color"],
91-
[type="date"],
92-
[type="datetime"],
93-
[type="datetime-local"],
9490
[type="email"],
95-
[type="month"],
9691
[type="number"],
9792
[type="password"],
9893
[type="search"],
9994
[type="tel"],
10095
[type="text"],
101-
[type="time"],
10296
[type="url"],
103-
[type="week"],
10497
select,
10598
textarea {
10699
height: 2em; // 32px / 16px
@@ -121,20 +114,13 @@ textarea {
121114
}
122115

123116
@include setup.dark-mode {
124-
[type="color"],
125-
[type="date"],
126-
[type="datetime"],
127-
[type="datetime-local"],
128117
[type="email"],
129-
[type="month"],
130118
[type="number"],
131119
[type="password"],
132120
[type="search"],
133121
[type="tel"],
134122
[type="text"],
135-
[type="time"],
136123
[type="url"],
137-
[type="week"],
138124
select,
139125
textarea {
140126
border-color: var(--clr-brdr-x-dark);

src/assets/sass/modules/_print.scss

+2-9
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,6 @@ body {
2222
font-family: "Helvetica Neue", sans-serif;
2323
}
2424

25-
/**
26-
* Visually separate site header from body.
27-
*/
28-
29-
.site-header {
30-
border-bottom: 1pt solid black;
31-
}
32-
3325
/**
3426
* Hide unnecessary content from print.
3527
*/
@@ -39,8 +31,9 @@ audio,
3931
video,
4032
form,
4133
.complementary-content,
42-
.search-form,
34+
.site-header,
4335
.site-footer,
36+
.search-form,
4437
.paginator,
4538
.a--skip-link {
4639
display: none;

src/assets/sass/modules/_social.scss

-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@
3535
filter: brightness(1.1);
3636
}
3737

38-
//&.facebook {
39-
// background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%233b5998' width='32' height='32'/%3E%3Cpath fill='%23fff' d='M22,32V20h4l0.8-5H22v-3.3c0-1.4,0.5-2.4,2.5-2.4H27V5c-0.4-0.1-1.9-0.2-3.7-0.2c-3.7,0-6.3,2.3-6.3,6.4V15h-4v5h4v12H22z'/%3E%3C/svg%3E");
40-
//}
41-
4238
&.twitter {
4339
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect fill='%2300aced' width='32' height='32'/%3E%3Cpath fill='%23fff' d='M26.7,9.4c-0.8,0.3-1.6,0.6-2.5,0.7c0.9-0.5,1.6-1.4,1.9-2.4c-0.8,0.5-1.8,0.9-2.8,1c-0.8-0.9-1.9-1.4-3.2-1.4c-2.4,0-4.4,2-4.4,4.4c0,0.3,0,0.7,0.1,1c-3.6-0.2-6.9-1.9-9-4.6c-0.4,0.6-0.6,1.4-0.6,2.2c0,1.5,0.8,2.9,1.9,3.6c-0.7,0-1.4-0.2-2-0.5l0,0c0,2.1,1.5,3.9,3.5,4.3c-0.4,0.1-0.8,0.2-1.2,0.2c-0.3,0-0.6,0-0.8,0c0.6,1.7,2.2,3,4,3c-1.5,1.2-3.4,1.9-5.4,1.9c-0.4,0-0.7,0-1-0.1c1.9,1.2,4.2,2,6.7,2c8.1,0,12.5-6.7,12.5-12.5c0-0.2,0-0.4,0-0.6C25.3,11,26.1,10.3,26.7,9.4z'/%3E%3C/svg%3E");
4440
}

src/assets/sass/modules/_tables.scss

+9-25
Original file line numberDiff line numberDiff line change
@@ -142,28 +142,12 @@ tfoot {
142142
* </colgroup>
143143
*/
144144

145-
.t5 { width: 5%; }
146-
.t10 { width: 10%; }
147-
.t12 { width: 12.5%; } // 1/8
148-
.t15 { width: 15%; }
149-
.t20 { width: 20%; }
150-
.t25 { width: 25%; } // 1/4
151-
.t30 { width: 30%; }
152-
.t33 { width: 33.3333333%; } // 1/3
153-
.t35 { width: 35%; }
154-
.t37 { width: 37.5%; } // 3/8
155-
.t40 { width: 40%; }
156-
.t45 { width: 45%; }
157-
.t50 { width: 50%; } // 1/2
158-
.t55 { width: 55%; }
159-
.t60 { width: 60%; }
160-
.t62 { width: 62.5%; } // 5/8
161-
.t65 { width: 65%; }
162-
.t66 { width: 66.6666667%; } // 2/3
163-
.t70 { width: 70%; }
164-
.t75 { width: 75%; } // 3/4
165-
.t80 { width: 80%; }
166-
.t85 { width: 85%; }
167-
.t87 { width: 87.5%; } // 7/8
168-
.t90 { width: 90%; }
169-
.t95 { width: 95%; }
145+
.t10 { width: 10%; } // 1/10
146+
.t20 { width: 20%; } // 1/5
147+
.t25 { width: 25%; } // 1/4
148+
.t33 { width: 33.333%; } // 1/3
149+
.t50 { width: 50%; } // 1/2
150+
.t66 { width: 66.666%; } // 2/3
151+
.t75 { width: 75%; } // 3/4
152+
.t80 { width: 80%; } // 4/5
153+
.t90 { width: 90%; } // 9/10

src/docs/design-patterns.html

-38
Original file line numberDiff line numberDiff line change
@@ -610,20 +610,6 @@ <h3>Images with links</h3>
610610
</p>
611611
</div>
612612

613-
<div class="layout-4col">
614-
<h3>Rounded images</h3>
615-
<p>
616-
<img class="img--rounded" src="assets/img/com/160x160.png" alt="Alt text" itemprop="image">
617-
</p>
618-
</div>
619-
620-
<div class="layout-4col">
621-
<h3>Circular images</h3>
622-
<p>
623-
<img class="img--circular" src="assets/img/com/160x160.png" alt="Alt text" itemprop="image">
624-
</p>
625-
</div>
626-
627613
</div>
628614

629615
<h3>Figures</h3>
@@ -1063,26 +1049,10 @@ <h3>Inputs</h3>
10631049
</p>
10641050

10651051
<div class="layout-container">
1066-
<p class="layout-3col">
1067-
<label for="color">Colour</label><br>
1068-
<input type="color" id="color" name="color" value="#cc0000">
1069-
</p>
1070-
<p class="layout-3col">
1071-
<label for="date">Date</label><br>
1072-
<input id="date" name="date" type="date">
1073-
</p>
1074-
<p class="layout-3col">
1075-
<label for="datetime-local">Datetime local</label><br>
1076-
<input id="datetime-local" name="datetime-local" type="datetime-local">
1077-
</p>
10781052
<p class="layout-3col">
10791053
<label for="email">Email</label><br>
10801054
<input id="email" name="email" type="email" placeholder="[email protected]">
10811055
</p>
1082-
<p class="layout-3col">
1083-
<label for="month">Month</label><br>
1084-
<input id="month" name="month" type="month">
1085-
</p>
10861056
<p class="layout-3col">
10871057
<label for="number">Number</label><br>
10881058
<input id="number" name="number" type="number" min="0" max="999" step="1">
@@ -1114,18 +1084,10 @@ <h3>Inputs</h3>
11141084
<option value="Angola">
11151085
</datalist>
11161086
</p>
1117-
<p class="layout-3col">
1118-
<label for="time">Time</label><br>
1119-
<input id="time" name="time" type="time">
1120-
</p>
11211087
<p class="layout-3col">
11221088
<label for="url">URL</label><br>
11231089
<input id="url" name="url" type="url">
11241090
</p>
1125-
<p class="layout-3col">
1126-
<label for="url">Week</label><br>
1127-
<input id="week" name="week" type="week">
1128-
</p>
11291091
</div>
11301092

11311093
<h3>Form Groups</h3>

0 commit comments

Comments
 (0)