mirror of
https://github.com/BreizhHardware/lefrenchmathproject.git
synced 2026-01-18 16:37:32 +01:00
Add darkmode table
This commit is contained in:
@@ -98,6 +98,33 @@
|
||||
left: 0;
|
||||
}
|
||||
|
||||
body.dark-mode table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
background-color: #333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
body.dark-mode table th,
|
||||
body.dark-mode table td {
|
||||
border: 1px solid #555;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
body.dark-mode table th {
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
body.dark-mode table tr:nth-child(even) {
|
||||
background-color: #3a3a3a;
|
||||
}
|
||||
|
||||
body.dark-mode table tr:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.toc {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user