theme: style tables
parent
63d966f019
commit
f75e6d5720
|
@ -145,6 +145,37 @@ blockquote {
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
/* Table */
|
||||
table {
|
||||
border-spacing: 0;
|
||||
border: 1px solid #cccccc;
|
||||
margin-bottom: 10px;
|
||||
margin-right: 10px;
|
||||
border-radius: 4px;
|
||||
max-width: 100%;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
th:not(:first-child), td:not(:first-child) {
|
||||
border-left: 1px solid #cccccc;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
tr {
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
tr:hover {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
/* Footer -- Not needed on desktop */
|
||||
.footer {
|
||||
display: none;
|
||||
|
|
Loading…
Reference in New Issue