Skip to content

Commit

Permalink
done reviewing css
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiras authored and jonas committed Nov 6, 2024
1 parent e50af6d commit e5db726
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 20 deletions.
3 changes: 3 additions & 0 deletions assets/theme/styles/blocks/advanced-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@
font-size: 2.4rem;
line-height: 1.33em;
}
.headline{
padding: 5px 0 20px;
}
}
1 change: 0 additions & 1 deletion assets/theme/styles/blocks/hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
}
&.hero-black-flex {
background-color: #171717;
display: flex;justify-content: center;
position: relative;
height: 565px;
.flex {
Expand Down
2 changes: 1 addition & 1 deletion assets/theme/styles/blocks/swipe-teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
}
.slick-track{
gap: 55px;display: flex;
display: flex;
}
.text-wrapper{padding-top: 9%;}
.slick-dots{
Expand Down
29 changes: 13 additions & 16 deletions assets/theme/styles/theme/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,22 +77,19 @@ header {position: fixed;top: 0;width: 100%;background-color: #171717;z-index: 20
}
.button-container{
padding-top: 30px;
}
.btn-wrapper{
display:inline-flex;border-radius: 40px;border: 2px solid #000;
}
.theme-button{
cursor: pointer;padding:15px 30px;text-decoration: none;
}
.theme-cta{
color: $textColor3;
font-family: $fontFamily1;
font-weight: $fontWeight;
line-height: $lineHeightButton;
letter-spacing: 0.45px;
text-transform: uppercase;
@include screenMaxWidth(1024px){
color: red;
.btn-wrapper{
display:inline-flex;border-radius: 40px;border: 2px solid #000;
}
.theme-button{
cursor: pointer;padding:15px 30px;text-decoration: none;
}
a{
color: $textColor3;
font-family: $fontFamily1;
font-weight: $fontWeight;
line-height: $lineHeightButton;
letter-spacing: 0.45px;
text-transform: uppercase;
}
}
footer{
Expand Down
2 changes: 1 addition & 1 deletion templates/theme/block/advanced-text.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="grid">
<div class="{{ block.layout }}">
<div class="theme-overline">{{ block.overline|html_sanitize }}</div>
<div class="theme-headline boldHeadline padding">{{ block.headline|html_sanitize }}</div>
<div class="theme-headline headline boldHeadline ">{{ block.headline|html_sanitize }}</div>
<div class="text-container">
{% if block.copy is iterable %}
{% for text in block.copy %}
Expand Down
4 changes: 3 additions & 1 deletion templates/theme/block/card.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<div class="theme-headline headline">{{ block.headline|html_sanitize }}</div>
<div class="copy">{{ block.copy }}</div>
<div class="button-container">
<a class="theme-cta theme-button" href="{{ block.ctaLink }}" target="{{ block.ctaTarget }}">{{ block.ctaTitle }}</a>
<div class="btn-wrapper">
<a class="theme-cta theme-button" href="{{ block.ctaLink }}" target="{{ block.ctaTarget }}">{{ block.ctaTitle }}</a>
</div>
</div>
</div>

Expand Down

0 comments on commit e5db726

Please sign in to comment.