Improve computers page, change page width to 975px to compensate for scrollbars

This commit is contained in:
Frankie B 2024-07-12 23:48:06 +01:00
commit a480bdeac8
2 changed files with 229 additions and 159 deletions

View file

@ -109,7 +109,7 @@ button:hover {
div.page {
/*min-width: 1000px;*/
/*max-width: 1100px;*/
width: 1000px;
width: 975px;
padding-left: 0.5em;
padding-right: 0.5em;
margin: auto;
@ -252,14 +252,10 @@ .header {
/* ── Computers ───────────────────────────────────────────────────────────────────── */
table.computers {
table-layout: auto;
width: 100%;
}
table.computers td:first-child {
width: 350px;
text-align: center;
font-weight: bold;
}
table.computers td ul {
margin: 0;
padding-left: 20px;
@ -280,6 +276,10 @@ table.computers th {
background-color: var(--background-secondary);
}
table.computers td:first-child {
white-space: nowrap;
}
table.computers td,
table.computers th {
border: var(--foreground) solid 1px;