150 lines
2.4 KiB
CSS
150 lines
2.4 KiB
CSS
/* written by minish - 2024-03 */
|
|
|
|
:root {
|
|
--accent-b: #C4B5A1;
|
|
--accent: #908576;
|
|
}
|
|
|
|
* {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
#bordeur {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: calc(100% - calc(2px * 2));
|
|
height: calc(100vh - calc(2px * 2));
|
|
z-index: -97;
|
|
|
|
margin: 2px;
|
|
|
|
border: 2px solid var(--accent);
|
|
}
|
|
|
|
#bg::before {
|
|
position: absolute;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
z-index: -98;
|
|
|
|
backdrop-filter: blur(0px);
|
|
}
|
|
|
|
#bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100vh;
|
|
z-index: -99;
|
|
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.53)), url(/assets/bg.webp);
|
|
background-attachment: fixed;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
main {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
|
|
font-size: 10pt;
|
|
line-height: 2em;
|
|
|
|
padding: 18px;
|
|
padding-bottom: 14px;
|
|
|
|
background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
|
|
|
|
border: 2px solid var(--accent);
|
|
|
|
color: #fff;
|
|
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
a:link, a:visited, a:hover, a:active {
|
|
color: var(--accent-b)
|
|
}
|
|
|
|
main * {
|
|
margin: 0px;
|
|
}
|
|
|
|
main h2 {
|
|
font-size: medium;
|
|
font-weight: lighter;
|
|
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
#icon {
|
|
float: right;
|
|
position: relative;
|
|
|
|
/* make some space around it */
|
|
margin-bottom: 6px;
|
|
margin-left: 24px;
|
|
|
|
height: 7em;
|
|
}
|
|
|
|
#yapping {
|
|
float: left;
|
|
}
|
|
|
|
ul {
|
|
list-style-position: inside;
|
|
}
|
|
|
|
li {
|
|
/* move the bulletpoint 6px inward on itself */
|
|
padding-left: 6px;
|
|
}
|
|
|
|
.interests {
|
|
display: grid;
|
|
grid-template-columns: auto auto;
|
|
}
|
|
|
|
.interests img {
|
|
height: 1.75em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
main hr {
|
|
margin-bottom: 10px;
|
|
margin-top: 12px;
|
|
|
|
border: 1px solid var(--accent);
|
|
}
|
|
|
|
#links {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
#links img {
|
|
height: 3.1em;
|
|
}
|
|
|
|
#cont {
|
|
/* This has to be here or the separator margin disappears. Dear god i have no idea what the hell i am doing. */
|
|
padding-top: 1px;
|
|
|
|
clear: both;
|
|
} |