portfolio-website/style.css

119 lines
1.9 KiB
CSS
Raw Normal View History

2022-05-12 17:48:49 +01:00
body {
2023-08-20 07:02:49 +01:00
background-color: #353535;
margin: 0;
height: 100vh;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
main {
display: flex;
flex-flow: column;
height: 100%;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
p, h1, h2, h3, h4, h5, h6, li {
color: #fff;
font-family: 'Roboto Slab', sans-serif;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
p, li {
font-size: 1.5rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
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;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.profile-name {
display: flex;
align-items: center;
gap: 1rem;
height: 5rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.profile-name img {
width: 5rem;
height: 5rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.profile-name h1 {
font-size: 3rem;
padding: 0%;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.social-media {
display: flex;
align-items: center;
gap: 1.5rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
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;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
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%;
2022-05-12 17:48:49 +01:00
}
2022-12-06 19:15:32 +00:00
2023-08-20 07:02:49 +01:00
li li {
font-size: 90%;
2022-12-06 19:15:32 +00:00
}