portfolio-website/style.css

326 lines
5.4 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;
font-weight: 100;
2023-08-20 20:48:54 +01:00
margin: 0;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
p, li {
font-size: 1rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 20:48:54 +01:00
a {
color: #ae00d1;
text-decoration: none;
transition: all 0.1s ease-out 0s;
}
a:hover {
color: #c500ec;
}
a:active {
color: #d400ff;
}
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.15rem 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: 3rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.profile-name img {
width: 3rem;
height: 3rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.profile-name h1 {
font-size: 1.5rem;
2023-08-20 07:02:49 +01:00
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: 1rem;
2022-05-12 17:48:49 +01:00
}
2023-08-20 07:02:49 +01:00
div.social-media a img {
width: 2rem;
height: 2rem;
2023-08-20 20:48:54 +01:00
transition: box-shadow 0.2s ease-out 0s;
2023-08-20 07:02:49 +01:00
}
div.social-media a img[src="./Pictures/gmail.png"] {
width: 2.5rem;
height: 2rem;
border-radius: 0.1rem;
transition: box-shadow 0.2s ease-out 0s;
}
2023-08-20 07:02:49 +01:00
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: 1rem;
padding: 0.7rem;
2023-08-20 07:02:49 +01:00
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: 1.5rem;
2023-08-20 07:02:49 +01:00
margin: 0%;
}
div.languages-images {
width: min(10rem, 15%);
2023-08-20 20:48:54 +01:00
}
div.languages-images div {
2023-08-20 07:02:49 +01:00
display: grid;
2023-08-20 20:48:54 +01:00
grid-template-columns: repeat(2, 50%);
2023-08-20 07:02:49 +01:00
gap: 1rem;
}
div.languages-images img {
width: 100%;
height: 100%;
2023-08-20 20:48:54 +01:00
border: #00000000 0.15rem solid;
border-radius: 1rem;
transition: all 0.25s ease-out 0s;
}
div.languages-images img:hover {
border: #fff 0.15rem solid;
background-color: #5a5a5a;
}
ul {
margin: 0;
}
li {
margin-top: 1rem;
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%;
2023-08-20 20:48:54 +01:00
}
div.advertience-wrapper {
width: 20%;
padding: 1rem;
max-width: 7rem;
2023-08-20 20:48:54 +01:00
}
div.advertience-wrapper > div {
position: relative;
width: 100%;
padding-bottom: 140%;
}
div.advertience-wrapper > div > img {
position: absolute;
top: -0.6rem;
left: -0.6rem;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
padding: 0.6rem;
background-color: #fff;
border-radius: 1rem;
}
2024-07-13 23:33:15 +01:00
div.square-wrapper {
2023-08-20 20:48:54 +01:00
width: 20%;
max-width: 10rem;
2023-08-20 20:48:54 +01:00
}
2024-07-13 23:33:15 +01:00
div.square-wrapper > div {
2023-08-20 20:48:54 +01:00
position: relative;
width: 100%;
padding-bottom: 100%;
}
2024-07-13 23:33:15 +01:00
div.square-wrapper > div > img {
2023-08-20 20:48:54 +01:00
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
border-radius: 1rem;
}
2024-07-13 23:33:15 +01:00
div.rectangular-wrapper {
2023-08-20 20:48:54 +01:00
width: 50%;
max-width: 20rem;
2023-08-20 20:48:54 +01:00
}
2024-07-13 23:33:15 +01:00
div.rectangular-wrapper > div {
2023-08-20 20:48:54 +01:00
position: relative;
width: 100%;
padding-bottom: 56.25%;
}
2024-07-13 23:33:15 +01:00
div.rectangular-wrapper > div > iframe, div.rectangular-wrapper > div > img {
2023-08-20 20:48:54 +01:00
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
2024-04-09 17:18:35 +01:00
border-radius: 0.5rem;
2023-08-20 20:48:54 +01:00
}
div.course-planner-wrapper {
width: 1%;
min-width: 10rem;
}
div.course-planner-wrapper > div {
position: relative;
width: 100%;
padding-bottom: 197%;
}
div.course-planner-wrapper > div > img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
height: 100%;
width: 100%;
border-radius: 0.5rem;
}
div.experience {
display: flex;
gap: 2rem;
flex-wrap: nowrap;
2023-08-20 20:48:54 +01:00
}
div.experience-text {
2023-08-20 20:48:54 +01:00
flex-grow: 1;
}
div.experience-header {
display: flex;
2023-08-22 03:49:19 +01:00
flex-wrap: wrap;
2023-08-20 20:48:54 +01:00
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.large-list li {
font-size: 1.5rem;
}
@media only screen and (max-device-width: 700px) {
div.profile-name {
gap: 0.8rem;
height: 3rem;
}
div.profile-name img {
width: 3rem;
height: 3rem;
}
div.profile-name h1 {
font-size: 1rem;
}
div.social-media {
gap: 0.8rem;
}
div.social-media a img {
width: 1.5rem;
height: 1.5rem;
}
div.social-media a img[src="./Pictures/gmail.png"] {
width: 2.5rem;
height: 2rem;
border-radius: 0.2rem;
}
div.experience {
flex-flow: column;
}
div.languages-images {
width: 100%;
}
div.languages-images div {
grid-template-columns: repeat(3, min(33%));
}
2024-07-13 23:33:15 +01:00
div.rectangular-wrapper, div.square-wrapper, div.advertience-wrapper {
width: 100%;
2023-08-22 03:49:19 +01:00
min-width: 0;
}
.large-list li {
font-size: 1rem;
}
2022-12-06 19:15:32 +00:00
}