fix minor style errors

master
an 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
}
.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}
}

View File

@ -4,7 +4,7 @@
[[!color
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>
text="<TMPL_VAR raw_name>"]]
text="<TMPL_VAR name>"]]
</h4>
<TMPL_IF 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:
| 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"