Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
adding social banner (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryvinn authored Mar 3, 2022
1 parent 0e72e40 commit e9e9ef3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/__common.soy
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@ src="https://www.facebook.com/tr?id=1637165926500152&ev=PageView&noscript=1"
<li><a href='https://github.com/facebook/buck'>GitHub</a>
</ul>
</nav></header>

<div class="socialBanner">
Support Ukraine. <a href="https://opensource.fb.com/support-ukraine">Help Provide Humanitarian Aid to Ukraine</a>.
</div>
{if $navid == 'home'}
<header class='hero'><div class='width'>
<hgroup>
Expand Down
13 changes: 13 additions & 0 deletions docs/static/buck.css
Original file line number Diff line number Diff line change
Expand Up @@ -592,3 +592,16 @@ block {
display: block;
}

/* Social Banner */
.socialBanner {
font-weight: bold;
font-size: 20px;
padding: 20px;
max-width: 768px;
margin: 0 auto;
text-align: center;
}

.socialBanner a {
text-decoration: underline;
}

0 comments on commit e9e9ef3

Please sign in to comment.