From 89cdeacbe91fe026a96a09c46517d4d31b0ebc94 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Wed, 1 Jan 2020 21:21:10 -0500 Subject: [PATCH] fix minor style errors --- local.css | 11 ++++++++--- templates/iboxperson.mdwn | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/local.css b/local.css index 9d90096..e4ad188 100644 --- a/local.css +++ b/local.css @@ -34,7 +34,7 @@ td, th { font-size: 0.75em } .ibox-img { - height: 150px + max-height: 200px } h1, h2, h3, h4, h5, h6 { font-family: serif @@ -61,6 +61,11 @@ blockquote { } .sidebar { padding: 0ex 1ex; + min-width: 20ex; + max-width: 40%; + width: auto; + position: relative; + z-index: 99 } a {color: #92ebf0} body {background-color: #0a0a0a; color: #eaeaea} @@ -68,7 +73,7 @@ h1, h2, h3, h4, h5, h6 {color: #9a9a9a} h3>span {color: #7a7a7a} td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #eaeaea} small {color: #777} -div.recentchanges, .sidebar {background-color: #1a1a1a !important; color: #eee !important} +div.recentchanges, .sidebar, .toc {background-color: #1a1a1a !important; color: #eee !important} .recentchanges .changelog {background-color: #2a2a2a !important; color: #fff !important} @media(prefers-color-scheme: light) { a {color: #2a7fe8} @@ -77,6 +82,6 @@ div.recentchanges, .sidebar {background-color: #1a1a1a !important; color: #eee ! h3>span {color: #858585} td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #151515} small {color: #888} - div.recentchanges, .sidebar {background-color: #e5e5e5 !important; color: #111 !important} + div.recentchanges, .sidebar, .toc {background-color: #e5e5e5 !important; color: #111 !important} .recentchanges .changelog {background-color: #d5d5d5 !important; color: #000 !important} } diff --git a/templates/iboxperson.mdwn b/templates/iboxperson.mdwn index 446268f..aa6b100 100644 --- a/templates/iboxperson.mdwn +++ b/templates/iboxperson.mdwn @@ -4,7 +4,7 @@ [[!color foreground=black background=white - text=""]] + text=""]] @@ -63,7 +63,7 @@ This template is a simple info box for people or characters. Parameters: | Name | Description | -| ----------- | ----------- | +| ---- | ----------- | | name | Required. Name of the person. | | colorfg | The foreground color for the name. Defaults to black. | | colorbg | The background color for the name. Defaults to white. | @@ -84,7 +84,7 @@ Parameters: Example usage: \[[!sidebar content=""" - \[[!template + [[!template id=iboxperson name="John Doe" image="/xevv/images/noimage.png"