Skip to content

Commit d799ccb

Browse files
Fix green download color in index
1 parent 2bde8c0 commit d799ccb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

web/src/pages/index.astro

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ import { Icon } from '@astrojs/starlight/components';
3232

3333
<p>If you have any questions or problems related to scripting, feel free to get in touch with us on <a href="https://discord.com/invite/mtasa" target="_blank">Discord</a>.</p>
3434

35-
<p class="bigtext"><em>[ Stop playing with yourself ]</em></p>
35+
<p class="bigtext">[ Stop playing with yourself ]</p>
3636
</div>
3737
</div>
3838

3939
<div class="mtagrid">
4040
<div class="mtabox">
4141
<h3>Play</h3>
4242
<div>
43-
<a class="downloadmta" href="https://multitheftauto.com/"><Icon size="1.8rem" name="download" color="lightgreen" class="inline-icon" />Download <strong>Multi Theft Auto: San Andreas</strong> ({MTA_CURRENT_VERSION.full})</a>
43+
<a class="downloadmta mtagreen" href="https://multitheftauto.com/"><Icon size="1.8rem" name="download" class="mtadownload-icon mtagreen" />Download <strong>Multi Theft Auto: San Andreas</strong> ({MTA_CURRENT_VERSION.full})</a>
4444
</div>
4545
<ul>
4646
<li><a href="/Where_to_buy_GTASA">Where to buy GTASA</a></li>
@@ -217,11 +217,17 @@ import { Icon } from '@astrojs/starlight/components';
217217

218218
.downloadmta {
219219
font-size: 1.2em;
220-
color: lightgreen !important;
221220
}
222-
.inline-icon {
221+
.mtadownload-icon {
223222
display: inline-block;
224223
vertical-align: top;
225224
margin-right: 6px;
226225
}
226+
.mtagreen {
227+
color: lightgreen !important;
228+
}
229+
:root[data-theme="light"] .mtagreen {
230+
color: #00ac09 !important;
231+
}
232+
227233
</style>

0 commit comments

Comments
 (0)