min.rip-rel/style.css

164 lines
2.4 KiB
CSS
Raw Normal View History

2024-03-30 16:08:14 -05:00
/* written by minish - 2024-03 */
2024-03-29 20:35:30 -05:00
:root {
2024-04-01 14:34:45 -05:00
--accent-b: #c4b5a1;
2024-03-29 20:35:30 -05:00
--accent: #908576;
}
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body {
overflow: hidden;
}
#bordeur {
position: absolute;
top: 0;
left: 0;
2024-04-22 20:04:26 -05:00
width: calc(100vw - calc(2px * 2));
2024-03-29 20:35:30 -05:00
height: calc(100vh - calc(2px * 2));
margin: 2px;
border: 2px solid var(--accent);
}
#bg::before {
position: absolute;
content: "";
top: 0;
left: 0;
2024-04-22 20:04:26 -05:00
width: 100vw;
2024-03-29 20:35:30 -05:00
height: 100vh;
2024-04-22 20:04:26 -05:00
/* backdrop-filter: blur(2px); */
2024-03-29 20:35:30 -05:00
}
#bg {
position: absolute;
top: 0;
left: 0;
2024-04-22 20:04:26 -05:00
width: 100vw;
2024-03-29 20:35:30 -05:00
height: 100vh;
2024-03-30 17:16:57 -05:00
background-image: linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.53)), url(/assets/bg.webp);
2024-03-29 20:35:30 -05:00
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
main {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2024-04-22 20:04:26 -05:00
display: flex;
flex-direction: column;
2024-03-29 20:35:30 -05:00
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;
}
2024-04-22 20:04:26 -05:00
@media only screen and (max-width: 700px) {
main {
min-width: 90dvw;
}
#bordeur {
border-width: 0px;
}
#icon {
display: none;
}
2024-03-29 20:35:30 -05:00
}
2024-04-22 20:04:26 -05:00
a:link,
a:visited,
a:hover,
a:active {
color: var(--accent-b)
2024-03-29 20:35:30 -05:00
}
2024-04-22 20:04:26 -05:00
h2 {
2024-03-29 20:35:30 -05:00
font-size: medium;
font-weight: lighter;
margin-bottom: 4px;
}
2024-04-22 20:04:26 -05:00
#floats {
display: flex;
}
2024-03-29 20:35:30 -05:00
#icon {
2024-04-22 20:04:26 -05:00
justify-self: right;
2024-03-29 20:35:30 -05:00
/* make some space around it */
margin-left: 24px;
2024-03-29 23:42:40 -05:00
height: 7em;
2024-03-29 20:35:30 -05:00
}
#yapping {
2024-04-22 20:04:26 -05:00
justify-self: right;
2024-03-29 20:35:30 -05:00
}
ul {
list-style-position: inside;
}
li {
/* move the bulletpoint 6px inward on itself */
padding-left: 6px;
}
2024-03-30 16:03:41 -05:00
.interests {
display: grid;
grid-template-columns: auto auto;
}
2024-03-29 20:35:30 -05:00
.interests img {
height: 1.75em;
vertical-align: middle;
}
2024-04-22 20:04:26 -05:00
hr {
2024-03-29 20:35:30 -05:00
margin-bottom: 10px;
margin-top: 12px;
border: 1px solid var(--accent);
}
#links {
display: flex;
justify-content: space-around;
}
#links img {
height: 3.1em;
}
#cont {
padding-top: 1px;
2024-04-22 20:04:26 -05:00
margin-top: auto;
2024-03-29 20:35:30 -05:00
}