Added fonts

Moved assets to /assets
master
Cloud9 GF4 www 2021-11-21 09:47:23 -07:00
parent 8228c6fa6d
commit bb2e9bbdfd
20 changed files with 27 additions and 9 deletions

View File

@ -111,6 +111,7 @@ module.exports = function(eleventyConfig) {
'js',
'crt',
'pem',
'ttf',
'webmanifest',
],

View File

@ -5,12 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="stylesheet" href="/base.css">
<link rel="stylesheet" href="/assets/base.css">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#020202">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon-16x16.png">
<link rel="manifest" href="/assets/site.webmanifest">
<link rel="mask-icon" href="/assets/img/safari-pinned-tab.svg" color="#020202">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#020202">
</head>

View File

@ -8,6 +8,20 @@
--black: #000;
}
/* Fonts */
@font-face {
font-family: 'vt323';
src: url('/assets/fonts/VT323-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'ShareTechMono';
src: url('/assets/fonts/ShareTechMono-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'RobotoMono';
src: url('/assets/fonts/RobotoMono-VariableFont_wght.ttf') format('truetype');
}
/* Global stylesheet */
* {
box-sizing: border-box;
@ -41,7 +55,10 @@ html {
background-color: var(--darkgray);
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--purple); }
h1, h2, h3, h4, h5, h6 {
color: var(--purple);
font-family: 'ShareTechMono', monospace;
}
pre, code, a { color: var(--lightgray); }
body {
margin: 0;
@ -52,7 +69,7 @@ main {
margin: 0 auto;
padding: 4vw calc(1em + 2vw);
max-width: calc(100vh + 10vw);
font-family: monospace;
font-family: 'RobotoMono', monospace;
}
main, h1, h2, h3, h4, h5, h6, pre, ul, ol, p, table, input, button {
background-color: rgba(2,2,2,.75);

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

View File

Before

Width:  |  Height:  |  Size: 529 B

After

Width:  |  Height:  |  Size: 529 B

BIN
_src/assets/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

View File

Before

Width:  |  Height:  |  Size: 408 KiB

After

Width:  |  Height:  |  Size: 408 KiB

View File

@ -3,12 +3,12 @@
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"src": "/assets/img/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"src": "/assets/img/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}