Adjust about heading
This commit is contained in:
@@ -123,7 +123,12 @@
|
|||||||
<div class="section__content about__content">
|
<div class="section__content about__content">
|
||||||
<div class="section-head">
|
<div class="section-head">
|
||||||
<h2 class="section-title">Über mich</h2>
|
<h2 class="section-title">Über mich</h2>
|
||||||
<img src="./media/striche_blau_unter_wort.svg" alt="" aria-hidden="true" />
|
<img
|
||||||
|
class="section-head__accent section-head__accent--about"
|
||||||
|
src="./media/striche_blau_unter_wort.svg"
|
||||||
|
alt=""
|
||||||
|
aria-hidden="true"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="about__text">
|
<div class="about__text">
|
||||||
|
|||||||
11
styles.css
11
styles.css
@@ -382,6 +382,7 @@ button {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
padding-left: calc(var(--section-padding-x) + 2.5rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.about__content .section-head {
|
.about__content .section-head {
|
||||||
@@ -394,6 +395,12 @@ button {
|
|||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.section-head__accent--about {
|
||||||
|
order: -1;
|
||||||
|
margin-top: 0.4rem;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.about__content .section-head img {
|
.about__content .section-head img {
|
||||||
width: clamp(88px, 10vw, 120px);
|
width: clamp(88px, 10vw, 120px);
|
||||||
}
|
}
|
||||||
@@ -716,6 +723,10 @@ button {
|
|||||||
order: -1;
|
order: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.about__content {
|
||||||
|
padding-left: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.about__media img {
|
.about__media img {
|
||||||
aspect-ratio: 4 / 5;
|
aspect-ratio: 4 / 5;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user