aboutsummaryrefslogtreecommitdiff
path: root/styles/gameSettings.css
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-21 09:57:40 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-21 09:57:40 +0200
commitde2853cc4793b7948b94525a0a4f964e49943131 (patch)
tree4b8a15dccf1b8d9d3aea80899fe36cedcc09af23 /styles/gameSettings.css
parent93f24011f9613b7785b37dc4b0c963d9be22ba30 (diff)
even more components without inline css
Diffstat (limited to 'styles/gameSettings.css')
-rw-r--r--styles/gameSettings.css25
1 files changed, 20 insertions, 5 deletions
diff --git a/styles/gameSettings.css b/styles/gameSettings.css
index d9ba262..3c45fb4 100644
--- a/styles/gameSettings.css
+++ b/styles/gameSettings.css
@@ -29,7 +29,7 @@
}
.editGameSettings .editableRules {
- margin-top: var(--spacing-large);
+ margin: var(--spacing-large) 0;
max-height: 500px;
overflow-y: scroll;
}
@@ -43,11 +43,14 @@
html.dark .editGameSettings .editableRules .editableRulesSection {
background-color: var(--gray-800);
}
-
-.editGameSettings .button {
- line-height: normal;
+.editGameSettings .editableRules .editableRulesSection:last-child {
+ margin-bottom: 0;
}
+.editGameSettings .button { line-height: normal; }
+
+.editGameSettings .checkboxWrapper { margin: -3px; }
+
.editGameSettings .editableRules .editableRulesSection .timeControls {
margin: var(--spacing-medium);
margin-left: 0;
@@ -56,7 +59,19 @@ html.dark .editGameSettings .editableRules .editableRulesSection {
.editGameSettings .editableRules .editableRulesSection .timeControls input {
background-color: var(--background);
-
width: calc(100% - 2 * var(--spacing-medium));
}
+.editGameSettings .editableRules .gamerule {
+ margin-top: var(--spacing-medium);
+}
+
+.editGameSettings .editableRules .gamerule h1 {
+ color: var(--accent);
+ font-size: 2.5rem;
+}
+
+#timelimit .valignsup {
+ margin-left: var(--spacing-small);
+}
+