Skip to content

Commit

Permalink
Merge pull request #123 from wiremock/update-contribution-guide
Browse files Browse the repository at this point in the history
Merge alternative homepage
  • Loading branch information
oleg-nenashev authored Jul 7, 2023
2 parents bd34f3a + 80201b5 commit ea60128
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 441 deletions.
105 changes: 101 additions & 4 deletions _sass/_homepage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ html {
font-family: "Ubuntu";
font-style: normal;
font-weight: bold;
font-size: 50px;
font-size: 28px;
color: #18253d;
text-align: left;
word-break: break-word;
Expand Down Expand Up @@ -557,8 +557,13 @@ html {

.wiremock-cloud__buttons {
display: flex;
flex-direction: column;
gap: 5px;
margin-top: 10px;

@media (min-width: 768px) {
flex-direction: row;
}
}

.wiremock-cloud-wrapper,
Expand Down Expand Up @@ -707,13 +712,16 @@ html {
font-style: normal;
font-weight: bold;
color: #18253d;
font-size: 50px;
font-size: 28px;
border-bottom: none;

@media (min-width: 768px) {
font-size: 50px;
}
}
.keyFeaturesInfo {
text-align: center;
padding-top: 20px;
padding-bottom: 30px;
padding: 20px 20px 30px 20px;
max-width: 1150px;
margin: 0 auto;
}
Expand Down Expand Up @@ -1272,3 +1280,92 @@ html {
width: 100%;
}
}

.home-hero {
&__title {
margin-top: 40px;
margin-bottom: 30px;
font-family: "Ubuntu";
font-style: normal;
font-weight: bold;
font-size: 28px;
color: #18253d;
text-align: center;

@media (min-width: 920px) {
font-size: 60px;
margin-bottom: 60px;
}
}

&__boxes {
@media (min-width: 920px) {
padding: 40px 0;
display: flex;
}
}

&__box {
display: grid;
flex-direction: column;
flex: 1 0 50%;
padding: 20px 20px;
margin-bottom: 20px;
grid-template-rows: min-content 1fr min-content;


&--alt {
background: #E4F0F7;
border-radius: 15px;
}

p {
font-family: "Ubuntu";
font-size: 20px;
font-style: normal;
font-weight: 400;
color: #18253d;
margin-top: 1rem;
}

@media (min-width: 920px) {
padding: 40px;
margin-bottom: 0;
padding: 20px;

p {
font-size: 16px;
}
}
}

&__heading {
margin: 0 0 10px;
font-size: 24px;
color: #18253d;

@media (min-width: 920px) {
margin-bottom: 20px;
font-size: 50px;
}
}
}

.hr {
margin-top: 40px;
margin-bottom: 40px;
max-width: 90%;

@media (min-width: 920px) {
margin-top: 60px;
margin-bottom: 60px;
}

@media (min-width: 2000px) {
width: 1280px;
}

position: relative;
margin-left: auto;
margin-right: auto;
}
77 changes: 0 additions & 77 deletions _sass/_homepageb.scss

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ search: false
@import "forms";

@import "homepage";
@import "homepageb";
@import "page";
@import "archive";
@import "sidebar";
Expand Down
Loading

0 comments on commit ea60128

Please sign in to comment.