0x76.dev/style.css

84 lines
1 KiB
CSS
Raw Normal View History

2024-06-08 15:05:47 +02:00
:root {
--violet: #8f00ff;
}
@font-face {
font-family: "Major Mono Display";
src: url(./MajorMonoDisplay-Regular.ttf);
}
2024-06-13 22:40:08 +02:00
@font-face {
font-family: "MPLUS Code";
src: url(./MPLUSCodeLatin-Regular.ttf);
}
2024-06-08 15:05:47 +02:00
html, body {
height: 100%;
}
2024-06-13 22:40:08 +02:00
ul {
padding: 0;
}
li {
padding-top: 0.4em;
}
2024-06-08 15:05:47 +02:00
body {
margin: 0;
2024-06-13 22:40:08 +02:00
font-family: "MPLUS Code", monospace;
2024-06-08 15:05:47 +02:00
font-weight: 400;
font-style: normal;
2024-06-13 22:40:08 +02:00
color: whitesmoke;
2024-06-08 15:05:47 +02:00
background-color: black;
2024-06-13 22:40:08 +02:00
text-align: center;
}
h1, h2, h3 {
color: var(--violet);
font-family: "Major Mono Display", monospace;
2024-06-08 15:05:47 +02:00
}
h1 {
font-size: 8rem;
}
2024-06-13 22:40:08 +02:00
a:link, a:visited {
color: inherit;
}
2024-06-08 15:05:47 +02:00
main {
height: 100%;
padding: 0;
margin: 0;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr auto;
}
header {
/* grid-row: 1; */
grid-column: 2;
2024-06-13 22:40:08 +02:00
}
section.socials {
grid-column: 2;
grid-row: 3;
}
.socials > ul {
list-style-type: none;
2024-06-08 15:05:47 +02:00
}
header > h1 {
color: var(--violet);
}
header > h1::before {
content: "0x76";
}
header > h1:hover::before {
content: "v";
}