Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<script defer src="script.js"></script>
Expand Down Expand Up @@ -34,12 +34,14 @@
<img src="images/icon.png" alt="AxolotlClient logo" />
<h1>AxolotlClient</h1>
<h3>A Free & Open-source Minecraft Client</h3>
<a href="https://modrinth.com/mod/axolotlclient/versions#all-versions"
><button class="tooltip">Download</button></a
>
<a href="https://modrinth.com/mod/axolotlclient/gallery"
><button>Screenshots</button></a
>
<div class="row">
<a href="https://modrinth.com/mod/axolotlclient/versions#all-versions"
><button class="tooltip">Download</button></a
>
<a href="https://modrinth.com/mod/axolotlclient/gallery"
><button>Screenshots</button></a
>
</div>
</div>
</div>

Expand Down
35 changes: 21 additions & 14 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,30 +108,19 @@ body {
color: var(--main-text);
cursor: pointer;
flex-shrink: 0;
font-family:
"Inter UI",
"SF Pro Display",
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
font-family: "Inter UI", "SF Pro Display", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
sans-serif;
font-size: 16px;
font-weight: 500;
height: 4rem;
padding: 0 1.6rem;
padding: 0 2.5rem;
text-align: center;
text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
transition: all 1s;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
width: 50%;
min-height: 7vh;
height: 9vh;
text-decoration: none;
Expand All @@ -142,12 +131,25 @@ body {
transition-duration: 0.5s;
}

.main .buttons {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}

@media (min-width: 768px) {
.button-36 {
padding: 0 2.6rem;
}
}

@media (max-width: 500px) {
.main .buttons .row {
flex-direction: column;
}
}

.main img {
width: 10vh;
}
Expand Down Expand Up @@ -316,3 +318,8 @@ body {
.policy a:visited {
color: var(--highlight2-color);
}

.row {
display: flex;
flex-direction: row;
}