Add responsive containers to page components.
This commit is contained in:
parent
375e9be9cf
commit
475e4b3c1b
|
@ -1,3 +1,7 @@
|
|||
@use 'mixins';
|
||||
|
||||
.page-footer {
|
||||
@include mixins.responsive-container;
|
||||
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
@use 'mixins';
|
||||
|
||||
.page-header {
|
||||
@include mixins.responsive-container;
|
||||
|
||||
padding: 1rem;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
@use 'mixins';
|
||||
|
||||
.page-main {
|
||||
@include mixins.responsive-container;
|
||||
|
||||
padding: 1rem;
|
||||
|
||||
.contact-links {
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
$medium-breakpoint: 900px;
|
||||
$large-breakpoint: 1200px;
|
||||
|
||||
@mixin responsive-container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: $large-breakpoint;
|
||||
|
||||
@media (max-width: $large-breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue