use {{ now }} instead of {{ .Site.Params.version }}; added errorpages

This commit is contained in:
Vrifox 2020-09-22 15:18:28 +02:00
parent fb24b7e480
commit 6cf10d85cd
12 changed files with 316 additions and 74 deletions

View file

@ -0,0 +1,109 @@
* {
box-sizing: border-box; }
@font-face {
font-family: PoppinsLatin;
src: url(/fonts/PoppinsLatin-Regular.otf); }
html {
scrollbar-width: thin;
scrollbar-color: #ff8282 #3c3c5a;
overflow-x: hidden;
overflow-y: scroll; }
body {
background: #28283c;
color: #f0f0ff;
margin: 0;
font-family: PoppinsLatin, Monaco, Lucida Console, monospace;
display: grid; }
a {
color: #ff8282;
text-decoration: none; }
a:hover {
text-decoration: underline; }
.container {
width: calc(100% - 40px);
max-width: 1140px;
margin: 0 auto; }
main {
width: 100vw; }
nav {
background: #3c3c5a;
white-space: nowrap;
overflow-x: auto; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px 0 10px 30px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
@media (max-width: 600px) {
nav .container {
max-width: none; }
nav .container .website-nav {
padding: 0 20px; } }
header {
text-align: center;
margin: 150px 0; }
header h1 {
font-size: 2em; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px;
white-space: nowrap;
overflow-x: auto; }
footer .container {
display: flex;
align-items: center; }
footer .container .website-subnav {
margin-left: auto; }
footer .container .website-subnav ul {
display: flex;
padding: 0; }
footer .container .website-subnav li {
list-style-type: none;
padding: 10px 0 10px 30px; }
footer .container .website-subnav a {
color: #c8c8e6; }
footer::after {
content: '';
background: #1e1e2d;
position: fixed;
height: 10000px;
width: 100vw;
overflow: hidden; }
@media (max-width: 600px) {
footer .container {
max-width: none; }
footer .container .website-version {
order: 2;
padding: 10px 20px; }
footer .container .website-subnav li {
padding: 10px 30px 10px 0; } }

View file

@ -0,0 +1 @@
{"Target":"scss/404.css","MediaType":"text/css","Data":{}}

View file

@ -7,15 +7,16 @@
html {
scrollbar-width: thin;
scrollbar-color: #ff8282 #3c3c5a; }
scrollbar-color: #ff8282 #3c3c5a;
overflow-x: hidden;
overflow-y: scroll; }
body {
background: #28283c;
color: #f0f0ff;
margin: 0;
font-family: PoppinsLatin, Monaco, Lucida Console, monospace;
display: grid;
overflow-x: hidden; }
display: grid; }
a {
color: #ff8282;

View file

@ -0,0 +1,109 @@
* {
box-sizing: border-box; }
@font-face {
font-family: PoppinsLatin;
src: url(/fonts/PoppinsLatin-Regular.otf); }
html {
scrollbar-width: thin;
scrollbar-color: #ff8282 #3c3c5a;
overflow-x: hidden;
overflow-y: scroll; }
body {
background: #28283c;
color: #f0f0ff;
margin: 0;
font-family: PoppinsLatin, Monaco, Lucida Console, monospace;
display: grid; }
a {
color: #ff8282;
text-decoration: none; }
a:hover {
text-decoration: underline; }
.container {
width: calc(100% - 40px);
max-width: 1140px;
margin: 0 auto; }
main {
width: 100vw; }
nav {
background: #3c3c5a;
white-space: nowrap;
overflow-x: auto; }
nav .container {
display: flex;
align-items: center; }
nav .container .website-name a {
color: whitesmoke;
text-decoration: none;
background: #ff8282;
padding: 5px 10px;
border-radius: 20px;
text-shadow: #ff6464 2px 2px; }
nav .container .website-nav {
margin-left: auto; }
nav .container .website-nav ul {
display: flex;
padding: 0; }
nav .container .website-nav li {
list-style-type: none;
padding: 10px 0 10px 30px; }
nav .container .website-nav a {
color: whitesmoke;
text-decoration: none; }
@media (max-width: 600px) {
nav .container {
max-width: none; }
nav .container .website-nav {
padding: 0 20px; } }
header {
text-align: center;
margin: 150px 0; }
header h1 {
font-size: 2em; }
footer {
background: #1e1e2d;
color: #c8c8e6;
margin-top: 100px;
white-space: nowrap;
overflow-x: auto; }
footer .container {
display: flex;
align-items: center; }
footer .container .website-subnav {
margin-left: auto; }
footer .container .website-subnav ul {
display: flex;
padding: 0; }
footer .container .website-subnav li {
list-style-type: none;
padding: 10px 0 10px 30px; }
footer .container .website-subnav a {
color: #c8c8e6; }
footer::after {
content: '';
background: #1e1e2d;
position: fixed;
height: 10000px;
width: 100vw;
overflow: hidden; }
@media (max-width: 600px) {
footer .container {
max-width: none; }
footer .container .website-version {
order: 2;
padding: 10px 20px; }
footer .container .website-subnav li {
padding: 10px 30px 10px 0; } }

View file

@ -0,0 +1 @@
{"Target":"scss/errorpages.css","MediaType":"text/css","Data":{}}

View file

@ -7,15 +7,16 @@
html {
scrollbar-width: thin;
scrollbar-color: #ff8282 #3c3c5a; }
scrollbar-color: #ff8282 #3c3c5a;
overflow-x: hidden;
overflow-y: scroll; }
body {
background: #28283c;
color: #f0f0ff;
margin: 0;
font-family: PoppinsLatin, Monaco, Lucida Console, monospace;
display: grid;
overflow-x: hidden; }
display: grid; }
a {
color: #ff8282;