Skip to content

Commit 5f4d2dc

Browse files
authored
Merge pull request #7 from Nitrrine/main
2 parents c1a8cd0 + c3f2684 commit 5f4d2dc

File tree

2 files changed

+30
-21
lines changed

2 files changed

+30
-21
lines changed

index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en" data-theme="dark">
33
<head>
44
<script defer src="script.js"></script>
@@ -34,12 +34,14 @@
3434
<img src="images/icon.png" alt="AxolotlClient logo" />
3535
<h1>AxolotlClient</h1>
3636
<h3>A Free & Open-source Minecraft Client</h3>
37-
<a href="https://modrinth.com/mod/axolotlclient/versions#all-versions"
38-
><button class="tooltip">Download</button></a
39-
>
40-
<a href="https://modrinth.com/mod/axolotlclient/gallery"
41-
><button>Screenshots</button></a
42-
>
37+
<div class="row">
38+
<a href="https://modrinth.com/mod/axolotlclient/versions#all-versions"
39+
><button class="tooltip">Download</button></a
40+
>
41+
<a href="https://modrinth.com/mod/axolotlclient/gallery"
42+
><button>Screenshots</button></a
43+
>
44+
</div>
4345
</div>
4446
</div>
4547

style.css

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,30 +108,19 @@ body {
108108
color: var(--main-text);
109109
cursor: pointer;
110110
flex-shrink: 0;
111-
font-family:
112-
"Inter UI",
113-
"SF Pro Display",
114-
-apple-system,
115-
BlinkMacSystemFont,
116-
"Segoe UI",
117-
Roboto,
118-
Oxygen,
119-
Ubuntu,
120-
Cantarell,
121-
"Open Sans",
122-
"Helvetica Neue",
111+
font-family: "Inter UI", "SF Pro Display", -apple-system, BlinkMacSystemFont,
112+
"Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
123113
sans-serif;
124114
font-size: 16px;
125115
font-weight: 500;
126116
height: 4rem;
127-
padding: 0 1.6rem;
117+
padding: 0 2.5rem;
128118
text-align: center;
129119
text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
130120
transition: all 1s;
131121
user-select: none;
132122
-webkit-user-select: none;
133123
touch-action: manipulation;
134-
width: 50%;
135124
min-height: 7vh;
136125
height: 9vh;
137126
text-decoration: none;
@@ -142,12 +131,25 @@ body {
142131
transition-duration: 0.5s;
143132
}
144133

134+
.main .buttons {
135+
display: flex;
136+
align-items: center;
137+
justify-content: center;
138+
flex-direction: column;
139+
}
140+
145141
@media (min-width: 768px) {
146142
.button-36 {
147143
padding: 0 2.6rem;
148144
}
149145
}
150146

147+
@media (max-width: 500px) {
148+
.main .buttons .row {
149+
flex-direction: column;
150+
}
151+
}
152+
151153
.main img {
152154
width: 10vh;
153155
}
@@ -316,3 +318,8 @@ body {
316318
.policy a:visited {
317319
color: var(--highlight2-color);
318320
}
321+
322+
.row {
323+
display: flex;
324+
flex-direction: row;
325+
}

0 commit comments

Comments
 (0)