Skip to content

Commit

Permalink
Add color to wishlist buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscott committed Nov 15, 2024
1 parent 9ce93f0 commit 2794e7c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
13 changes: 13 additions & 0 deletions assets/css/priorities/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ $border-radius: 15px;
$element-meta-planning-bar-width: 15%;
$element-meta-ongoing-bar-width: 50%;

$color-red: #f35774;

//
// Functions
//
Expand Down Expand Up @@ -141,6 +143,17 @@ html {
.contact {
grid-area: contact;
}

.wishlist-btn-anchor {
text-decoration: none;
color: $color-red;
}

.wishlist-btn-text {
display: flex;
justify-content: center;
align-items: center;
}
}
}

Expand Down
27 changes: 21 additions & 6 deletions pages/priorities/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,29 @@ <h1>Priorities</h1>
<li>where corporate partners could lend a helping hand</li>
</ol>
<div class="wishlist-btns">
<a class="donate" href="https://fund.godotengine.org/" target="_blank">
<div class="wishlist-btn-text">Donate to the Fund</div>
<a class="wishlist-btn-anchor donate" href="https://fund.godotengine.org/" target="_blank">
<div class="wishlist-btn-text">
<span>Donate to the Fund</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 3L11 8L6 13" stroke="CurrentColor" stroke-width="1.5"></path>
</svg>
</div>
</a>
<a class="howto" href="https://docs.godotengine.org/en/stable/contributing/how_to_contribute.html" target="_blank">
<div class="wishlist-btn-text">How to contribute</div>
<a class="wishlist-btn-anchor howto" href="https://docs.godotengine.org/en/stable/contributing/how_to_contribute.html" target="_blank">
<div class="wishlist-btn-text">
<span>How to contribute</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 3L11 8L6 13" stroke="CurrentColor" stroke-width="1.5"></path>
</svg>
</div>
</a>
<a class="contact" href="mailto:[email protected]" target="_blank">
<div class="wishlist-btn-text">Contact the Foundation</div>
<a class="wishlist-btn-anchor contact" href="mailto:[email protected]" target="_blank">
<div class="wishlist-btn-text">
<span>Contact the Foundation</span>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6 3L11 8L6 13" stroke="CurrentColor" stroke-width="1.5"></path>
</svg>
</div>
</a>
</div>
</div>
Expand Down

0 comments on commit 2794e7c

Please sign in to comment.