fix minor style errors

This commit is contained in:
alison wright 2020-01-01 21:21:10 -05:00
parent 68f12eac3a
commit 89cdeacbe9
2 changed files with 11 additions and 6 deletions

View File

@ -34,7 +34,7 @@ td, th {
font-size: 0.75em font-size: 0.75em
} }
.ibox-img { .ibox-img {
height: 150px max-height: 200px
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
font-family: serif font-family: serif
@ -61,6 +61,11 @@ blockquote {
} }
.sidebar { .sidebar {
padding: 0ex 1ex; padding: 0ex 1ex;
min-width: 20ex;
max-width: 40%;
width: auto;
position: relative;
z-index: 99
} }
a {color: #92ebf0} a {color: #92ebf0}
body {background-color: #0a0a0a; color: #eaeaea} body {background-color: #0a0a0a; color: #eaeaea}
@ -68,7 +73,7 @@ h1, h2, h3, h4, h5, h6 {color: #9a9a9a}
h3>span {color: #7a7a7a} h3>span {color: #7a7a7a}
td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #eaeaea} td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #eaeaea}
small {color: #777} 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} .recentchanges .changelog {background-color: #2a2a2a !important; color: #fff !important}
@media(prefers-color-scheme: light) { @media(prefers-color-scheme: light) {
a {color: #2a7fe8} a {color: #2a7fe8}
@ -77,6 +82,6 @@ div.recentchanges, .sidebar {background-color: #1a1a1a !important; color: #eee !
h3>span {color: #858585} h3>span {color: #858585}
td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #151515} td, th, fieldset, blockquote, .pageheader .actions ul, #pageinfo {border-color: #151515}
small {color: #888} 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} .recentchanges .changelog {background-color: #d5d5d5 !important; color: #000 !important}
} }

View File

@ -4,7 +4,7 @@
[[!color [[!color
foreground=<TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF> foreground=<TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF>
background=<TMPL_IF colorbg><TMPL_VAR raw_colorbg><TMPL_ELSE>white</TMPL_IF> background=<TMPL_IF colorbg><TMPL_VAR raw_colorbg><TMPL_ELSE>white</TMPL_IF>
text="<TMPL_VAR raw_name>"]] text="<TMPL_VAR name>"]]
</h4> </h4>
<TMPL_IF image> <TMPL_IF image>
<img class="ibox-img" src="<TMPL_VAR image>"/> <img class="ibox-img" src="<TMPL_VAR image>"/>
@ -63,7 +63,7 @@ This template is a simple info box for people or characters.
Parameters: Parameters:
| Name | Description | | Name | Description |
| ----------- | ----------- | | ---- | ----------- |
| name | Required. Name of the person. | | name | Required. Name of the person. |
| colorfg | The foreground color for the name. Defaults to black. | | colorfg | The foreground color for the name. Defaults to black. |
| colorbg | The background color for the name. Defaults to white. | | colorbg | The background color for the name. Defaults to white. |
@ -84,7 +84,7 @@ Parameters:
Example usage: Example usage:
\[[!sidebar content=""" \[[!sidebar content="""
\[[!template [[!template
id=iboxperson id=iboxperson
name="John Doe" name="John Doe"
image="/xevv/images/noimage.png" image="/xevv/images/noimage.png"