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;
|
|
|
|
padding: 1em;
|
|
|
|
font-size: 1.5em;
|
2019-10-28 19:38:49 +02:00
|
|
|
|
2021-04-30 22:55:55 +03:00
|
|
|
p {
|
|
|
|
max-width: 525px; /* Keep it on two lines, ala https://stackoverflow.com/q/61923996/450127 */
|
|
|
|
margin: 1em auto;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
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 {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2021-04-30 22:55:55 +03:00
|
|
|
.has-post-thumbnail .pledge-introduction {
|
|
|
|
padding-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.has-post-thumbnail .pledge-company-summary {
|
|
|
|
position: relative;
|
|
|
|
top: -30px;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
max-width: 330px;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 5px solid white;
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|