Files
personal-website/assets/css/styles.css
T

107 lines
1.9 KiB
CSS

* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
width: 100%;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: white;
}
body {
background-color: #252627;
}
.main {
box-sizing: border-box;
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 4rem;
padding-bottom: 2rem;
}
.profile-container {
max-width: 580px;
width: 100%;
height: 100%;
margin-left: auto;
margin-right: auto;
}
.info {
display: flex;
flex-direction: column;
align-items: center;
}
.profile-picture-container {
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
border-radius: 50%;
width: 96px;
height: 96px;
}
.profile-picture {
object-fit: cover;
width: 100%;
height: auto;
}
.profile-title {
font-weight: 100;
}
.profile-description h2 {
font-weight: lighter;
}
.links {
color: #a9a9b3;
align-items: center;
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-top: 2rem;
list-style: none;
}
.link {
background-color: #292a2d;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
color: black;
min-height: 64px;
padding-right: 44px;
padding-left: 44px;
color: inherit;
text-decoration: none;
border: 2px solid #a9a9b3;
box-shadow: 10px 10px 0 rgb(0, 0, 0);
transition: transform 0.075s ease-in-out, box-shadow 0.075s ease-in-out;
}
.link:hover,
.link:focus {
color: white;
background-color: rgba(0, 0, 0, 0.5);
transform: translateY(2px);
box-shadow: 8px 8px 0 rgb(0, 0, 0);
border-color: white;
}