Skip to content

Commit

Permalink
add button componet
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRowey committed May 1, 2024
1 parent a42d87d commit 4aa1cc5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pages/balanceChanges.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,14 @@ <h3>Transport cargo killing and veterancy</h3>
</main>
</body>
<footer>
<div class="BackToTop"><button><a class="TopText" href="#top">Back to Top</a></button></div><br>
<div class="BackToTop">
<button>
<a class="TopText" href="#top">
Back to Top
</a>
</button>
</div>
<br>
<a href="../index.html">Back to Patchnote List</a>
<p>© 2015-2024 FAForever</p>
</footer>
Expand Down
1 change: 1 addition & 0 deletions style/balance.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@import '../style/components/card.css';
@import '../style/components/images.css';
@import '../style/components/video.css';
@import '../style/components/button.css';

h1, h2, h3, h4, h5, h6 {
font-family: 'Ubuntu', sans-serif;
Expand Down
5 changes: 5 additions & 0 deletions style/components/button.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
button {
border-radius: 10px;
padding: 5px;
background: var(--ButtonBackground);
}
1 change: 1 addition & 0 deletions style/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
--Footer: #666;
--Line : #444; /* #444 & #555 */
--LM-HR : #555;
--ButtonBackground: #1f375e;
}

/* Base Elemets */
Expand Down

0 comments on commit 4aa1cc5

Please sign in to comment.