-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Адаптивная сетка #4
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.button { | ||
display: inline-block; | ||
padding: 10px 28px; | ||
font-family: "Oswald", "Arial", sans-serif; | ||
font-size: 16px; | ||
line-height: 1.25; | ||
color: #ffffff; | ||
text-align: center; | ||
text-decoration: none; | ||
text-transform: uppercase; | ||
border: none; | ||
background-color: #68b738; | ||
cursor: pointer; | ||
} | ||
|
||
@media (min-width: $tablet-width) { | ||
.button { | ||
font-size: 20px; | ||
line-height: 1.3; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.container { | ||
padding: 0 20px; | ||
} | ||
|
||
@media (min-width: $tablet-width) { | ||
.container { | ||
padding: 0 30px; | ||
} | ||
} | ||
|
||
@media (min-width: $desktop-width) { | ||
.container { | ||
padding: 0 110px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. добавь еще ширину чтоб была центровка |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.link { | ||
color: inherit; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.list { | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
} | ||
Comment on lines
+1
to
+5
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. я бы смотрел в сторону миксина, а не блока Это не ошибка но как будто миксин |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.main-footer__bottom-wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
background-color: $base-color; | ||
} | ||
|
||
.main-footer__logo { | ||
margin: 0 auto; | ||
} | ||
|
||
@media (min-width: $tablet-width) { | ||
.main-footer__bottom-wrapper { | ||
flex-direction: row; | ||
justify-content: space-between; | ||
} | ||
|
||
.main-footer__logo { | ||
margin: 0; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавь еще ширину чтоб была центровка и
magin: 0 auto