mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
replace google by bunny fonts (#131)
This commit is contained in:
parent
e769c2103f
commit
9deee9ddba
@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file.
|
|||||||
|
|
||||||
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
|
The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
|
||||||
|
|
||||||
|
## v2.18.0
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Replaced `fonts.googleapis.com` by `fonts.bunny.net` regarding GDPR compliance [#131]
|
||||||
|
|
||||||
|
[#131]:https://github.com/tarampampam/error-pages/pull/131
|
||||||
|
|
||||||
## v2.17.0
|
## v2.17.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
<meta name="robots" content="noindex, nofollow"/>
|
<meta name="robots" content="noindex, nofollow"/>
|
||||||
<title>{{ message }}</title>
|
<title>{{ message }}</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.bunny.net/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
:root{--color-bg-primary:#fff;--color-bg-secondary:#eef6fa;--color-bg-sign:#fff;--color-text-primary:#333;--color-text-secondary:#777;--color-img-details:#f62f37;--color-img-primary:#7990a1;--color-img-secondary:#00baff;--font-size-small:13px;--font-size-normal:16px;--font-size-large:45px}
|
:root{--color-bg-primary:#fff;--color-bg-secondary:#eef6fa;--color-bg-sign:#fff;--color-text-primary:#333;--color-text-secondary:#777;--color-img-details:#f62f37;--color-img-primary:#7990a1;--color-img-secondary:#00baff;--font-size-small:13px;--font-size-normal:16px;--font-size-large:45px}
|
||||||
@media (prefers-color-scheme:dark){
|
@media (prefers-color-scheme:dark){
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
<meta name="robots" content="noindex, nofollow"/>
|
<meta name="robots" content="noindex, nofollow"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||||
<title>{{ code }} | {{ message }}</title>
|
<title>{{ code }} | {{ message }}</title>
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com"/>
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&family=Fira+Mono&family=Ubuntu&display=swap" rel="stylesheet"/>
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css2?family=Red+Hat+Display:wght@500&family=Fira+Mono&family=Ubuntu&display=swap" rel="stylesheet"/>
|
||||||
<style>
|
<style>
|
||||||
/** Idea author: https://github.com/186526/CloudflareCustomErrorPage */
|
/** Idea author: https://github.com/186526/CloudflareCustomErrorPage */
|
||||||
:root{--color-bg-primary:#fff;--color-text-primary:#000;--color-text-secondary:#575958;--font-size-primary:56px;--font-size-secondary:20px;--ui-card-color-bg:#f2f2f2;--color-text-ok:#137333;--color-bg-ok:#e6f4ea;--color-text-error:#c5221f;--color-bg-error:#fce8e6;--color-text-warning:#b05a00;--color-bg-warning:#fef7e0;--icon-size:48px}
|
:root{--color-bg-primary:#fff;--color-text-primary:#000;--color-text-secondary:#575958;--font-size-primary:56px;--font-size-secondary:20px;--ui-card-color-bg:#f2f2f2;--color-text-ok:#137333;--color-bg-ok:#e6f4ea;--color-text-error:#c5221f;--color-bg-error:#fce8e6;--color-text-warning:#b05a00;--color-bg-warning:#fef7e0;--icon-size:48px}
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<title>{{ code }}: {{ message }}</title>
|
<title>{{ code }}: {{ message }}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css2?family=Open+Sans:wght@400;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
html,body {background-color:#1a1a1a;color:#fff;font-family:'Open Sans',sans-serif;height:100vh;margin:0;font-size:0}
|
html,body {background-color:#1a1a1a;color:#fff;font-family:'Open Sans',sans-serif;height:100vh;margin:0;font-size:0}
|
||||||
.container {height:100vh;align-items:center;display:flex;justify-content:center;position:relative}
|
.container {height:100vh;align-items:center;display:flex;justify-content:center;position:relative}
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<title>{{ message }}</title>
|
<title>{{ message }}</title>
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
/** Idea author: https://codepen.io/robinselmer */
|
/** Idea author: https://codepen.io/robinselmer */
|
||||||
html, body {
|
html, body {
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<title>{{ message }}</title>
|
<title>{{ message }}</title>
|
||||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css?family=Nunito" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
html,body {background-color:#222526;color:#fff;font-family:'Nunito',sans-serif;font-weight:100;height:100vh;margin:0;font-size:0}
|
html,body {background-color:#222526;color:#fff;font-family:'Nunito',sans-serif;font-weight:100;height:100vh;margin:0;font-size:0}
|
||||||
.full-height {height:100vh}
|
.full-height {height:100vh}
|
||||||
|
@ -9,8 +9,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<title>{{ message }}</title>
|
<title>{{ message }}</title>
|
||||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css?family=Nunito" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
:root {--color-bg-primary:#fff;--color-text-primary:#636b6f;--color-text-secondary:#777}
|
:root {--color-bg-primary:#fff;--color-text-primary:#636b6f;--color-text-secondary:#777}
|
||||||
@media (prefers-color-scheme: dark) {:root {--color-bg-primary:#222526;--color-text-primary:#fff;--color-text-secondary:#999}}
|
@media (prefers-color-scheme: dark) {:root {--color-bg-primary:#222526;--color-text-primary:#fff;--color-text-secondary:#999}}
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
<meta name="robots" content="noindex, nofollow"/>
|
<meta name="robots" content="noindex, nofollow"/>
|
||||||
<title>{{ message }}</title>
|
<title>{{ message }}</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css?family=Nunito+Sans" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css?family=Nunito+Sans" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
/** Codepen: https://codepen.io/kdbkapsere/pen/oNXLbqQ */
|
/** Codepen: https://codepen.io/kdbkapsere/pen/oNXLbqQ */
|
||||||
|
|
||||||
|
@ -10,8 +10,9 @@
|
|||||||
<meta name="robots" content="noindex, nofollow"/>
|
<meta name="robots" content="noindex, nofollow"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>{{ message }} ({{ code }})</title>
|
<title>{{ message }} ({{ code }})</title>
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
<link rel="dns-prefetch" href="https://fonts.bunny.net">
|
||||||
|
<link href="https://fonts.bunny.net/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet">
|
||||||
<style>
|
<style>
|
||||||
:root{--matrix-glyph-size:15px;--matrix-glyph-font-size:15px;--matrix-glyph-front-color:rgba(255, 255, 255, 0.8);--matrix-glyph-tail-color:#0f0;--matrix-overlay-color:rgba(0, 0, 0, 0.12)}
|
:root{--matrix-glyph-size:15px;--matrix-glyph-font-size:15px;--matrix-glyph-front-color:rgba(255, 255, 255, 0.8);--matrix-glyph-tail-color:#0f0;--matrix-overlay-color:rgba(0, 0, 0, 0.12)}
|
||||||
body,html{margin:0;padding:0;background-color:#000;height:100vh}
|
body,html{margin:0;padding:0;background-color:#000;height:100vh}
|
||||||
|
Loading…
Reference in New Issue
Block a user