refinement/static/style.css

147 lines
2.2 KiB
CSS

@font-face {
font-family: Lilex;
src: url(./fonts/Lilex-Regular.ttf) format("truetype");
}
@font-face {
font-family: "Terminess Nerd Font";
src: url("./fonts/TerminessNerdFont-Regular.ttf") format("truetype");
}
body {
font-family: Lilex;
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #1e1e1e;
color: #aeaeae;
}
.image-container {
width: 8rem;
height: 8rem;
border-radius: 3rem;
overflow: hidden;
position: relative;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
transform: scale(1.2);
transform-origin: top center;
}
.top-level div {
display: flex;
align-items: center;
gap: 2em;
}
.link-item {
display: flex;
align-items: center;
gap: 15px;
}
.link-item a {
text-decoration: none;
font-weight: bolder;
display: flex;
color: #aeaeae;
align-items: center;
}
.link-item a:hover,
h2:hover {
color: #d4d4d4;
}
.icon {
font-family: "Terminess Nerd Font";
font-size: 1.3em;
padding-bottom: 0.5rem;
}
.icon:before {
margin-right: 30px;
}
.mail-icon:before {
content: "\f42f";
font-size: 1.5em;
padding-right: 6px;
}
.github-icon:before {
content: "\f09b";
font-size: 1.5em;
padding-right: 6px;
}
.gitea-icon:before {
content: "\e702";
font-size: 2em;
padding-right: 1px;
}
.paste-icon:before {
content: "\f429";
font-size: 1.5em;
padding-right: 4px;
padding-left: 4px;
}
.mastodon-icon:before {
content: "\edc0";
font-size: 2em;
}
.blog-icon:before {
content: "\f01f";
font-size: 1.5em;
padding-right: 8px;
/* padding-left: 4px; */
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
color: #777;
}
h2 {
font-size: 2.5em;
}
.link-item {
width: fit-content;
}
.bottom-level {
width: fit-content;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
hr {
margin: 2.3em auto;
}
.icon:before {
font-size: 1.3em;
width: 0;
width: fit-content;
padding: 0;
margin-right: 3rem;
position: relative;
transform: translateX(50%);
}