stylelint fixes

This commit is contained in:
jamesread 2021-10-18 10:47:31 +01:00
parent 437d8ccb5a
commit 02ea5e4a67
1 changed files with 44 additions and 56 deletions

View File

@ -8,7 +8,7 @@ body {
} }
fieldset { fieldset {
padding: 0; padding: 0;
} }
fieldset#rootGroup { fieldset#rootGroup {
@ -20,43 +20,30 @@ fieldset#rootGroup {
border: 0; border: 0;
} }
fieldset#switcher {
border: 0;
text-align: right;
margin-bottom: 1em;
}
fieldset#switcher button:first-child{
border-radius: 1em 0em 0em 1em;
}
fieldset#switcher button:last-child{
border-radius: 0 1em 1em 0;
}
table { table {
background-color: white; background-color: white;
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
box-shadow: 0 0 10px 0 #444; box-shadow: 0 0 10px 0 #444;
} }
th, td { th,
border: 1px solid #efefef; td {
text-align: left; border: 1px solid #efefef;
padding: .6em; text-align: left;
padding: 0.6em;
} }
th:first-child { th:first-child {
width: 5%; width: 5%;
} }
tr:hover td { tr:hover td {
background-color: beige; background-color: beige;
} }
button.activeSection { button.activeSection {
font-weight: bold; font-weight: bold;
} }
legend { legend {
@ -116,6 +103,20 @@ button:disabled {
cursor: not-allowed; cursor: not-allowed;
} }
fieldset#switcher {
border: 0;
text-align: right;
margin-bottom: 1em;
}
fieldset#switcher button:first-child {
border-radius: 1em 0 0 1em;
}
fieldset#switcher button:last-child {
border-radius: 0 1em 1em 0;
}
span.icon { span.icon {
font-size: 3em; font-size: 3em;
} }
@ -196,54 +197,41 @@ img.logo {
background-color: black; background-color: black;
} }
table, td, th { table,
border: 1px solid gray; td,
th {
border: 1px solid gray;
} }
td, tr { td,
background-color: #222; tr {
color: white; background-color: #222;
color: white;
} }
tr:hover td { tr:hover td {
background-color: #666; background-color: #666;
} }
footer, footer a { footer,
color: gray; footer a {
color: gray;
} }
} }
main { main {
padding: 1em; padding: 1em;
} }
summary { summary {
cursor: pointer; cursor: pointer;
} }
details { details {
display: inline-block; display: inline-block;
} }
details[open] { details[open] {
margin-top: 1em; margin-top: 1em;
display: block; display: block;
}
main {
padding: 1em;
}
summary {
cursor: pointer;
}
details {
display: inline-block;
}
details[open] {
margin-top: 1em;
display: block;
} }