better styling?

This commit is contained in:
alison wright 2020-11-22 22:25:04 -07:00
parent ae666bee83
commit 951f1fb7cc
2 changed files with 10 additions and 14 deletions

View File

@ -209,13 +209,12 @@ div.recentchanges {
min-width: 20ex; min-width: 20ex;
max-width: 40%; max-width: 40%;
float: right; float: right;
margin-left: 4px; margin: 1em 0em 1em 1em;
margin-bottom: 4px; padding: 0.25em 1ex;
margin-top: -1px;
padding: 0ex 1ex;
border: 1px solid black;
position: relative; position: relative;
z-index: 99 z-index: 99;
border: solid 0.1em #fff;
border-radius: 0.25em;
} }
hr.poll { hr.poll {
@ -318,10 +317,10 @@ legend {
float: left; float: left;
margin: 2px 0; margin: 2px 0;
} }
label.block { label.block {
display: block; display: block;
} }
label.inline { label.inline {
display: inline; display: inline;
} }
input#openid_identifier { input#openid_identifier {

View File

@ -1,10 +1,7 @@
[[!templatebody <<ENDBODY [[!templatebody <<ENDBODY
<div class="ibox"> <div class="ibox">
<h4 class="ibox-head"> <h4 class="ibox-head" style="color: <TMPL_IF colorfg><TMPL_VAR raw_colorfg><TMPL_ELSE>black</TMPL_IF>; background-color: <TMPL_IF colorbg><TMPL_VAR raw_colorbg><TMPL_ELSE>white</TMPL_IF>">
[[!color <TMPL_VAR name>
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 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>"/>