Skip to content

Commit 0a147e2

Browse files
kaeligtabatkins
authored andcommitted
Remove redundant boilerplate styles and scripts (#723)
- Loading Typescript JavaScript was failing because it wasn't from a secure source - Boilerplate styles aren't needed to display https://drafts.csswg.org/css-fonts-4/ properly - The script adding a "touch" class to the document isn't needed
1 parent 9685066 commit 0a147e2

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

css-fonts-4/Overview.bs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,6 @@ Abstract: This specification defines modifications to the existing <a href="http
1212
Ignored Terms: font-palette, <named-palette-color>
1313
</pre>
1414

15-
<script type="text/javascript" src="http://use.typekit.com/xon2bky.js"></script>
16-
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
17-
18-
<style>
19-
20-
body, th, td, h1, h2, h3, h4, h5, h6 {
21-
font-family: "myriad-pro", sans-serif !important;
22-
}
23-
24-
a.self-link {
25-
opacity: 0.1;
26-
}
27-
28-
.touch a.self-link {
29-
opacity: 0.5;
30-
}
31-
32-
a.self-link:hover {
33-
color: black;
34-
opacity: 1;
35-
background-color: transparent;
36-
}
37-
38-
.advisement {
39-
margin-top: 4em;
40-
text-align: left;
41-
}
42-
43-
</style>
4415
<pre class="link-defaults">
4516
spec:css-color-4; type:property; text:color
4617
</pre>
@@ -1325,11 +1296,3 @@ an emoji font or not, UTR51 defines a the default behavior for a given codepoint
13251296
Peter Constable for assorted language fixes.
13261297

13271298
Optical sizing <a href="#optical-size-example">image</a> prepared by Nick Sherman.
1328-
1329-
1330-
<script>
1331-
if ('ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0) {
1332-
var el = document.getElementsByTagName("html")[0];
1333-
el.className += " touch";
1334-
}
1335-
</script>

0 commit comments

Comments
 (0)