mirror of
https://github.com/status-im/artproject.git
synced 2025-02-22 12:48:09 +00:00
Fix html closing tag bug, and hero overflowing text
This commit is contained in:
parent
209641bc22
commit
481e55270a
@ -36,7 +36,7 @@
|
||||
|
||||
<a href="#" class="project__link">
|
||||
{{ project.nextSectionLink }}
|
||||
</div>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -27,11 +27,15 @@ body {
|
||||
z-index: 1;
|
||||
font-family: $title-font-family;
|
||||
font-size: 36px;
|
||||
text-align: center;
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
&--upper {
|
||||
transform: translate(-35%, 0);
|
||||
}
|
||||
|
||||
&--lower {
|
||||
margin-top: -10px;
|
||||
padding-left: 50px;
|
||||
transform: translate(12%, -30%);
|
||||
}
|
||||
}
|
||||
|
||||
@ -90,12 +94,8 @@ body {
|
||||
}
|
||||
|
||||
&__header {
|
||||
top: 50%;
|
||||
font-size: 80px;
|
||||
|
||||
&--lower {
|
||||
margin-top: -40px;
|
||||
padding-left: 110px;
|
||||
}
|
||||
}
|
||||
|
||||
&__button {
|
||||
@ -135,8 +135,12 @@ body {
|
||||
&__header {
|
||||
font-size: 130px;
|
||||
|
||||
&--upper {
|
||||
transform: translate(-30%, 20%);
|
||||
}
|
||||
|
||||
&--lower {
|
||||
margin-top: -60px;
|
||||
transform: translate(8%, -20%);
|
||||
}
|
||||
}
|
||||
|
||||
@ -169,12 +173,10 @@ body {
|
||||
@media #{$screen-lg} {
|
||||
.hero {
|
||||
&__header {
|
||||
top: 50%;
|
||||
font-size: 160px;
|
||||
|
||||
&--lower {
|
||||
margin-top: -80px;
|
||||
padding-left: 8%;
|
||||
transform: translate(5%, -20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -185,9 +187,12 @@ body {
|
||||
&__header {
|
||||
font-size: 170px;
|
||||
|
||||
&--upper {
|
||||
transform: translate(-33%, 20%);
|
||||
}
|
||||
|
||||
&--lower {
|
||||
margin-top: -80px;
|
||||
padding-left: 18%;
|
||||
transform: translate(12%, -20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -155,7 +155,8 @@
|
||||
}
|
||||
|
||||
@media #{$screen-xlg} {
|
||||
right: -20px;
|
||||
right: 30px;
|
||||
bottom: -8%;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user