frontpage/styles/Blog/AboutMe.module.scss

172 lines
2.8 KiB
SCSS
Raw Permalink Normal View History

2022-10-29 21:00:38 +02:00
.personal {
p {
line-height: 1.5;
}
p:first-of-type {
font-size: 1.2em;
}
}
2022-10-20 17:48:27 +02:00
.percentBar {
position: relative;
height: 1em;
width: 100%;
border-radius: 0.5em;
border: 1px solid var(--blog_content-border);
background: transparent;
.front {
border-radius: 0.5em;
height: 100%;
position: absolute;
2022-10-23 17:23:05 +02:00
background: var(--bar-color, var(--blog_color-accent));
2022-10-20 17:48:27 +02:00
animation: barFill 2s ease-in-out;
animation-fill-mode: forwards;
}
}
2022-10-20 23:43:44 +02:00
.badgeSet {
display: flex;
flex-direction: row;
2022-11-03 11:36:19 +01:00
flex-wrap: wrap;
2022-10-23 17:23:05 +02:00
}
.achievement {
display: grid;
grid-template-columns: 2em auto;
column-gap: 10px;
padding: 5px;
2022-10-29 21:00:38 +02:00
padding-left: 0;
2022-10-23 17:23:05 +02:00
& > span:first-of-type {
height: 2em;
}
2022-10-20 23:43:44 +02:00
}
.badge {
display: grid;
grid-template-columns: 1em auto;
column-gap: 5px;
border: 1px solid var(--blog_content-border);
border-radius: 0.5em;
padding: 5px;
2022-10-24 23:53:00 +02:00
background: var(--badge-bg, transparent);
color: var(--badge-color, inherit);
2022-10-27 09:01:52 +02:00
margin-right: 10px;
2022-11-03 11:36:19 +01:00
margin-top: 10px;
2022-10-27 09:01:52 +02:00
&:last-of-type {
margin-right: 0;
}
2022-10-23 17:23:05 +02:00
& > span {
align-self: center;
}
& > span:first-of-type {
height: 1em;
}
2022-10-20 23:43:44 +02:00
}
2022-10-20 17:48:27 +02:00
@keyframes barFill {
0% {
width: 1em;
}
100% {
width: var(--barPct);
}
2022-10-23 17:23:05 +02:00
}
.skillCard {
padding: 10px;
border: 1px solid var(--blog_content-border);
border-radius: 0.5em;
2022-10-27 09:01:52 +02:00
box-shadow: 2px 2px 5px 0px var(--blog_color);
2022-10-23 17:23:05 +02:00
margin-bottom: 20px;
h3 {
margin: 0;
color: var(--ch-color) !important;
}
&:last-of-type {
margin-bottom: 0;
}
&.useDarkColor {
color: #222;
}
&.useLightColor {
color: #ddd;
}
}
.skillBar {
display: grid;
grid-template-columns: 2em auto;
column-gap: 10px;
padding: 10px;
margin: 10px 0;
& > div {
align-self: center;
}
& > div:first-of-type {
height: 2em;
grid-row: 1/3;
}
& > div:nth-of-type(3) {
text-align: center;
2022-10-27 09:01:52 +02:00
margin-top: -2px;
2022-10-23 17:23:05 +02:00
font-size: small;
}
&:last-of-type {
margin-bottom: 0;
}
2022-10-29 21:00:38 +02:00
}
.socials {
display: flex;
flex-direction: row;
2022-11-03 11:36:19 +01:00
flex-wrap: wrap;
2022-10-29 21:00:38 +02:00
align-items: center;
& > * {
margin-right: 30px;
}
& > *:last-of-type {
margin-right: 0;
}
}
.photo {
float: right;
position: relative;
height: max-content;
width: 100%;
max-width: 250px;
border-radius: 1em;
2022-10-29 21:02:36 +02:00
margin-left: 20px;
margin-bottom: 20px;
2022-10-29 21:00:38 +02:00
& * {
border-radius: 1em;
}
@media screen and (max-width: 500px) {
& {
float: none;
margin: 0 auto;
max-width: 100%;
border-radius: 1em;
2022-10-29 21:02:36 +02:00
margin-left: 0;
2022-10-29 21:00:38 +02:00
}
}
}