Skip to content

Commit 3a7d316

Browse files
committed
Little changes to Surface Materials page
1 parent 7668d85 commit 3a7d316

File tree

1 file changed

+11
-30
lines changed

1 file changed

+11
-30
lines changed

web/src/pages/reference/ID_Lists/Surface_Materials.astro

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { getSeeAlsoLinksFromList } from "@src/utils/general";
55
import SeeAlsoSection from "@src/components/SeeAlsoSection.astro";
66
77
import { Code } from "@astrojs/starlight/components";
8+
import NoteBox from "@src/components/NoteBox.astro";
89
910
import { materials } from "@src/data/materials";
1011
@@ -46,14 +47,22 @@ luaTable += `}`;
4647

4748
<p>
4849
The group names and readable material names have been extracted from
49-
Collision File Editor II by Steve M.
50+
<a href="https://www.gtagarage.com/mods/show.php?id=1154"
51+
>Collision File Editor II by Steve M.</a
52+
>
5053
</p>
5154

55+
<NoteBox type="tip"
56+
>Even though many surfaces have the same sound, they have different physical
57+
properties. For example, water (shallow) causes a splashing effect when
58+
walking.</NoteBox
59+
>
60+
5261
{
5362
sortedCategories.map((category) => (
5463
<section>
5564
<h3>{category}</h3>
56-
<table class="materials-table">
65+
<table>
5766
<thead>
5867
<tr>
5968
<th>ID</th>
@@ -85,31 +94,3 @@ luaTable += `}`;
8594
currentId=""
8695
/>
8796
</StarlightPage>
88-
89-
<style>
90-
.materials-table {
91-
width: 100%;
92-
border-collapse: collapse;
93-
margin-bottom: 2rem;
94-
}
95-
96-
.materials-table th,
97-
.materials-table td {
98-
padding: 0.5rem;
99-
text-align: left;
100-
border-bottom: 1px solid var(--sl-color-gray-4);
101-
}
102-
103-
.materials-table th {
104-
background-color: var(--sl-color-gray-5);
105-
font-weight: 600;
106-
}
107-
108-
.materials-table tbody tr:hover {
109-
background-color: var(--sl-color-gray-5);
110-
}
111-
112-
.materials-table code {
113-
font-size: 0.9em;
114-
}
115-
</style>

0 commit comments

Comments
 (0)