2019-10-28 19:38:49 +02:00
|
|
|
body.single.single-5ftf_pledge {
|
|
|
|
|
|
|
|
// Expand archive content area to full-width of header.
|
|
|
|
.site-content .site-main {
|
|
|
|
max-width: $size__site-main;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-header {
|
2021-04-30 22:55:55 +03:00
|
|
|
margin: 0;
|
2019-10-28 19:38:49 +02:00
|
|
|
padding-bottom: ms(4);
|
2021-04-30 22:55:55 +03:00
|
|
|
text-align: center;
|
2019-10-28 19:38:49 +02:00
|
|
|
|
|
|
|
@include breakpoint( $breakpoint-mobile ) {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( 0, $breakpoint-mobile ) {
|
|
|
|
text-align: center;
|
2021-04-30 22:55:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.pledge-introduction {
|
|
|
|
background-color: $color-gray-light-200;
|
2021-05-11 23:41:56 +03:00
|
|
|
margin-bottom: 36px;
|
|
|
|
padding: 30px;
|
|
|
|
font-size: 1.1rem;
|
2019-10-28 19:38:49 +02:00
|
|
|
|
2021-04-30 22:55:55 +03:00
|
|
|
p {
|
2021-05-11 23:41:56 +03:00
|
|
|
max-width: 400px; /* Balance across two lines, ala https://stackoverflow.com/q/61923996/450127 */
|
|
|
|
margin: 0 auto 1rem auto;
|
2021-04-30 22:55:55 +03:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
2021-05-11 23:41:56 +03:00
|
|
|
|
|
|
|
.pledge-introduction__more {
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
2019-12-10 21:07:48 +02:00
|
|
|
|
|
|
|
.pledge-status {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 12px;
|
|
|
|
font-size: ms(-1);
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: $color-error-red;
|
|
|
|
color: white;
|
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.entry-title {
|
2021-05-11 23:41:56 +03:00
|
|
|
margin-top: 30px;
|
2019-10-28 19:38:49 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-04-30 22:55:55 +03:00
|
|
|
.has-post-thumbnail .pledge-introduction {
|
2021-05-11 23:41:56 +03:00
|
|
|
padding-bottom: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pledge-company-summary {
|
|
|
|
h1 {
|
|
|
|
font-size: 2.2rem;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pledge-url {
|
|
|
|
font-size: .9rem;
|
|
|
|
margin-top: 18px;
|
|
|
|
}
|
2021-04-30 22:55:55 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.has-post-thumbnail .pledge-company-summary {
|
|
|
|
position: relative;
|
2021-05-11 23:41:56 +03:00
|
|
|
top: -65px;
|
2021-04-30 22:55:55 +03:00
|
|
|
}
|
|
|
|
|
2019-10-28 19:38:49 +02:00
|
|
|
.entry-image__logo {
|
|
|
|
background: transparent;
|
2021-04-30 22:55:55 +03:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
background-color: white;
|
2021-05-11 23:41:56 +03:00
|
|
|
max-width: 170px;
|
|
|
|
max-height: 100px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 12px solid white;
|
2021-04-30 22:55:55 +03:00
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
|
|
|
|
2021-04-30 22:55:55 +03:00
|
|
|
.entry-content {
|
|
|
|
h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint( $breakpoint-tablet ) {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
|
|
|
"about contributions"
|
|
|
|
"contributors contributors"
|
|
|
|
;
|
|
|
|
grid-template-columns: calc( 50% - 40px ) calc( 50% - 40px );
|
|
|
|
grid-gap: 80px;
|
|
|
|
|
|
|
|
.pledge-company-description {
|
|
|
|
grid-area: about;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pledge-company-contributions {
|
|
|
|
grid-area: contributions;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pledge-company-contributors {
|
|
|
|
grid-area: contributors;
|
|
|
|
}
|
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.team-grid {
|
|
|
|
margin-top: ms(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-footer {
|
|
|
|
margin-top: ms(2);
|
2019-11-21 22:31:29 +02:00
|
|
|
margin-bottom: ms(20);
|
2019-10-28 19:38:49 +02:00
|
|
|
border-top: 1px solid $color-gray-light-500;
|
|
|
|
padding-top: ms(2);
|
2019-11-09 01:33:20 +02:00
|
|
|
|
|
|
|
.report-wrapper {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
a {
|
|
|
|
color: $color-alert-red;
|
2019-11-09 01:33:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
.edit-pledge-wrapper {
|
|
|
|
text-align: right;
|
2019-11-09 01:33:20 +02:00
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
p {
|
|
|
|
font-size: ms(-2);
|
|
|
|
}
|
2019-11-09 01:33:20 +02:00
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
.button {
|
|
|
|
padding-right: 4px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $color__wp-blue;
|
|
|
|
font-size: 1rem;
|
2019-11-09 01:33:20 +02:00
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
&:hover {
|
|
|
|
border-bottom: 1px solid currentColor;
|
|
|
|
}
|
|
|
|
}
|
2019-11-09 01:33:20 +02:00
|
|
|
}
|
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
@include breakpoint( $breakpoint-tablet ) {
|
|
|
|
display: flex;
|
2019-11-09 01:33:20 +02:00
|
|
|
|
2019-11-21 22:31:29 +02:00
|
|
|
.report-wrapper {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
2019-11-09 01:33:20 +02:00
|
|
|
}
|
2019-10-28 19:38:49 +02:00
|
|
|
}
|
|
|
|
}
|