summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-02-13 15:28:05 +0100
committerYorhel <git@yorhel.nl>2020-02-13 15:28:07 +0100
commit23fb02e36defa7660ee871dd9e650906b0d2d616 (patch)
treeef96a9aad699df8a42da33930af373d4ea69e177 /data
parentf95eab4d6547d402d79e443c5488d12b74650f74 (diff)
v2rw: WIP: Convert character pages
This uses an alternative (non-JS) approach to spoiler hiding, which is both much simpler to implement and properly handles all cases. Downside is that it requires a page reload. It also allows direct linking to a character page with a particular view, but I'm not entirely sure if this is a welcome feature. This is a WIP because it doesn't display instances yet.
Diffstat (limited to 'data')
-rw-r--r--data/style.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/style.css b/data/style.css
index 88ec2157..d7686e0c 100644
--- a/data/style.css
+++ b/data/style.css
@@ -205,8 +205,8 @@ p.linkradio { padding: 2px }
* <a href="#" class="linkradio checked">Checked option</a>
*/
a.linkradio:before { content: '✗' }
-a.linkradio.checked { color: $maintext$ }
a.linkradio.checked:before { content: '✓' }
+a.checked { color: $maintext$ }
/* Spinner, <div class="spinner"></div> for a large one, <span> for a smaller inline-text version */
.spinner { content: ''; box-sizing: border-box; border: 3px solid #9eaebd; border-bottom-color: transparent; border-radius: 100%; animation: spin 1s infinite linear; width: 16px; height: 16px; display: inline-block; margin: auto }
@@ -287,6 +287,8 @@ div.mainbox-overflow-hack { overflow: hidden; width: 100%; box-sizing: border-bo
.mainbox table p { margin: 0; }
.mainbox h2 { font-weight: bold; font-size: 16px; margin: 10px 0 0 5px; }
a.addnew, p.addnew { float: right; margin: 0 }
+a.mainopts, p.mainopts { float: right; margin: 0 }
+p.mainopts a { margin: 0 5px }
.mainbox.threelayout { border-collapse: separate; border-spacing: 10px; margin: 10px -10px -20px -10px; min-width: 100%; }
.mainbox.threelayout td { width: 32%; padding: 0 2px 10px 2px; }