-
-
Notifications
You must be signed in to change notification settings - Fork 847
Sitemap Page #977
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
Merged
Merged
Sitemap Page #977
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3b978e8
Need to center icons in the page cards
c3f54fe
Solved spacing issue
8d9e5a1
css fix
0c8105b
scss updates
b549f22
switched from png to jpg
e7fe99e
fixed banner
11575ba
updated css
0866457
updated css
2a4c701
fixing mobile scss
0d343b4
fixing syntax and opening links in new tabs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,188 @@ | ||
| //mobile view | ||
| @mixin mobile { | ||
| @media #{$bp-below-tablet} { | ||
| @content; | ||
| } | ||
| } | ||
|
|
||
|
|
||
| .header-container--sitemap { | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: center; | ||
| background: #fff; | ||
| padding: 64px; | ||
| height: fit-content; | ||
| margin: 37px auto 0; | ||
| font-family: "Roboto"sans-serif; | ||
| font-style: normal; | ||
| font-weight: normal; | ||
| text-align: center; | ||
|
|
||
|
|
||
| img{ | ||
| max-width: 252.14px; | ||
| } | ||
| @include mobile{ | ||
| flex-direction: column; | ||
| align-items: center; | ||
| padding: 32px; | ||
| } | ||
| } | ||
|
|
||
| // .header-container{ | ||
| // @include mobile{ | ||
| // padding: 32px auto ; | ||
| // } | ||
| // } | ||
|
|
||
| .header-text-margin--sitemap { | ||
| display: flex; | ||
| flex-direction: column; | ||
| margin-right: 80px; | ||
| p{ | ||
| font-size: 18px; | ||
| max-width: 508px; | ||
| margin-top: 8px; | ||
| text-align: left; | ||
| } | ||
| h1 { | ||
| font-size: 48px; | ||
| } | ||
| @include mobile{ | ||
| margin: auto; | ||
| margin-bottom: 36px; | ||
| h1{ | ||
| font-size: 24px; | ||
| margin-bottom: 20px; | ||
| } | ||
|
|
||
| } | ||
| } | ||
|
|
||
|
|
||
| .sitemap-page { | ||
| background: #f7f5f5; | ||
| min-height: 100vh; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| text-align: center; | ||
|
|
||
| h3{ | ||
| font-size: 24px; | ||
| margin-bottom: 32px; | ||
| } | ||
| p{ | ||
| font-size: 16px; | ||
| max-width: 477px; | ||
| margin: auto; | ||
| margin-bottom: 40px; | ||
|
|
||
| } | ||
| @include mobile{ | ||
|
|
||
| h3{ | ||
| font-size: 20px; | ||
| } | ||
| p{ | ||
| font-size: 16px; | ||
| max-width: 300px; | ||
| } | ||
|
|
||
| } | ||
|
|
||
| } | ||
| .card-width{ | ||
| width: 100%; | ||
|
|
||
| } | ||
| .card-body{ | ||
|
|
||
| text-align: left; | ||
| img{ | ||
| margin: auto; | ||
| margin-left: auto; | ||
| } | ||
| .card-mobile-icon{ | ||
| display: none; | ||
| } | ||
| @include mobile{ | ||
| h3{ | ||
| text-align: center; | ||
| } | ||
| .card-desktop-icon{ | ||
| display: none; | ||
| } | ||
| .card-mobile-icon{ | ||
| display: flex; | ||
| margin: 58px auto; | ||
| } | ||
| a{ | ||
| display: flex; | ||
| justify-content: center; | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
| /*--------------------------- | ||
| | Base Page Card | ||
| ---------------------------*/ | ||
| .page-card { | ||
| border-radius: 20px; | ||
| overflow: hidden; | ||
| background: $color-white; | ||
| } | ||
|
|
||
| /*--------------------------- | ||
| | Card Color | ||
| ---------------------------*/ | ||
| // White | ||
| .card-primary { | ||
| background: $color-white; | ||
| } | ||
|
|
||
| /*--------------------------- | ||
| | Page Card Size | ||
| ---------------------------*/ | ||
| //Large | ||
| .page-card-lg { | ||
| max-width: 896px; | ||
| box-shadow: 0 0 8px 0 rgba(51, 51, 51, 0.2); | ||
| padding: 48px; | ||
| margin: 16px auto; | ||
| // NEW MOBILE FRIENDLY RULES | ||
| @media #{$bp-below-tablet} { | ||
| padding: 32px 16px; | ||
| margin: 12px auto; | ||
| } | ||
| } | ||
|
|
||
|
|
||
| @media #{$bp-tablet-up}{ | ||
| .page-card-lg:nth-child(1n+2){ | ||
| padding-left: 0; | ||
| } | ||
| } | ||
|
|
||
| /* Page-specific button */ | ||
|
|
||
| .btn--site-map-suggest { | ||
| width: 224px; | ||
| height: 40px; | ||
| font-size: 1rem; | ||
| text-align: center; | ||
| margin: 0 !important; | ||
| border-radius: 20px; | ||
| } | ||
|
|
||
| /* Medium Long Button - more padding */ | ||
|
|
||
| .btn-md-long-2 { | ||
| height: 40px; | ||
| padding: 0 44px; | ||
| border-radius: 20px; | ||
| font-size: 1rem; | ||
| } | ||
|
|
||
This file contains hidden or 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'm concerned that these base classes are not nested. My understanding is this could cause unpredictable effects on other pages.
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.
Those classes are only temporarily there until @daniellex0 standardizes the page card classes. Do you believe it will still be an issue if I leave it as is until the classes get standardized?