Skip to content

Commit 9a9efb1

Browse files
committed
table style
1 parent 71f97d9 commit 9a9efb1

File tree

2 files changed

+21
-26
lines changed

2 files changed

+21
-26
lines changed

web/src/pages/reference/Anti_Cheat_Guide.astro

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -367,30 +367,4 @@ If you want to use modified data files from your GTA:SA install directory, check
367367
The checkbox only appears if your GTA:SA data files are customized.
368368

369369
<NoteBox type='info'>This will restrict your access to some public servers as most do not allow customized data files.</NoteBox>
370-
371-
<style>
372-
.actable {
373-
width: auto;
374-
border-collapse: collapse;
375-
}
376-
377-
.actable th,
378-
.actable td {
379-
border: 1px solid var(--sl-color-gray-3);
380-
padding: 8px;
381-
text-align: center;
382-
color: var(--sl-color-text);
383-
}
384-
385-
.actable th {
386-
background-color: var(--sl-color-hairline);
387-
font-weight: bold;
388-
}
389-
390-
.actable td {
391-
background-color: var(--sl-color-bg-inline-code);
392-
}
393-
</style>
394-
395-
396370
</AutoStarlightPage>

web/src/styles/custom.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,25 @@
193193

194194
:root[data-theme='light'] .side-shared.active {
195195
background-color: var(--color-type-shared-background-high-light);
196+
}
197+
198+
.table {
199+
width: auto;
200+
border-collapse: collapse;
201+
}
202+
203+
th, td {
204+
border: 1px solid var(--sl-color-gray-3);
205+
padding: 8px;
206+
text-align: center;
207+
color: var(--sl-color-text);
208+
}
209+
210+
th {
211+
background-color: var(--sl-color-hairline);
212+
font-weight: bold;
213+
}
214+
215+
td {
216+
background-color: var(--sl-color-bg-inline-code);
196217
}

0 commit comments

Comments
 (0)