From c89bec8faddf40e281664555ea835857b1d1c64b Mon Sep 17 00:00:00 2001 From: Jim Winstead Date: Fri, 2 Feb 2024 00:40:39 -0800 Subject: [PATCH] Add links to PHP Foundation with a Donate button (#821) Co-authored-by: Derick Rethans Co-authored-by: Lu Fei <52o@qq52o.cn> --- index.php | 7 +++++++ styles/home.css | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/index.php b/index.php index 3f27c1f73..9e889f788 100644 --- a/index.php +++ b/index.php @@ -200,6 +200,13 @@ if (is_array($CONF_TEASER)) { $SIDEBAR = << + The PHP Foundation +
+

The PHP Foundation is a collective of people and organizations, united in the mission to ensure the long-term prosperity of the PHP language. +

Donate

+
+ $announcements

User Group Events

Special Thanks

diff --git a/styles/home.css b/styles/home.css index cde846fb5..3ffd63b1c 100644 --- a/styles/home.css +++ b/styles/home.css @@ -194,3 +194,25 @@ aside.tips .social-media .icon-twitter { font-size: 1.5em; vertical-align: middle; } + +/* Unheroic button */ +.btn { + box-sizing: border-box; + padding: 0.5rem 1rem; + margin-bottom: 1rem; + border-radius: 2rem; + text-align: center; + display: inline-block; + border: none; + transition: background-color 0.2s; +} + +.btn-primary { + background-color: var(--dark-blue-color); + color: #fff !important; +} + +.btn-primary:hover, .hero-btn-primary:focus { + background-color: var(--dark-magenta-color) !important; + border-color: var(--dark-magenta-color) !important; +}