diff --git a/wins/wins-hero.html b/_includes/wins-hero.html similarity index 59% rename from wins/wins-hero.html rename to _includes/wins-hero.html index c6243a2b37..301f794287 100644 --- a/wins/wins-hero.html +++ b/_includes/wins-hero.html @@ -1,11 +1,8 @@
- image of a person being celebrated and holding a trophy + image of a person being celebrated and holding a trophy

Let's celebrate together!

- - -
diff --git a/_sass/components/_wins-page.scss b/_sass/components/_wins-page.scss index 23cb31a721..d55e4db567 100644 --- a/_sass/components/_wins-page.scss +++ b/_sass/components/_wins-page.scss @@ -1,293 +1,248 @@ //Hero styling .wins-hero{ - margin-top: 40px; - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-evenly; - img{ - height: 366; - } - h1{ - font-size: 59px; - line-height: 69px; - text-align: center; - font-style: normal; - font-weight: normal; - } -} - -.wins-btn{ - max-width: 300px; - max-height: 75px; + margin-top: 40px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-evenly; + img{ + height: 366; + } + h1{ + font-size: 59px; + line-height: 69px; + text-align: center; + font-style: normal; + font-weight: normal; + } } - -.wins-see-more-div { - position: absolute; - background-color: white; - right: 0px; - bottom: 0px; - color: red; - padding: 0px 3px; - cursor: pointer; +.wins__see-more-div { + position: absolute; + background-color: white; + right: 0px; + bottom: 0px; + color: red; + padding: 0px 3px; + cursor: pointer; } -.wins-card-text { - margin-top: 40px; - height: 88px; - overflow: hidden; - position: relative; - p { - margin: 0; - } +.wins__card-text { + padding-top: 40px; + p { + margin: 0; + } } @media #{$bp-below-tablet} { - .wins-hero{ - - img{ - height: 230px; - } - h1{ - font-style: normal; - font-weight: normal; - font-size: 38px; - } - .wins-btn{ - max-width: 217px; - max-height: 60.5px; - font-size: 18.5px; - } - - } + .wins-hero{ + + img{ + height: 230px; + } + h1{ + font-style: normal; + font-weight: normal; + font-size: 38px; + } + .btn--wins{ + height: 60px; + padding: 0 50px; + border-radius: 60px; + font-size: 1.25rem; + } + + } } @media #{$bp-below-mobile} { - .wins-hero{ - - img{ - height: 105px; - } - h1{ - font-style: normal; - font-weight: normal; - font-size: 24px; - line-height: 28px; - } - .wins-btn{ - max-width: 134px; - max-height: 46px; - font-size: 12px; - line-height: 14px; - } - } + .wins-hero{ + + img{ + height: 105px; + } + h1{ + font-style: normal; + font-weight: normal; + font-size: 24px; + line-height: 28px; + } + .btn--wins{ + height: 40px; + padding: 0 32px; + border-radius: 20px; + font-size: 1rem; + } + } } // page .wins-page-contain{ - margin:0 auto; - max-width: 1292px; + margin:0 auto; + max-width: 1292px; } .wins-page-contain > p{ - margin: 18px 60px; + margin: 18px 60px; } //card styling .wins-card{ - padding: 45px; - display: flex; - flex-direction: column; -} -.wins-card-top{ - display: flex; + padding: 45px; + display: flex; + flex-direction: row; } -.wins-card-top-right{ - flex-grow: 1; +.wins-card-left{ + width: 100px; + margin-right: 10px; + display: flex; + align-items: flex-end; + flex-direction: column; } .wins-card-profile-img{ - width: 86px; - height: 86px; - border-radius: 100px; - margin-right: 20px; + border-radius: 100px; } .wins-card-big-quote{ - width: 28px; - height: 112px; - margin-right: 20px; - margin-left: 58px; - position: relative; -} -.wins-card-bottom{ - display: flex; + width: 28px; + height: 96.05px; + position: relative; + top: -20px; } .wins-card-content{ - display: flex; - flex-direction: column; - margin-left: 20px; - width: 100%; - position: relative; - overflow: hidden; - margin-left: 6px; + display: flex; + flex-direction: column; + margin-left: 20px; + width: 100%; + position: relative; + height: 225px; + overflow: hidden; + margin-left: 6px; } .wins-card-name{ - font-weight: bold; - font-size: 20px; - line-height: 22px; - margin-top: 13px; + font-weight: bold; + font-size: 20px; + line-height: 22px; + margin-top: 13px; } .wins-card-team{ - font-weight: normal; - font-size: 16px; - line-height: 18px; - display: flex; - align-items: center; -} -.wins-card-title{ - display: flex; - justify-content: space-between; + font-weight: normal; + font-size: 16px; + line-height: 18px; + display: flex; + align-items: center; } -.wins-card-icon, .wins-card-github-icon, .wins-card-linkedin-icon{ - margin-left: 18px; +.wins-card-top{ + display: flex; + justify-content: space-between; } -.wins-card-icons{ - display: flex; +.wins-card-icon{ + margin-left: 18px; } .wins-card-info{ - font-weight: bold; + font-weight: bold; } .wins-card-overview{ - margin-top: 1em; + margin-top: 1em; } @media #{$bp-below-tablet} { - .wins-card-text{ - height: 81px; - } + .wins-card-content{ + height: 233px; + } } @media #{$bp-below-mobile} { - .wins-card-text{ - height: 80px; - } - .wins-card{ - padding: 24px; - } - .wins-card-left{ - width: 50px; - } - .wins-card-profile-img{ - width: 50px; - height: 50px; - border-radius: 100px; - margin-right: 6px; - } - .wins-card-big-quote{ - margin: 0 6px 0 32px; - height: 54px; - width: 18px; - position: static; - } - - .wins-card-name{ - font-size: 19px; - line-height: 22px; - margin: 0; - padding-top: 5px; - } - .wins-card-team{ - font-size: 12px; - line-height: 16px; - } - .wins-card-icon{ - margin-left: 13.5px; - } - .github-icon{ - height: 20px; - width: 20px; - } - .linkedin-icon{ - height: 20px; - width: 20px; - } - .wins-card-text{ - margin-top: 16px; - } - - .wins-card-overview{ - margin-top: 0; - font-size: 16px; - } + .wins-card-content{ + height: 215px; + } + .wins-card{ + padding: 24px; + } + .wins-card-left{ + width: 50px; + } + .wins-card-profile-img{ + width: 50px; + height: 50px; + border-radius: 100px; + } + .wins-card-big-quote{ + margin: 4px; + height: 60px; + width: 18px; + position: static; + } + + .wins-card-name{ + font-size: 19px; + line-height: 22px; + margin: 0; + padding-top: 5px; + } + .wins-card-team{ + font-size: 12px; + line-height: 16px; + } + .wins-card-icon{ + margin-left: 13.5px; + } + .github-icon{ + height: 20px; + width: 20px; + } + .linkedin-icon{ + height: 20px; + width: 20px; + } + .wins__card-text{ + padding-top: 16px; + } + + .wins-card-overview{ + margin-top: 0; + font-size: 16px; + } } //modal overlay @media #{$bp-desktop-up} { - .wins-card-overview{ - overflow: hidden; - text-overflow: ellipsis; - } - - .overlay { - display: none; - z-index: 1; - position: fixed; - left: 0px; - top: 0px; - width: calc(100vw + 17px); - height: 100%; - background-color: rgba(70, 70, 70, 0.5); - padding: 10px; - overflow-y: auto; - overflow-x: hidden; - } - - .display-none { - display: none; - } - - .display-initial { - display: flex; - flex-direction: column; - } - .top-buffer{ - height: 20vh; - } - .bottom-buffer { - height: 5vh; - } - .modal-container{ - position: absolute; - width: 60%; - left: 20%; - } - .center-screen { - opacity: 1; + .wins-card-overview{ + overflow: hidden; + text-overflow: ellipsis; } - .overlay-card-text{ - padding-top: 40px; - } - .wins-card-badges{ - display:flex; - flex-flow: row wrap; + + .overlay { + display: none; + z-index: 1; + position: fixed; + left: 0px; + top: 0px; width: 100%; - .badge-item{ - flex: 1 1; - flex-basis: 250px; - // width: 100px; - margin: 4px; - display: flex; - .badge-icon{ - margin: 2px 12.5px 0 0; - height: 15px; - min-width: 30px; - display: flex; - justify-content: center; - } + height: 100%; + background-color: rgba(70, 70, 70, 0.5); + padding: 10px; + } + + .display-none { + display: none; + } + + .display-initial { + display: initial; + } + + .center-screen { + position: fixed; + opacity: 1; + width: 60%; + left: 20%; + top: 30%; + .wins-card-content{ + height: auto; } } @@ -296,23 +251,23 @@ //mobile see more @media #{$bp-below-desktop} { - .overlay { - display: none; - } - .display-none { - display: none; - } - .expanded{ - height: auto; - .wins-see-more-div { - position: relative; - text-align: right; - } - } + .overlay { + display: none; + } + .display-none { + display: none; + } + .expanded{ + height: auto; + .wins__see-more-div { + position: relative; + text-align: right; + } + } } .wins-card-content > * { - flex: 0 0 auto; + flex: 0 0 auto; } @@ -336,4 +291,4 @@ grid-template-rows: none; } } -//wins page filter override section end +//wins page filter override section end \ No newline at end of file diff --git a/wins/wins.html b/wins.html similarity index 65% rename from wins/wins.html rename to wins.html index 219a3f1dcf..4b24d28f3f 100644 --- a/wins/wins.html +++ b/wins.html @@ -1,21 +1,75 @@ --- layout: default title: Wins -permalink: /wins/ - --- -{%- include_relative wins-hero.html -%} -{% include_relative wins-overlay.html %} +{%- include wins-hero.html -%} +
+
+
+ + +
+
+
+ Blank + +
+
+ Team(s): Blank +
+
+ Role(s): Blank +
+
+

Blank

+

Blank

+
+
+
+
-
- - {% include_relative wins-filter-template.html %} - {% include_relative wins-card-template.html %} +
+ + + +
    -
      -
    + + +
    -