Bind about title accent
This commit is contained in:
16
index.html
16
index.html
@@ -124,13 +124,15 @@
|
||||
|
||||
<div class="section__content about__content">
|
||||
<div class="section-head">
|
||||
<h2 class="section-title">Über mich</h2>
|
||||
<img
|
||||
class="section-head__accent section-head__accent--about"
|
||||
src="./media/striche_blau_unter_wort.svg"
|
||||
alt=""
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div class="section-title-lockup section-title-lockup--about">
|
||||
<h2 class="section-title">Über mich</h2>
|
||||
<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">
|
||||
|
||||
@@ -420,6 +420,11 @@ button {
|
||||
margin-left: 5.25rem;
|
||||
}
|
||||
|
||||
.about__content .section-head .section-title-lockup--about {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.about__content .section-head .section-title {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
@@ -429,7 +434,7 @@ button {
|
||||
|
||||
.section-head__accent--about {
|
||||
position: absolute;
|
||||
top: calc(0.4rem + 50px);
|
||||
top: calc(0.4rem + 30px);
|
||||
left: calc(-7.5rem - 10px);
|
||||
z-index: 0;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user