diff --git a/_sass/components/_wins-page.scss b/_sass/components/_wins-page.scss
index d55e4db567..23cb31a721 100644
--- a/_sass/components/_wins-page.scss
+++ b/_sass/components/_wins-page.scss
@@ -1,248 +1,293 @@
//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;
- }
+ 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-btn{
+ max-width: 300px;
+ max-height: 75px;
}
-.wins__card-text {
- padding-top: 40px;
- p {
- margin: 0;
- }
+.wins-see-more-div {
+ position: absolute;
+ background-color: white;
+ right: 0px;
+ bottom: 0px;
+ color: red;
+ padding: 0px 3px;
+ cursor: pointer;
}
-@media #{$bp-below-tablet} {
- .wins-hero{
+.wins-card-text {
+ margin-top: 40px;
+ height: 88px;
+ overflow: hidden;
+ position: relative;
+ p {
+ margin: 0;
+ }
- 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{
+@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;
+ }
+
+ }
+}
- 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;
- }
- }
+@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;
+ }
+ }
}
// 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: row;
+ padding: 45px;
+ display: flex;
+ flex-direction: column;
+}
+.wins-card-top{
+ display: flex;
}
-.wins-card-left{
- width: 100px;
- margin-right: 10px;
- display: flex;
- align-items: flex-end;
- flex-direction: column;
+.wins-card-top-right{
+ flex-grow: 1;
}
.wins-card-profile-img{
- border-radius: 100px;
+ width: 86px;
+ height: 86px;
+ border-radius: 100px;
+ margin-right: 20px;
}
.wins-card-big-quote{
- width: 28px;
- height: 96.05px;
- position: relative;
- top: -20px;
+ width: 28px;
+ height: 112px;
+ margin-right: 20px;
+ margin-left: 58px;
+ position: relative;
+}
+.wins-card-bottom{
+ display: flex;
}
.wins-card-content{
- display: flex;
- flex-direction: column;
- margin-left: 20px;
- width: 100%;
- position: relative;
- height: 225px;
- overflow: hidden;
- margin-left: 6px;
+ display: flex;
+ flex-direction: column;
+ margin-left: 20px;
+ width: 100%;
+ position: relative;
+ 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;
+ font-weight: normal;
+ font-size: 16px;
+ line-height: 18px;
+ display: flex;
+ align-items: center;
}
-.wins-card-top{
- display: flex;
- justify-content: space-between;
+.wins-card-title{
+ display: flex;
+ justify-content: space-between;
}
-.wins-card-icon{
- margin-left: 18px;
+.wins-card-icon, .wins-card-github-icon, .wins-card-linkedin-icon{
+ margin-left: 18px;
+}
+.wins-card-icons{
+ display: flex;
}
.wins-card-info{
- font-weight: bold;
+ font-weight: bold;
}
.wins-card-overview{
- margin-top: 1em;
+ margin-top: 1em;
}
@media #{$bp-below-tablet} {
- .wins-card-content{
- height: 233px;
- }
+ .wins-card-text{
+ height: 81px;
+ }
}
@media #{$bp-below-mobile} {
- .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;
- }
+ .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;
+ }
}
//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: 100%;
- height: 100%;
- background-color: rgba(70, 70, 70, 0.5);
- padding: 10px;
- }
-
- .display-none {
- display: none;
+ .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;
}
-
- .display-initial {
- display: initial;
+ .overlay-card-text{
+ padding-top: 40px;
}
-
- .center-screen {
- position: fixed;
- opacity: 1;
- width: 60%;
- left: 20%;
- top: 30%;
- .wins-card-content{
- height: auto;
+ .wins-card-badges{
+ display:flex;
+ flex-flow: row wrap;
+ 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;
+ }
}
}
@@ -251,23 +296,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;
}
@@ -291,4 +336,4 @@
grid-template-rows: none;
}
}
-//wins page filter override section end
\ No newline at end of file
+//wins page filter override section end
diff --git a/wins/wins-card-template.html b/wins/wins-card-template.html
new file mode 100644
index 0000000000..26b10016e4
--- /dev/null
+++ b/wins/wins-card-template.html
@@ -0,0 +1,34 @@
+
+