Skip to content

Commit

Permalink
EDERCMS-5 mobile styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Mehringer committed Oct 18, 2024
1 parent 98af710 commit b18aecb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions blocks/columns/columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
display: block;
}

.columns.usp {
padding: 0 var(--spacing-simple)
}

.columns.usp span.icon {
box-sizing: border-box;
width: 85px;
Expand Down Expand Up @@ -87,6 +91,12 @@
}

/* styling desktop */
@media (width >= 1200px) {
.columns.usp {
padding: 0;
}
}

@media (width >= 900px) {
.columns > div {
max-width: 100%;
Expand Down
5 changes: 5 additions & 0 deletions blocks/hero-video/hero-video.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ main .hero-video-container {
}

> div:not(.overlay-anchor) {
width: 80%;
position: absolute;
left: 50%;
top: 30%;
Expand Down Expand Up @@ -128,6 +129,10 @@ main .hero-video-container {
h1 {
font-size: 40px;
}

> div:not(.overlay-anchor){
width: auto;
}
}

.video-mobile {
Expand Down

0 comments on commit b18aecb

Please sign in to comment.