Skip to content

Commit

Permalink
Update home.scss
Browse files Browse the repository at this point in the history
Code clean
  • Loading branch information
klijakub committed Oct 12, 2022
1 parent 56ca43c commit e130036
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions docs/assets/css/pages/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ body.index-page {
.link-to-test-with-terratest {
text-decoration: underline;
cursor: pointer;

&:hover {
opacity: 0.7;
}
Expand All @@ -134,7 +133,6 @@ body.index-page {
margin-left: auto;
margin-right: auto;
}

.test-steps {
display: flex;
align-items: stretch;
Expand All @@ -145,7 +143,6 @@ body.index-page {
margin-right: auto;
margin-bottom: 120px;
flex-wrap: wrap;

.test-step {
flex: 1;
display: flex;
Expand All @@ -156,7 +153,6 @@ body.index-page {
.icon-wrapper {
display: flex;
margin-bottom: 20px;

.line {
flex: 1;
border-top: 1px dashed $gray-color-3;
Expand All @@ -166,7 +162,6 @@ body.index-page {
margin-top: 15px;
max-width: calc(50% - 36px);
}

img {
margin-left: 5px;
margin-right: 5px;
Expand All @@ -188,7 +183,6 @@ body.index-page {
line-height: 1.2;
min-height: 58px;
}

.desc {
font-size: $font-size-sm;
max-width: 280px;
Expand Down Expand Up @@ -221,33 +215,26 @@ body.index-page {
.desc {
max-width: 400px;
}

.text-wrapper {
text-align: left;

label {
min-height: auto;
}
}
}

@media all and (max-width: 1100px) {
flex-direction: row;
margin-bottom: 40px;

.text-wrapper {
margin-left: 15px;
}
}

@media all and (max-width: 450px) {
flex-direction: column;
min-width: auto;

.text-wrapper {
margin-left: 0px;
}

img {
width: 46px;
}
Expand All @@ -260,7 +247,6 @@ body.index-page {
margin-right: auto;
margin-bottom: 50px;
}

@media all and (max-width: 450px) {
flex-direction: column;
padding: 15px;
Expand All @@ -278,7 +264,6 @@ body.index-page {
z-index: 1;
position: relative;
}

.left-img {
position: absolute;
left: 0;
Expand All @@ -299,7 +284,6 @@ body.index-page {
top: -180px;
right: 5%;
}

.left-img {
width: 300px;
top: -100px;
Expand All @@ -310,7 +294,6 @@ body.index-page {
.right-img {
display: none;
}

.left-img {
width: 80%;
top: -100px;
Expand Down Expand Up @@ -350,22 +333,19 @@ body.index-page {
h2 {
font-size: 34px;
}

.btn-sm {
margin-right: 10px;
}

@media all and (max-width: 991px) {
.row.flex {
flex-direction: column;

&>.col-xs-12:first-child {
margin-bottom: 50px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.col-xs-12 {
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -466,9 +446,7 @@ body.index-page {
}

img {

&.custom-width,
&.custom-width-2 {
&.custom-width, &.custom-width-2 {
display: none;
}
}
Expand Down

0 comments on commit e130036

Please sign in to comment.