bigger update

This commit is contained in:
2023-06-17 15:58:42 +02:00
parent 5c1910292e
commit 03d46cb73a
19 changed files with 384 additions and 0 deletions

25
sass/_fonts.scss Normal file
View File

@ -0,0 +1,25 @@
@font-face {
font-family: open-sans;
font-weight: normal;
font-style: normal;
src: url('fonts/open-sans-regular.woff2') format('woff2'),
url('fonts/open-sans-regular.woff') format('woff'),
url('fonts/open-sans-regular.ttf') format('truetype');
}
@font-face {
font-family: open-sans;
font-weight: normal;
font-style: italic;
src: url('fonts/open-sans-italic.woff2') format('woff2'),
url('fonts/open-sans-italic.woff') format('woff'),
url('fonts/open-sans-italic.ttf') format('truetype');
}
@font-face {
font-family: open-sans;
font-weight: bold;
font-style: normal;
src: url('fonts/open-sans-bold.woff2') format('woff2'),
url('fonts/open-sans-bold.woff') format('woff'),
url('fonts/open-sans-bold.ttf') format('truetype');
}

5
sass/content.scss Normal file
View File

@ -0,0 +1,5 @@
.content {
display: flex;
flex-direction: column;
margin: 2rem 8rem;
}

34
sass/home.scss Normal file
View File

@ -0,0 +1,34 @@
.content {
margin-block: auto;
}
.home {
margin-top: 5rem;
font-size: 1.2rem;
section {
text-align: center;
}
a {
color: lightblue;
cursor: pointer;
text-decoration: underline;
}
#pgp {
cursor: pointer;
}
#pgpmobile {
display: none;
}
}
@media (max-width: 600px) {
#pgp {
display: none;
}
#pgpmobile {
display: inline-block;
}
}

89
sass/style.scss Normal file
View File

@ -0,0 +1,89 @@
body {
--base-padding: .5rem 1rem;
--base-margin: 2rem;
--background: #111111;
--color: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: 'Source Code Pro', monospace;
background: var(--background);
color: var(--color);
}
html {
overflow-y: scroll !important;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
scroll-behavior: smooth;
}
*::-webkit-scrollbar {
width: 5px;
}
*::-webkit-scrollbar-thumb {
background-color: #ffffff;
border-radius: 20px;
}
*::-webkit-scrollbar-track {
background: #000000;
}
nav {
position: relative;
display: flex;
padding: 1rem;
justify-content: space-between;
isolation: isolate;
.logo img {
height: 3rem;
}
.links {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
z-index: -1;
color: var(--color);
font-size: 1.3rem;
}
}
a { color: var(--color); }
a:visited { color: var(--color); }
a:hover { color: red; }
@media (min-width: 400px) {
nav .links {
position: absolute;
inset: 0;
}
}
/*
.content {
padding: 2rem 1rem;
}
*/
footer {
display: flex;
width: 100vw;
flex-direction: column;
justify-content: center;
align-items: center;
align-self: flex-end;
margin-top: auto;
margin-bottom: 2rem;
}