-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: content template sidebar (#180)
* make img height auto on mobile * fix card spacing * rename one col content template * styling updates * misc styling updates Co-authored-by: Nathan Rogan <nathan.rogan@wmca.org.uk>
- Loading branch information
1 parent
a6a1340
commit 0533c4b
Showing
25 changed files
with
397 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,7 @@ | |
// Mixins | ||
@import "../mixins"; | ||
|
||
|
||
// Typography Styles | ||
#umb-grid { | ||
.umb-grid { | ||
@import "../typography"; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.wmcads-html { | ||
.wmcads-grid--justify-between { | ||
.wmcads-p-r-sm { | ||
@media screen and (max-width: $breakpoint-sm) { | ||
padding: 0 !important; | ||
} | ||
} | ||
|
||
.wmcads-p-l-sm { | ||
@media screen and (max-width: $breakpoint-sm) { | ||
padding: 0 !important; | ||
} | ||
} | ||
} | ||
|
||
.wmcads-page-contents { | ||
@media screen and (max-width: $breakpoint-md) { | ||
margin: 0 !important; | ||
} | ||
} | ||
} | ||
|
||
// Creates a css-grid layout for content cards | ||
.wmcads-css-grid { | ||
display: inline; | ||
|
||
&-3-col { | ||
@media screen and (min-width: $breakpoint-sm) { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-gap: $size-lg; | ||
grid-auto-flow: row dense; | ||
} | ||
|
||
@media (min-width: $breakpoint-md) { | ||
grid-template-columns: 1fr 1fr 1fr; | ||
} | ||
} | ||
|
||
&-2-col { | ||
@media screen and (min-width: $breakpoint-sm) { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
grid-gap: $size-lg; | ||
grid-auto-flow: row dense; | ||
} | ||
} | ||
|
||
&-block { | ||
&--double { | ||
grid-column: auto / span 2; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
src/www/pages/templates/campaign-two-columns/campaign-template.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.