Skip to content

Commit 64c07b5

Browse files
fix: Adjust mobile appearance
1 parent 7b7c34e commit 64c07b5

3 files changed

Lines changed: 20 additions & 17 deletions

File tree

dist/css/styles.css

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ body {
2020
line-height: 1.6;
2121
color: var(--text-color);
2222
background-color: var(--background);
23+
min-height: 100vh;
2324
display: flex;
2425
flex-direction: column;
2526
}
@@ -82,6 +83,7 @@ main {
8283
.hero-logo {
8384
max-width: 90%;
8485
height: auto;
86+
margin-bottom: 2.5rem;
8587
}
8688

8789
/* Download Button */
@@ -137,20 +139,24 @@ main {
137139
.faq {
138140
max-height: 0;
139141
overflow: hidden;
140-
transition: max-height 0.5s ease-out;
142+
transition: all 0.5s ease-out;
141143
background-color: var(--background-alt);
142144
border-radius: 0.75rem;
143-
border: 1px solid transparent;
144-
margin-top: 2rem;
145+
border-width: 0;
146+
border-style: solid;
147+
border-color: var(--border-color);
148+
margin-top: 0;
145149
padding: 0 2rem;
146150
width: 100%;
147-
max-width: 600px; /* Or other desired width */
151+
max-width: 600px;
148152
}
149153

150154
.faq.open {
151-
max-height: 1000px; /* Adjust as needed */
152-
padding: 2rem;
153-
border-color: var(--border-color);
155+
max-height: 1000px;
156+
padding-top: 2rem;
157+
padding-bottom: 2rem;
158+
margin-top: 2rem;
159+
border-width: 1px;
154160
}
155161

156162
.faq-item {
@@ -281,14 +287,18 @@ details[open] .donate-toggle::after {
281287
padding: 1rem;
282288
}
283289

290+
.hero, .donate-hero {
291+
padding-left: 1rem;
292+
padding-right: 1rem;
293+
}
294+
284295
.hero h1, .donate-hero h1 {
285296
font-size: 2.5rem;
286297
}
287298

288299
.description {
289300
font-size: 1rem;
290301
max-width: 100%;
291-
padding: 0 1rem;
292302
}
293303

294304
.download-button {

dist/donate/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ <h1>Donate</h1>
2727
</section>
2828

2929
<section class="donate-section">
30-
<details class="donate-collapse" open>
31-
<summary class="donate-toggle">Donate with Cryptocurrency</summary>
30+
<div class="donate-collapse">
3231
<div class="crypto-options">
3332
<a href="bitcoin:bc1q07dfdh7u358ex5n0dxcc3az4dmzgf4759zmvf" class="crypto-link">
3433
<span class="crypto-name">Bitcoin (BTC)</span>
@@ -51,7 +50,7 @@ <h1>Donate</h1>
5150
<span class="crypto-address">48HvobHs4iiET9R8FEV37zNPeE5jGtTJ1eQpveSCwSVZ1zveU9D73VyM2FnXQc5DPLZ5wpeR9aQgjVe3oyfoXXzzDsChepf</span>
5251
</a>
5352
</div>
54-
</details>
53+
</div>
5554
</section>
5655

5756
<section class="back-link-section">

dist/index.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121
comes the next generation of patching</p>
2222
<img src="images/morphe_wordmark_light.svg" alt="Morphe" class="hero-logo">
2323

24-
<br/>
25-
<br/>
26-
<br/>
27-
<br/>
28-
2924
<a href="http://TODO/FIXME" class="download-button">Download Morphe</a>
3025
</section>
3126

@@ -40,7 +35,6 @@
4035
<div class="faq-container">
4136
<section class="faq" id="faq-content">
4237
<h2>Frequently Asked Questions</h2>
43-
<br/>
4438
<div class="faq-item">
4539
<h3>🛡 Is Morphe safe?</h3>
4640
<p>As safe as modifying obfuscated bytecode can be. All source code for Morphe is

0 commit comments

Comments
 (0)