initial sveltekit setup
This commit is contained in:
@@ -1,64 +1,13 @@
|
||||
/*
|
||||
* this what you would get from google fonts, i downloaded all the fonts and
|
||||
* placed them in static/fonts because google fonts made my website load
|
||||
* slower lol
|
||||
*
|
||||
* you can get the original css at:
|
||||
* https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap
|
||||
* fonts are located under /static/fonts, they are from nerdfonts
|
||||
* see nerdfonts.com
|
||||
*
|
||||
*/
|
||||
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-family: "Ubuntu";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/cyrillic-ext.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
src: url("/fonts/UbuntuNerdFont-Regular.ttf");
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/cyrillic.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/greek-ext.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/greek.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/latin-ext.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url(./fonts/latin.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
BIN
static/fonts/UbuntuNerdFont-Bold.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-BoldItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-Condensed.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Condensed.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-Italic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Italic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-Light.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Light.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-LightItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-LightItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-Medium.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Medium.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-MediumItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFont-Regular.ttf
Normal file
BIN
static/fonts/UbuntuNerdFont-Regular.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Bold.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-BoldItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Condensed.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Condensed.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Italic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Italic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Light.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Light.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-LightItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-LightItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Medium.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Medium.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-MediumItalic.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-MediumItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/UbuntuNerdFontPropo-Regular.ttf
Normal file
BIN
static/fonts/UbuntuNerdFontPropo-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -666,7 +666,7 @@
|
||||
.markdown-body span.float-left span {
|
||||
margin: 13px 0 0;
|
||||
}
|
||||
|
||||
https://github.com/ngn13/ngn13.fun/raw/main/static/fonts/latin.woff2
|
||||
.markdown-body span.float-right {
|
||||
display: block;
|
||||
float: right;
|
||||
|
@@ -1,12 +1,12 @@
|
||||
@import url("./font.css");
|
||||
@import url("./github.css");
|
||||
@import "./font.css";
|
||||
@import "./github.css";
|
||||
|
||||
:root {
|
||||
--white: white;
|
||||
--dark-one: #141414;
|
||||
--dark-two: #18191a;
|
||||
--dark-three: #282828;
|
||||
--dark-four: #242526;
|
||||
--dark-one: black;
|
||||
--dark-two: #050505;
|
||||
--dark-three: #121212;
|
||||
--dark-four: #101010;
|
||||
--dark-fife: #3a3b3c;
|
||||
--border-rad: 30px;
|
||||
/*
|
||||
@@ -15,7 +15,8 @@
|
||||
rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
|
||||
rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||
*/
|
||||
--def-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
--text-shadow: 0px 10px 20px rgba(90, 90, 90, 0.8);
|
||||
--box-shadow: rgba(20, 20, 20, 0.19) 0px 10px 20px, rgba(30, 30, 30, 0.23) 0px 6px 6px;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -30,7 +31,7 @@ body {
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
background: #141414;
|
||||
background: var(--dark-one);
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -295,9 +296,8 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
.glitch {
|
||||
c {
|
||||
animation-name: colorAnimation;
|
||||
animation-iteration-count: infinite;
|
||||
animation-duration: 10s;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user