@@ -665,6 +665,19 @@ consistency. $(LINK2 spec/memory-safe-d.html, Read more).)
665665) $(COMMENT SECTION1)
666666) $(COMMENT D_S)
667667
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+
668681Macros:
669682 TITLE=Home
670683 TAG=<$1>$+</$1>
@@ -685,42 +698,44 @@ Macros:
685698 TOUR=$(DIVC item, $(SECTION4 $(TC i, fa fa-$1 big-icon)$2, $3))
686699 WHY_D_ICON=$(TC i, fa fa-$1 why-d-icon)
687700 _=
688- FRONTPAGE_ORG_IMG=$(DIVC frontpage-orgs-img-wrapper vcontainer-box, <img class="vcontainer-element" src="$(ROOT_DIR)images/orgs-using-d/$0" />)
689- FRONTPAGE_ORG=$(DIVC frontpage-orgs-cell dont-highlight-link donthyphenate, $(LINK2 $2, $(FRONTPAGE_ORG_IMG $3)) $(H3 $1) $(P $(I $4 )))
690701 _= Single word inline CSS needs to be escaped _=
691702 C_A=$1:$2;
692703 META_DESCRIPTION=D is a general-purpose programming language with static typing, systems-level access, and C-like syntax.
693704 EXTRA_HEADERS=$(T style,
694705 .why-d-icon {
695706 padding-right: 0.2em;
696707 }
697- .frontpage-orgs h3 {
698- $(C_A margin, 0.4em)
699- margin-left: 0;
700- margin-right: 0;
701- text-align: center;
708+ .call_to_donate
709+ {
710+ padding: 40px 140px;
702711 }
703- .frontpage-orgs-img-wrapper {
704- $(C_A width, 175px)
705- $(C_A height, 75px)
706- padding-bottom: 10px;
712+ .call_to_donate h2
713+ {
707714 text-align: center;
715+ margin: 0 0 20px 0;
716+ }
717+ .call_to_donate p
718+ {
719+ font-size: 14px;
720+ max-width: 1000px;
721+ margin: 20px auto;
708722 }
709- .frontpage-orgs img {
710- max-width: 150px;
711- max-height: 75px;
723+ .call_to_donate .btn
724+ {
725+ font-size: 16px;
726+ padding: 0.6em 1em;
712727 }
713- .frontpage-orgs-cell {
714- $(C_A width, 175px)
715- $(C_A display, inline-block)
716- vertical-align: top;
717- margin-bottom: 0.5em;
718- padding-right: 15px;
728+ a.call_to_donate_btn
729+ {
730+ background-color: #B03931;
731+ border-color: #98312A;
732+ color: white;
719733 }
720- #frontpage-orgs-more {
721- text-align: right;
722- padding-right: 0.7em;
723- margin-bottom: -0.5em;
734+ a.call_to_donate_btn:hover
735+ {
736+ background-color: #742620;
737+ border-color: #98312A;
738+ color: white;
724739 }
725740 )
726741 $(COMMENT index.html only for now, until we can figure out
0 commit comments