Skip to content

Commit e964457

Browse files
committed
Better responsive.
1 parent 36cb246 commit e964457

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

assets/pinout.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
body {
1+
body, html {
22
font-family: Verdana, Geneva, Tahoma, sans-serif;
33
padding: 0;
44
margin: 0;
@@ -18,7 +18,7 @@ footer p {
1818
aside {
1919
margin-top: 20px; /* mobile, removed >= 640px */
2020
grid-template-rows: auto 1fr;
21-
grid-template-columns: auto 196px;
21+
grid-template-columns: auto 147px;
2222
display: grid;
2323
}
2424
aside nav {
@@ -38,6 +38,7 @@ ul, li {
3838
}
3939
aside li {
4040
font-size: 80%;
41+
list-style: none;
4142
}
4243
section img {
4344
max-width: 100%;
@@ -230,9 +231,7 @@ section, footer {
230231
aside {
231232
margin-top: 0;
232233
grid-row: 2;
233-
}
234-
aside li {
235-
margin-left: 20px;
234+
grid-template-columns: auto 196px;
236235
}
237236
article p:nth-child(1) {
238237
margin-top: 0;
@@ -248,7 +247,6 @@ section, footer {
248247
body {
249248
background-color: #000000;
250249
color: #eee;
251-
margin: 20px;
252250
}
253251
.labels .ground td {color: #eeeeee66;}
254252
header, body > nav {

0 commit comments

Comments
 (0)