File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -2225,6 +2225,11 @@ the home page, intro pitch and your-code-here layed out vertically */
2225
2225
{
2226
2226
padding : 1em 2em ;
2227
2227
}
2228
+
2229
+ .call_to_donate
2230
+ {
2231
+ padding : 40px 80px ;
2232
+ }
2228
2233
}
2229
2234
2230
2235
/* Narrow layout stage 3: no more two column boxes */
@@ -2251,6 +2256,11 @@ the home page, intro pitch and your-code-here layed out vertically */
2251
2256
# your-code-here-select-example select {
2252
2257
width : 100% ;
2253
2258
}
2259
+
2260
+ .call_to_donate
2261
+ {
2262
+ padding : 20px 40px ;
2263
+ }
2254
2264
}
2255
2265
2256
2266
.decl_anchor {
Original file line number Diff line number Diff line change @@ -665,6 +665,19 @@ consistency. $(LINK2 spec/memory-safe-d.html, Read more).)
665
665
) $(COMMENT SECTION1)
666
666
) $(COMMENT D_S)
667
667
668
+ $(DIVC call_to_donate,
669
+ <h2>Support D</h2>
670
+ <p class="center">D is made possible through the hard work and dedication of many volunteers,
671
+ with the coordination and outreach of the D Language Foundation (501(c)(3)).
672
+ You can help further the development of the D language and help grow our
673
+ community by supporting the Foundation.
674
+ </p>
675
+ <p class="center">
676
+ <a href="$(ROOT_DIR)donate.html" class="btn call_to_donate_btn">Donate</a>
677
+ <a href="$(ROOT_DIR)foundation.html" class="btn subdued">Learn More About The Foundation</a>
678
+ </p>
679
+ )
680
+
668
681
Macros:
669
682
TITLE=Home
670
683
TAG=<$1>$+</$1>
@@ -722,6 +735,38 @@ Macros:
722
735
padding-right: 0.7em;
723
736
margin-bottom: -0.5em;
724
737
}
738
+ .call_to_donate
739
+ {
740
+ padding: 40px 140px;
741
+ }
742
+ .call_to_donate h2
743
+ {
744
+ text-align: center;
745
+ margin: 0 0 20px 0;
746
+ }
747
+ .call_to_donate p
748
+ {
749
+ font-size: 14px;
750
+ max-width: 1000px;
751
+ margin: 20px auto;
752
+ }
753
+ .call_to_donate .btn
754
+ {
755
+ font-size: 16px;
756
+ padding: 0.6em 1em;
757
+ }
758
+ a.call_to_donate_btn
759
+ {
760
+ background-color: #B03931;
761
+ border-color: #98312A;
762
+ color: white;
763
+ }
764
+ a.call_to_donate_btn:hover
765
+ {
766
+ background-color: #742620;
767
+ border-color: #98312A;
768
+ color: white;
769
+ }
725
770
)
726
771
$(COMMENT index.html only for now, until we can figure out
727
772
how to generate a URL to the current page for og:url)
You can’t perform that action at this time.
0 commit comments