simponic.xyz/css/styles.css

102 lines
1.6 KiB
CSS
Raw Normal View History

2022-02-18 19:08:34 -05:00
body {
margin: 0;
2024-03-14 01:26:52 -04:00
background-color: #ab6f94;
2024-04-23 20:26:31 -04:00
font-family: "Trebuchet MS", sans-serif;
2022-02-18 19:08:34 -05:00
}
.top-container {
text-align: center;
2024-04-23 20:26:31 -04:00
height: 100vh;
2022-02-18 19:08:34 -05:00
padding: 24px;
}
.profile-picture {
width: 100%;
border-radius: 50%;
2022-04-26 19:43:04 -04:00
max-width: 40vh;
2024-04-23 20:26:31 -04:00
max-height: 40vh;
box-shadow:
0 10px 16px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
2022-02-18 19:08:34 -05:00
}
.projects-grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
padding: 24px;
gap: 12px;
}
.project {
text-decoration: none;
color: black;
border-radius: 8px;
flex: 1;
2024-04-23 20:26:31 -04:00
background-color: #7ac2aa;
2022-02-18 19:08:34 -05:00
display: flex;
2024-04-23 20:26:31 -04:00
box-shadow:
0 8px 12px 0 rgba(0, 0, 0, 0.2),
0 6px 12px 0 rgba(0, 0, 0, 0.17);
2022-02-18 19:08:34 -05:00
min-width: 300px;
transition: transform 250ms;
padding: 12px;
gap: 12px;
}
.project:hover {
2024-04-23 20:26:31 -04:00
background-color: #6dad98;
2022-02-18 19:08:34 -05:00
transform: translateY(-8px);
cursor: pointer;
}
.project-logo-container {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
}
.project-body {
flex: 5;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: left;
}
2024-04-23 20:26:31 -04:00
.about {
margin-left: auto;
margin-right: auto;
flex: 1;
background-color: var(--background-color-2);
border: 1px solid var(--border-color);
padding: 10px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
gap: 20px;
2024-04-23 20:32:00 -04:00
max-width: 660px;
2024-04-23 20:26:31 -04:00
line-break: anywhere;
}
.about-text {
flex: 4;
text-align: left;
}
.avatar {
flex: 2;
}
@media (max-width: 500px) {
.about {
flex-direction: column;
gap: 12px;
}
}