portfolio-website/style.css
2023-08-20 02:02:49 -04:00

119 lines
1.9 KiB
CSS

body {
background-color: #353535;
margin: 0;
height: 100vh;
}
main {
display: flex;
flex-flow: column;
height: 100%;
}
p, h1, h2, h3, h4, h5, h6, li {
color: #fff;
font-family: 'Roboto Slab', sans-serif;
}
p, li {
font-size: 1.5rem;
}
div.header {
display: flex;
flex: 0 1 auto;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1rem;
padding: 1rem;
border-bottom: 0.25rem solid #fff;
}
div.profile-name {
display: flex;
align-items: center;
gap: 1rem;
height: 5rem;
}
div.profile-name img {
width: 5rem;
height: 5rem;
}
div.profile-name h1 {
font-size: 3rem;
padding: 0%;
}
div.social-media {
display: flex;
align-items: center;
gap: 1.5rem;
}
div.social-media a img {
width: 3rem;
height: 3rem;
transition: box-shadow 0.25s ease-out 0s;
}
div.social-media a:hover img {
box-shadow: 0 20px 25px -5px rgb(255 255 255 / 0.1);
}
img.profile-picture {
width: 10rem;
height: 10rem;
}
div.content {
display: flex;
flex: 1 1 auto;
overflow-y: auto;
padding: 1rem;
}
div.content > div {
display: flex;
width: 100%;
flex-flow: column;
gap: 1rem;
}
div.section {
display: flex;
flex-flow: column;
gap: 2rem;
padding: 1rem;
border-radius: 0.5rem;
border: #18181800 0.15rem solid;
transition: all 0.25s ease-out 0s;
}
div.section:hover {
border-color: #181818;
background-color: #414141;
}
div.section h2 {
font-size: 2rem;
margin: 0%;
}
div.languages-images {
display: grid;
grid-template-columns: repeat(2, 6rem);
grid-template-rows: repeat(3, 6rem);
gap: 1rem;
}
div.languages-images img {
width: 100%;
height: 100%;
}
li li {
font-size: 90%;
}