treasuredb/site/style.css

155 lines
2.3 KiB
CSS

html {
margin: 0 auto;
max-width: 800px;
}
body {
font-family: sans-serif;
padding: .5em;
}
h1 {
text-align: center;
border-bottom: 5px double grey;
}
table {
border-collapse: collapse;
width:100%;
}
table td, table th {
border: 1px solid darkgrey;
vertical-align: top;
}
table.accounts tr.group-heading th {
border:none;
vertical-align:middle;
}
table tr:nth-child(even) {
background-color: #eee;
}
table tr:nth-child(odd) {
background-color: #ddd;
}
table.accounts col.transfer {
text-align: center;
}
table.accounts td > a {
font-variant: small-caps;
}
table td.centered {
text-align: center;
}
table td.number {
text-align: right;
font-family: monospace, monospace; /* Hack to prevent browser default size reduction of monospace font */
font-size:1em;
vertical-align: bottom;
}
table td.mark {
background-color:rgba(255,0,0,0.1);
}
table td input,
textarea {
width:100%;
box-sizing: border-box;
}
form {
margin: 1em 0;
}
a.transfer-btn {
background-color:rgba(224,32,0,0.4);
font-weight: bold;
border: 2px outset rgb(224,32,0);
text-decoration: none;
border-radius: 3px;
}
table td.even_until {
text-align: center;
}
table.history p {
margin:0;
}
table.history p.linked-credit {
font-size: smaller;
}
input, textarea {
border: 1px solid #ddd;
padding: 2px;
}
input[type=checkbox], input[type=radio] {
border: none;
}
dl dt {
float: left;
clear: left;
width: 7em;
text-align: right;
font-weight: bold;
}
dl dd {
margin: 0 0 0 8em;
padding: 0 0 0.5em 0;
}
select {
border: 1px solid #ddd;
background-color:transparent;
padding: 2px;
}
.help {
color: lightgrey;
font-size: .8em;
}
img.icon {
vertical-align:middle;
height: 1.2em;
}
.targettable { display:none }
.targettable:target { display: block; }
#bottommenu {
font-size:smaller;
background-color: #eee;
border-top: 5px double grey;
text-align:center;
}
#footer {
font-size:smaller;
color: darkgrey;
text-align: center;
}
a.add-item-btn:link,
a.add-item-btn:visited {
display: block;
float: right;
font-variant: small-caps;
background-color: #eee;
border: 2px outset grey;
padding: 3px;
border-radius: 3px;
text-decoration: none;
color: inherit;
font-weight:normal;
}