Skip to content

Commit dc95b68

Browse files
committed
adding donor banner for december
1 parent f4e4dec commit dc95b68

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

src/assets/css/main.css

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ textarea {
795795
width: 100px;*/
796796
height: 100px;
797797
position: relative;
798+
margin-top: 1.5em; /* temp promo */
798799
}
799800

800801
#navi,
@@ -1245,6 +1246,30 @@ h2 {
12451246
//////////////////////////////////////////////////
12461247
*/
12471248

1249+
#promo, #promo:visited {
1250+
width: 100%;
1251+
background: palegreen;
1252+
padding: 0;
1253+
margin: 0;
1254+
text-align: center;
1255+
padding: 0.4em 0;
1256+
background: rgb(116,255,183);
1257+
background: radial-gradient(circle, rgba(116,255,183,1) 0%, rgba(138,255,242,1) 100%);
1258+
font-family: "Montserrat", sans-serif;
1259+
color: #ED225D !important;
1260+
}
1261+
1262+
#promo:hover {
1263+
background: #ED225D;
1264+
color: white !important;
1265+
}
1266+
1267+
#promo-link {
1268+
margin: 0 !important;
1269+
padding: 0;
1270+
}
1271+
1272+
12481273
#family a:link,
12491274
#family a:visited {
12501275
margin: 0.4em;
@@ -1619,7 +1644,7 @@ footer {
16191644
@media (min-width: 769px) {
16201645
.container {
16211646
width: 49em !important;
1622-
margin: 10em auto;
1647+
margin: 11.5em auto; /* temp promo, normally 10em */
16231648
}
16241649
main {
16251650
width: 36em;
@@ -1632,7 +1657,7 @@ footer {
16321657

16331658
@media (min-width: 720px) {
16341659
.container {
1635-
margin: 10em auto;
1660+
margin: 11.5em auto; /* temp promo, normally 10em */
16361661
width: 100%;
16371662
padding: 0.8em 0 0 0;
16381663
height: auto;
@@ -1658,7 +1683,7 @@ footer {
16581683
}
16591684
#i18n-btn {
16601685
position: absolute;
1661-
top: 2.5em;
1686+
top: 4.0em; /* temp promo, normally 2.5em */
16621687
right: 1em;
16631688
}
16641689
#i18n-btn a {

src/templates/partials/header.hbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ title: header
1111
<li><a href="http://pi.processing.org/">Processing for Pi</a></li>
1212
<li><a href="https://processingfoundation.org/">Processing Foundation</a></li>
1313
</ul>
14+
15+
16+
<a id="promo-link" href="https://donorbox.org/supportpf2019-fundraising-campaign" target="_blank"><div id="promo">This season, we need your help! Click here to #SupportP5!</div></a>
1417
</nav>

0 commit comments

Comments
 (0)