0x76.dev/style.css

90 lines
1.1 KiB
CSS

:root {
--violet: #8f00ff;
}
@font-face {
font-family: "Major Mono Display";
src: url(./fonts/MajorMonoDisplay-Regular.ttf);
}
@font-face {
font-family: "MPLUS Code";
src: url(./fonts/MPLUSCodeLatin-Regular.ttf);
}
html,
body {
height: 100%;
}
ul {
padding: 0;
list-style-type: none;
}
li {
padding-top: 0.4em;
}
body {
margin: 0;
font-family: "MPLUS Code", monospace;
font-weight: 400;
font-style: normal;
color: whitesmoke;
background-color: black;
}
h1,
h2,
h3 {
color: var(--violet);
font-family: "Major Mono Display", monospace;
}
h1 {
font-size: min(23vw, 8rem);
}
a:link,
a:visited {
color: inherit;
}
main {
padding: 0;
margin: 0;
width: 100%;
display: flex;
text-align: center;
justify-content: center;
align-items: center;
flex-direction: column;
}
main > * {
width: min(80vw, 50rem);
}
section.first {
margin-top: 2em;
}
.socials {
width: min(20rem, 100%);
}
.socials>ul {
columns: 2;
}
header>h1 {
color: var(--violet);
}
header>h1::before {
content: "0x76";
}
header>h1:hover::before {
content: "v";
}