Skip to content

Commit

Permalink
update frontpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjorn Zschernack committed Nov 28, 2023
1 parent 8f2c896 commit e6dc492
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
11 changes: 1 addition & 10 deletions front-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,8 @@
<?php the_content(); ?>
</div>
</div>
<div class="row">
<div class="col-12">
<?php get_template_part('template-parts/posts/about'); ?>
</div>
</div>

<div class="row">
<div class="col-12">
<?php get_template_part('template-parts/shortcodes/servicebar'); ?>
</div>
</div>




Expand Down
19 changes: 19 additions & 0 deletions scss/includes/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ a{
}


.two-columns{
column-count:2;

p {
font-size: 18px;
}
}


.posts-grid {
display: grid;
font-size: 20px;
Expand Down Expand Up @@ -222,6 +231,14 @@ h2 {
}
}

&.fs40{
font-size: 40px;

@media(max-width: 768px){
font-size: 30px;
}
}

&.kunde{
font-size: 16px;
font-family: 'BarlowBold';
Expand All @@ -236,3 +253,5 @@ font-family: 'BarlowBold';
font-size: 16px;
}



15 changes: 15 additions & 0 deletions scss/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,13 @@ a:hover {
text-decoration: none;
}

.two-columns {
column-count: 2;
}
.two-columns p {
font-size: 18px;
}

.posts-grid {
display: grid;
font-size: 20px;
Expand Down Expand Up @@ -558,6 +565,14 @@ h2.content-h2:after {
display: block;
margin: auto;
}
h2.fs40 {
font-size: 40px;
}
@media (max-width: 768px) {
h2.fs40 {
font-size: 30px;
}
}
h2.kunde {
font-size: 16px;
font-family: "BarlowBold";
Expand Down

0 comments on commit e6dc492

Please sign in to comment.