Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
188 changes: 188 additions & 0 deletions _sass/components/_sitemap.scss
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
---------------------------*/
Copy link
Contributor

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.

Copy link
Member Author

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?

.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;
}

1 change: 1 addition & 0 deletions _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
@import 'components/guide-pages/2FA.scss';
@import 'components/toolkit.scss';
@import 'components/wins-page.scss';
@import 'components/sitemap.scss';

//Guide Pages (Within Components)
@import 'components/guide-pages/github-issue-guide.scss';
Expand Down
3 changes: 3 additions & 0 deletions assets/images/sitemap/lightbulb.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/images/sitemap/site.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading