small fixes and better ui and performance
This commit is contained in:
parent
6bde08cf67
commit
f7f008cc89
@ -13,7 +13,7 @@ input {
|
||||
width: 500px;
|
||||
font-size: 25px;
|
||||
padding: 20px;
|
||||
border-radius: 20px;
|
||||
border-radius: 10px;
|
||||
background: var(--dark-two);
|
||||
border: none;
|
||||
color: white;
|
||||
|
@ -29,9 +29,9 @@ main {
|
||||
gap: 20px;
|
||||
padding: 40px;
|
||||
cursor: pointer;
|
||||
transition: 0.4s;
|
||||
height: 100px;
|
||||
width: 450px;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
main:hover {
|
||||
|
@ -32,9 +32,9 @@ main {
|
||||
color: var(--white);
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
transition: 0.4s;
|
||||
width: 80%;
|
||||
cursor: pointer;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
main:hover {
|
||||
|
@ -1,9 +1,10 @@
|
||||
// https://v2.nuxt.com/deployments/pm2/
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "My Website",
|
||||
name: "ngn13.fun website",
|
||||
exec_mode: "cluster",
|
||||
instances: "max", // Or a number of instances
|
||||
instances: "max",
|
||||
script: "./node_modules/nuxt/bin/nuxt.js",
|
||||
args: "start"
|
||||
}
|
||||
|
@ -1,5 +1,10 @@
|
||||
<template>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ["error"],
|
||||
layout: "error",
|
||||
mounted() {
|
||||
this.$router.push({ path: "/" })
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ export default {
|
||||
},
|
||||
meta: [
|
||||
{ charset: "utf-8" },
|
||||
{ name: "viewport", content: "width=device-width, initial-scale=1" },
|
||||
{ name: "viewport", content: "width=1200" },
|
||||
{ hid: "description", name: "description", content: "" },
|
||||
{ name: "format-detection", content: "telephone=no" },
|
||||
{ hid: "og:title", content: "[ngn]" },
|
||||
@ -18,16 +18,11 @@ export default {
|
||||
{ hid: "og:url", content: "https://ngn13.fun" },
|
||||
{ name: "theme-color", content: "#141414", "data-react-helmet": "true" }
|
||||
],
|
||||
|
||||
link: [
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: "https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css"
|
||||
href: "https://files.ngn13.fun/boxicons.min.css",
|
||||
},
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/5.2.0/github-markdown-dark.css"
|
||||
}
|
||||
]
|
||||
},
|
||||
css: ["@/static/global.css"],
|
||||
|
@ -21,7 +21,7 @@ import marked from "marked"
|
||||
export default {
|
||||
head() {
|
||||
return {
|
||||
title: "[ngn] | " + this.post.title,
|
||||
title: "[ngn] | blog",
|
||||
meta: [
|
||||
{
|
||||
hid: "description",
|
||||
@ -82,8 +82,9 @@ p {
|
||||
.markdown-body {
|
||||
font-size: 25px;
|
||||
padding: 50px;
|
||||
border-radius: 15px;
|
||||
background-color: var(--dark-three);
|
||||
border-radius: 10px;
|
||||
background-color: var(--dark-two);
|
||||
box-shadow: var(--def-shadow);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
<Logout v-if="logged" />
|
||||
<div class="version">
|
||||
<p>v2.5</p>
|
||||
<p>v2.6</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
64
static/font.css
Normal file
64
static/font.css
Normal file
@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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
|
||||
*/
|
||||
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
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;
|
||||
}
|
||||
/* 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/cyrillic-ext.woff2
Normal file
BIN
static/fonts/cyrillic-ext.woff2
Normal file
Binary file not shown.
BIN
static/fonts/cyrillic.woff2
Normal file
BIN
static/fonts/cyrillic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/greek-ext.woff2
Normal file
BIN
static/fonts/greek-ext.woff2
Normal file
Binary file not shown.
BIN
static/fonts/greek.woff2
Normal file
BIN
static/fonts/greek.woff2
Normal file
Binary file not shown.
BIN
static/fonts/latin-ext.woff2
Normal file
BIN
static/fonts/latin-ext.woff2
Normal file
Binary file not shown.
BIN
static/fonts/latin.woff2
Normal file
BIN
static/fonts/latin.woff2
Normal file
Binary file not shown.
1007
static/github.css
Normal file
1007
static/github.css
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300&display=swap");
|
||||
@import url("./font.css");
|
||||
@import url("./github.css");
|
||||
|
||||
:root {
|
||||
--white: white;
|
||||
@ -8,9 +9,13 @@
|
||||
--dark-four: #242526;
|
||||
--dark-fife: #3a3b3c;
|
||||
--border-rad: 30px;
|
||||
/*
|
||||
old shadow animation
|
||||
--def-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
|
||||
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;
|
||||
}
|
||||
|
||||
* {
|
||||
|
Loading…
x
Reference in New Issue
Block a user