Skip to content

Commit dab6b2a

Browse files
committed
style: enhance link appearance and add footer info section
1 parent 30d91b6 commit dab6b2a

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

css/style.css

+18
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,22 @@ center-buttons {
128128
text-align: center;
129129
border-radius: 5px;
130130
padding: 0px;
131+
}
132+
133+
a:link,
134+
a:visited {
135+
color: rgb(255, 255, 255);
136+
font-weight: bold;
137+
text-decoration: none;
138+
}
139+
140+
#info {
141+
color: white;
142+
font-family: 'Courier New', Courier, monospace;
143+
font-size: small;
144+
display: inline-block;
145+
position: fixed;
146+
bottom: 10px;
147+
left: 10px;
148+
width: 100%;
131149
}

index.html

+7-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@
4141
<button id="settings">Settings</button>
4242
<form id="settingsForm" class="form-group" style="display: none">
4343
<label for="simulationAria">Simulation Area:</label>
44-
<input type="number" id="simulationAria" value="10" min="1" required onkeydown="if(event.key === 'Enter'){event.preventDefault();}">
44+
<input type="number" id="simulationAria" value="10" min="1" required
45+
onkeydown="if(event.key === 'Enter'){event.preventDefault();}">
4546
<label for="elastic">
4647
coefficient of restitution:</label>
47-
<input type="number" id="elastic" value="1.5" min="0" required onkeydown="if(event.key === 'Enter'){event.preventDefault();}">
48+
<input type="number" id="elastic" value="1.5" min="0" required
49+
onkeydown="if(event.key === 'Enter'){event.preventDefault();}">
4850

4951
<label for="showGrid">Show grid:</label>
5052
<input type="checkbox" id="showGrid">
@@ -57,6 +59,9 @@
5759
</div>
5860
</div>
5961
</div>
62+
<div id="info">
63+
Made by <a href= "https://github.com/NiniEdo" >Edoardo Nini</href>
64+
</div>
6065
<script type="module" src="/src/renderer.ts"></script>
6166
<script type="module" src="/src/domHandler.ts"></script>
6267
</body>

0 commit comments

Comments
 (0)