diff --git a/static/styles.css b/static/styles.css
index 49e8dc3..1b417eb 100644
--- a/static/styles.css
+++ b/static/styles.css
body {
- font-size: 12pt;
- color: #000;
- background: white;
margin: 0;
+ line-height: 1.5;
+ font-family: sans-serif;
+}
+
+h1, h2, h3 {
+ font-weight: normal;
}
a {
}
nav {
- top: 0;
- width: screen;
- position: sticky;
padding: 0.8em 2em;
display: flex;
- justify-content: space-between;
+ gap: 1em;
align-items: center;
background-color: #f5f5f5;
border-bottom: 1px solid lightgray;
}
.content {
- padding: 1em 2em;
+ padding: 1.5em 2em;
}
-/* dont make headers too big */
h1 {
font-size: 120%;
margin: 0.5em 0;
}
th, td {
- padding: 4px 8px;
+ padding: 6px 12px;
text-align: left;
white-space: nowrap;
border: 1px solid lightgray;
}
-
tbody tr:nth-child(even) {
- background-color: #f1f1f1;
+ background-color: #f9f9f9;
}
/* commits table */
table.commits-table {
- width: 100%;
- table-layout: fixed;
+ width: 100%;
+ table-layout: auto;
}
table.commits-table td {
- white-space: nowrap;
-}
-
-table.commits-table th, table.commits-table td {
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-table.commits-table .author-col {
- width: 15%;
-}
-
-table.commits-table .age-col {
- width: 10%;
-}
-
-table.commits-table .changes-col {
- width: 10%;
-}
-
-table.commits-table .commit-col {
- width: 6%;
+ white-space: nowrap;
}
table.commits-table .message-col {
- width: 59%;
- white-space: nowrap;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ max-width: 400px;
}
.files-changed {