Skip to content

Commit 9005130

Browse files
committed
Use a consistent font, and make links legible in dark mode
1 parent baf5817 commit 9005130

File tree

2 files changed

+29
-22
lines changed

2 files changed

+29
-22
lines changed

css/style.css

+23-11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
--background: #FAFAFA;
55
--background-alt: #EFEFEF;
66
--border-color: #D6D6D6;
7+
--link: #0000FF;
8+
--active-link: #FF0000;
79
--log-info: #7D7D7C;
810
--log-out: #1D1D1C;
911
--log-err: #FF0000;
@@ -16,12 +18,18 @@
1618
--background: #2D2D2D;
1719
--background-alt: #424242;
1820
--border-color: #575757;
21+
--link: #8888FF;
22+
--active-link: #FF8888;
1923
--log-info: #999999;
2024
--log-out: #FFFFFF;
2125
--log-err: #FF0000;
2226
}
2327
}
2428

29+
* {
30+
font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
31+
}
32+
2533
body {
2634
color: var(--color);
2735
background:var(--background);
@@ -38,28 +46,37 @@ input, textarea {
3846
button {
3947
border: 1px solid #555;
4048
border-radius: 4px;
41-
padding: 8px;
49+
padding: 2px 8px;
4250
margin: 2px;
4351
background-color: var(--background);
4452
color: var(--color);
4553
}
4654

47-
button:hover{
55+
button:hover {
4856
background-color: var(--background-alt);
4957
}
5058

59+
a:link, a:visited {
60+
color: var(--link);
61+
text-decoration: underline;
62+
}
63+
a:hover, a:active {
64+
color: var(--active-link);
65+
text-decoration: none;
66+
}
67+
5168
.cpuLineMarker {
5269
position:absolute;
5370
background:rgba(100,200,100,0.5);
5471
z-index:20
5572
}
56-
.ace_gutter-cell.ace_breakpoint{
73+
.ace_gutter-cell.ace_breakpoint {
5774
border-radius: 14px;
58-
box-shadow: 10px 0px 1px 1px #ff2020 inset;
75+
box-shadow: 10px 0px 1px 1px #ff2020 inset;
5976
}
60-
.ace_gutter-cell.ace_invalid_breakpoint{
77+
.ace_gutter-cell.ace_invalid_breakpoint {
6178
border-radius: 14px;
62-
box-shadow: 10px 0px 1px 1px #802020 inset;
79+
box-shadow: 10px 0px 1px 1px #802020 inset;
6380
}
6481
.right {
6582
text-align: right;
@@ -104,14 +121,10 @@ table {
104121
table, th, td {
105122
border: 1px solid var(--border-color);
106123
background: var(--background);
107-
font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
108124
}
109125
body {
110126
margin: 0;
111127
}
112-
textarea {
113-
resize: none;
114-
}
115128
canvas {
116129
image-rendering: pixelated;
117130
}
@@ -159,7 +172,6 @@ canvas {
159172
.filelist li {
160173
overflow: auto;
161174
background: var(--background);
162-
font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
163175
padding: 1px;
164176
cursor: pointer;
165177
user-select: none;

index.html

+6-11
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@
5858
>Report a problem</a
5959
>
6060
</li>
61-
<li>Source:</li>
62-
<li>
61+
<li>Source:<br>
6362
<a href="https://github.com/gbdev/rgbds-live" target="_blank"
6463
>https://github.com/gbdev/rgbds-live</a
6564
>
@@ -68,23 +67,19 @@
6867
<li>
6968
<a href="https://github.com/gbdev/rgbds/" target="_blank"
7069
>rgbds</a
71-
>: Rednex Game Boy Development System
72-
</li>
73-
<li>
70+
>: Rednex Game Boy Development System<br>
7471
(MIT License, Copyright (c) 1997-2024, Carsten Sørensen and
7572
RGBDS contributors)
7673
</li>
7774
<li>
7875
<a href="https://github.com/binji/binjgb" target="_blank"
7976
>binjgb</a
80-
>: Gameboy Emulator
81-
</li>
82-
<li>(MIT License, Copyright (C) 2016, Ben Smith)</li>
77+
>: Gameboy Emulator<br>
78+
(MIT License, Copyright (C) 2016, Ben Smith)</li>
8379
<li>
8480
<a href="https://ace.c9.io/" target="_blank">Ace</a>: High
85-
performance code editor for web
86-
</li>
87-
<li>(BSD License, Copyright (c) 2010, Ajax.org B.V.)</li>
81+
performance code editor for web<br>
82+
(BSD License, Copyright (c) 2010, Ajax.org B.V.)</li>
8883
</ul>
8984
</li>
9085
</ul>

0 commit comments

Comments
 (0)