-
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.
* update logo to add transparancy * update css grid * fix image spacing on card * fix nav mobile font * simpify css grid * increase double card image size to fit new grid * new nav items for templates * increase mobile nav init becuse of mayor link * make link text and button text bold * fix page contents js * seperate template js * update mobile style * fix css grid 2 col mobile width * add fotter links to templates * Restyled by prettier (#198) Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Nathan Rogan <nathan.rogan@wmca.org.uk> Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
1 parent
df02911
commit 1d56b58
Showing
24 changed files
with
191 additions
and
124 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,36 @@ | ||
// Creates a css-grid layout for content cards | ||
.wmcads-css-grid { | ||
display: inline; | ||
|
||
&-4-col { | ||
display: grid; | ||
grid-gap: $size-lg; | ||
grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); | ||
} | ||
|
||
&-3-col { | ||
display: grid; | ||
grid-gap: $size-lg; | ||
grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); | ||
} | ||
|
||
&-2-col { | ||
display: grid; | ||
grid-gap: $size-lg; | ||
grid-template-columns: repeat(auto-fit, minmax(448px, 1fr)); | ||
|
||
@media (max-width: $breakpoint-sm) { | ||
grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); | ||
} | ||
} | ||
|
||
&-block { | ||
&--double { | ||
grid-column: auto / span 2; | ||
|
||
@media (max-width: $breakpoint-sm) { | ||
grid-column: auto / span 1; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -34,5 +34,6 @@ textarea, | |
} | ||
|
||
// Import grid components | ||
@import "grid-css-grid"; | ||
@import "grid-cols"; | ||
@import "grid-spacing"; |
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 |
---|---|---|
|
@@ -38,6 +38,7 @@ | |
} | ||
|
||
// Import grid components | ||
@import "grid-css-grid"; | ||
@import "grid-cols"; | ||
@import "grid-spacing"; | ||
|
||
|
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
Oops, something went wrong.