diff options
| author | Carson Fleming <cflems@cflems.net> | 2023-10-20 01:41:29 -0400 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2023-10-20 01:41:29 -0400 |
| commit | 383c7324f0955533b0f9eb02c80493d79c54ffb6 (patch) | |
| tree | 018c26cd6e186e99713442d6d6d52da42fc9b536 /static | |
| parent | 85bfca468c9ed736d3866c4bdd2a75edb9779fa0 (diff) | |
| download | fle.ms-383c7324f0955533b0f9eb02c80493d79c54ffb6.tar.gz | |
Fetch images from cdn; node doesnt need to do that heavy lifting
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/fonts.css | 1 | ||||
| -rw-r--r-- | static/css/standard.css | 6 | ||||
| -rw-r--r-- | static/img/chaos.jpg | bin | 665897 -> 0 bytes | |||
| -rw-r--r-- | static/img/earth.jpg | bin | 1612951 -> 0 bytes | |||
| -rw-r--r-- | static/img/lake.jpg | bin | 2353970 -> 0 bytes | |||
| -rw-r--r-- | static/img/logo.png | bin | 55444 -> 0 bytes | |||
| -rw-r--r-- | static/index.html | 4 |
7 files changed, 6 insertions, 5 deletions
diff --git a/static/css/fonts.css b/static/css/fonts.css new file mode 100644 index 0000000..26c0794 --- /dev/null +++ b/static/css/fonts.css @@ -0,0 +1 @@ +@font-face{font-family:myriad pro;font-weight:300;font-display:swap;src:url(https://cdn.cflems.net/myriad-300.woff2) format('woff2')}@font-face{font-family:myriad pro;font-weight:400;font-display:swap;src:url(https://cdn.cflems.net/myriad-400.woff2) format('woff2')}@font-face{font-family:myriad pro;font-weight:700;font-display:swap;src:url(https://cdn.cflems.net/myriad-700.woff2) format('woff2')}@font-face{font-family:dejavu sans;font-weight:200;font-display:swap;src:url(https://cdn.cflems.net/deja-200.woff2) format('woff2')}@font-face{font-family:dejavu sans;font-weight:400;font-display:swap;src:url(https://cdn.cflems.net/deja-400.woff2) format('woff2')}@font-face{font-family:roboto;font-weight:100;font-display:swap;src:url(https://cdn.cflems.net/roboto-100.woff2) format('woff2')}@font-face{font-family:roboto;font-weight:400;font-display:swap;src:url(https://cdn.cflems.net/roboto-400.woff2) format('woff2')}@font-face{font-family:roboto;font-weight:700;font-display:swap;src:url(https://cdn.cflems.net/roboto-700.woff2) format('woff2')}@font-face{font-family:source code pro;font-weight:300;font-display:swap;src:url(https://cdn.cflems.net/src-300.woff2) format('woff2')}@font-face{font-family:source code pro;font-weight:400;font-display:swap;src:url(https://cdn.cflems.net/src-400.woff2) format('woff2')}@font-face{font-family:source code pro;font-weight:700;font-display:swap;src:url(https://cdn.cflems.net/src-700.woff2) format('woff2')}:root{--cflems-ff-text-primary: 'Myriad Pro', 'PT Sans', 'Segoe UI', 'Helvetica', sans-serif;--cflems-ff-text-secondary: 'DejaVu Sans', 'Vera Sans', 'Verdana', 'Tahoma', sans-serif;--cflems-ff-text-tertiary: 'Roboto', 'Heron Sans', 'Titling Gothic', 'Arial', sans-serif;--cflems-ff-text-mono: 'Source Code Pro', 'Inconsolata', 'Courier New', 'Courier', monospace}
\ No newline at end of file diff --git a/static/css/standard.css b/static/css/standard.css index 72fa242..d854a36 100644 --- a/static/css/standard.css +++ b/static/css/standard.css @@ -12,7 +12,7 @@ body { color: #000000; background-image: linear-gradient(to bottom, #fffffff0 10%, #ffffff90 50%, #ffffff50), - url('../img/lake.jpg'); + url('https://cdn.cflems.net/fle.ms/lake.webp'); } #header { padding: 2rem 0; @@ -25,7 +25,7 @@ body { } #header #logo { padding: 0.25em 0em 0em 1.75em; - background-image: url('../img/logo.png'); + background-image: url('https://cdn.cflems.net/fle.ms/logo.webp'); background-repeat: no-repeat; background-size: contain; background-position: left center; @@ -121,7 +121,7 @@ body { color: #ffffff; background-image: linear-gradient(to top, #000000f0 20%, #00000090 50%, #00000050), - url('../img/earth.jpg'); + url('https://cdn.cflems.net/fle.ms/earth.webp'); } #content #lhs { background-color: #28282b; diff --git a/static/img/chaos.jpg b/static/img/chaos.jpg Binary files differdeleted file mode 100644 index ad8c7f4..0000000 --- a/static/img/chaos.jpg +++ /dev/null diff --git a/static/img/earth.jpg b/static/img/earth.jpg Binary files differdeleted file mode 100644 index e1a8200..0000000 --- a/static/img/earth.jpg +++ /dev/null diff --git a/static/img/lake.jpg b/static/img/lake.jpg Binary files differdeleted file mode 100644 index 1539756..0000000 --- a/static/img/lake.jpg +++ /dev/null diff --git a/static/img/logo.png b/static/img/logo.png Binary files differdeleted file mode 100644 index b71c949..0000000 --- a/static/img/logo.png +++ /dev/null diff --git a/static/index.html b/static/index.html index 4deeefb..6e5723e 100644 --- a/static/index.html +++ b/static/index.html @@ -4,8 +4,8 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="canonical" href="https://fle.ms/" /> - <link rel="icon" type="image/png" href="img/logo.png" /> - <link rel="stylesheet" type="text/css" href="https://cflems.net/css/fonts.css" /> + <link rel="icon" type="image/png" href="https://cdn.cflems.net/fle.ms/logo.webp" /> + <link rel="stylesheet" type="text/css" href="css/fonts.css" /> <link rel="stylesheet" type="text/css" href="css/standard.css" /> <link rel="stylesheet" type="text/css" href="css/mobile.css" /> <title>fle.ms</title> |
