You're not currently using any of the nerd font features but I *think* if you do then hte system will fall back to the nerd font when needed with this css change still??
169 lines
3.1 KiB
CSS
169 lines
3.1 KiB
CSS
:root {
|
|
--background-color: #922950;
|
|
--text-color: #922950;
|
|
--link-text-color: #ff005d;
|
|
--link-hover-color: #ce3e6b;
|
|
--border-color: #ce3e6b;
|
|
--content-background-color: #fe76b0;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
image-rendering: pixelated;
|
|
image-rendering: crisp-edges;
|
|
image-rendering: -moz-crisp-edges;
|
|
image-rendering: -o-crisp-edges;
|
|
|
|
}
|
|
@font-face {
|
|
font-family: 'ShureTechMono Nerd Font';
|
|
src:
|
|
local("Share Tech Mono"),
|
|
local("ShureTechMono Nerd Font"),
|
|
url(/assets/ShareTechMono-Regular.ttf),
|
|
url(/assets/ShureTechMonoNerdFont-Regular.ttf);
|
|
}
|
|
body {
|
|
font-family: 'ShureTechMono Nerd Font', monospace;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--link-text-color);
|
|
}
|
|
a:hover {
|
|
color: var(--link-hover-color);
|
|
}
|
|
|
|
.block {
|
|
background-color: var(--content-background-color);
|
|
|
|
font-size: 24px;
|
|
width: 75%;
|
|
margin: 0 auto;
|
|
margin-bottom: 10%;
|
|
padding: 40px;
|
|
border: 4px solid var(--border-color);
|
|
box-shadow: var(--border-color) 10px 10px;
|
|
}
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
#menu {
|
|
width: 80%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
margin: 10vh 0;
|
|
margin-top: 0;
|
|
}
|
|
nav {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
nav ul {
|
|
display: flex;
|
|
flex-direction: row;
|
|
list-style-type: none;
|
|
}
|
|
nav ul li {
|
|
margin: 0 20px;
|
|
}
|
|
nav ul li a {
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-size: 24px;
|
|
}
|
|
nav ul li a:hover {
|
|
color: var(--border-color);
|
|
}
|
|
#pageContent {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 80%;
|
|
justify-content: center;
|
|
}
|
|
#content {
|
|
width: 50%;
|
|
height: fit-content;
|
|
overflow-y: auto;
|
|
overflow-wrap: break-word;
|
|
word-wrap: normal;
|
|
word-break: break-word;
|
|
hyphens: none;
|
|
|
|
}
|
|
#image {
|
|
width: 50%;
|
|
height: 120vh;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: flex-end;
|
|
}
|
|
#image img {
|
|
height: 100%;
|
|
}
|
|
#footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
#buttonContainer {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 20px;
|
|
padding: 10px;
|
|
}
|
|
#buttonContainer img {
|
|
height: 100%;
|
|
}
|
|
#footer p {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: 24px;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
@media screen and (max-width: 900px) {
|
|
body {
|
|
|
|
}
|
|
#content, #image {
|
|
height: auto;
|
|
width: 100%;
|
|
}
|
|
#image {
|
|
position: fixed;
|
|
top: 20vh;
|
|
left: 10vw;
|
|
width: 90vw;
|
|
height: 90vh;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
#image img {
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
#menu {
|
|
flex-direction: column;
|
|
margin: 5vh 0;
|
|
|
|
}
|
|
nav ul {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
nav ul li {
|
|
margin: 10px 0;
|
|
}
|
|
nav ul li a {
|
|
font-size: 48px !important;
|
|
}
|
|
}
|