1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 13:14:20 +00:00

style light et dark

This commit is contained in:
Maxime Moraine 2020-04-16 18:08:21 +02:00
parent fc5e3cad66
commit 71ab024b95
9 changed files with 86 additions and 14 deletions

View file

@ -1,3 +1,6 @@
.page.content {
//padding: 0 24px;
.column-count-3 {
column-count: 3;
margin-bottom: 12px;
}
}

View file

@ -42,7 +42,9 @@ table {
padding: 6px 12px;
border-bottom: none !important;
}
}
.theme--light {
thead {
background-color: $color-table-header-bg;
color: #fff;
@ -69,3 +71,21 @@ table {
}
}
}
.theme--dark {
thead {
background-color: darken($color-gray, 10);
}
tbody {
tr {
&:nth-of-type(even) {
background-color: darken($color-gray, 10);
}
&:nth-of-type(odd):hover {
background-color: inherit !important;
}
td {
}
}
}
}

View file

@ -14,3 +14,25 @@
.source {
font-size: 0.8rem;
}
.theme--light {
h1, h2 {
color: $color-dragon;
}
h2 {
border-bottom: 1px solid $color-dragon;
margin-bottom: 12px;
}
h3, h4, h5, h6 {
color: $color-hero;
}
}
.theme--dark {
h2 {
border-bottom: 1px solid #fff;
margin-bottom: 12px;
}
}