Skip to content

Commit

Permalink
More performance work
Browse files Browse the repository at this point in the history
  • Loading branch information
philwareham committed Feb 12, 2021
1 parent 02bbb01 commit b60ac00
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 54 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "textpattern-forum",
"version": "1.5.1",
"version": "1.5.2",
"repository": {
"type": "git",
"url": "https://github.com/textpattern/textpattern-forum"
Expand Down
2 changes: 0 additions & 2 deletions src/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="/style/Textpattern/css/style.@@timestamp.css">
<meta name="robots" content="noindex, follow">
Expand Down
2 changes: 0 additions & 2 deletions src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="/style/Textpattern/css/style.@@timestamp.css">
<meta name="robots" content="noindex, follow">
Expand Down
2 changes: 0 additions & 2 deletions src/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="/style/Textpattern/css/style.@@timestamp.css">
<meta name="robots" content="noindex, follow">
Expand Down
2 changes: 0 additions & 2 deletions src/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="/style/Textpattern/css/style.@@timestamp.css">
<meta name="robots" content="noindex, follow">
Expand Down
2 changes: 0 additions & 2 deletions src/style/Textpattern/admin.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="style/Textpattern/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
Expand Down
2 changes: 0 additions & 2 deletions src/style/Textpattern/help.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://textpattern.com/assets/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="style/Textpattern/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
Expand Down
2 changes: 0 additions & 2 deletions src/style/Textpattern/main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="style/Textpattern/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
Expand Down
2 changes: 0 additions & 2 deletions src/style/Textpattern/maintenance.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="style/Textpattern/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
Expand Down
2 changes: 0 additions & 2 deletions src/style/Textpattern/redirect.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-regular.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-italic.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="https://forum.textpattern.com/style/Textpattern/fonts/pt-serif-v12-latin-ext-700italic.woff2" as="font" type="font/woff2" crossorigin>
<script>document.documentElement.className='js'</script>
<link rel="stylesheet" href="style/Textpattern/css/style.@@timestamp.css">
<link rel="icon" href="/favicon.ico">
Expand Down
22 changes: 0 additions & 22 deletions src/style/Textpattern/sass/modules/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,13 @@ textarea,
* 1. Remove browser-specific default styling.
*/

[type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
select,
textarea {
height: 2em; // 32px / 16px
Expand All @@ -107,20 +100,13 @@ textarea {
}

@include setup.dark-mode {
[type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
select,
textarea {
border-color: var(--clr-brdr-x-dark);
Expand Down Expand Up @@ -372,14 +358,6 @@ select[size="1"] {
height: 2em; // 32px / 16px
}

/**
* Remove browser-specific `select` UI in IE 11.
*/

select::-ms-expand {
opacity: 0;
}

/**
* Normalize styling of `optgroup`.
*/
Expand Down
11 changes: 2 additions & 9 deletions src/style/Textpattern/sass/modules/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ body {
font-family: "Helvetica Neue", sans-serif;
}

/**
* Visually separate site header from body.
*/

.site-header {
border-bottom: 1pt solid black;
}

/**
* Hide unnecessary content from print.
*/
Expand All @@ -43,9 +35,10 @@ form,
#brdstats,
#brdfooter,
#quickpost,
.site-header,
.site-footer,
.search-form,
.complementary-content,
.site-footer,
.a--skip-link,
.linkst,
.postlinksb,
Expand Down
4 changes: 0 additions & 4 deletions src/style/Textpattern/sass/modules/_social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
filter: brightness(1.1);
}

//&.facebook {
// 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");
//}

&.twitter {
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");
}
Expand Down

0 comments on commit b60ac00

Please sign in to comment.