szurubooru/public_html/css/history.css

79 lines
1.2 KiB
CSS
Raw Normal View History

2014-09-26 20:41:28 +02:00
table.history {
font-size: 80%;
2014-11-11 16:19:30 +01:00
border-spacing: 0;
2014-09-26 20:41:28 +02:00
}
table.history .addition {
2014-11-11 16:19:30 +01:00
color: #228022;
2014-09-26 20:41:28 +02:00
}
table.history .addition:before {
content: '+';
}
table.history .removal {
2014-11-11 16:19:30 +01:00
color: #e02222;
2014-09-26 20:41:28 +02:00
}
table.history .removal:before {
content: '-';
}
2014-11-11 16:19:30 +01:00
table.history .user img {
vertical-align: middle;
}
2014-09-26 20:41:28 +02:00
table.history .time,
table.history .user,
table.history .subject {
white-space: nowrap;
}
2014-11-11 16:19:30 +01:00
table.history .difference {
word-break: break-all;
2014-09-26 20:41:28 +02:00
}
table.history td {
2014-11-11 16:19:30 +01:00
padding: 0.3em 0.5em 0.3em 0.25em;
word-break: break-word;
word-wrap: break-word;
vertical-align: top;
}
table.history tr:nth-child(2n+1) td {
background: #fafafa;
2014-09-26 20:41:28 +02:00
}
table.history ul {
margin: 0;
padding: 0;
list-style-type: none;
display: inline;
}
table.history ul:before {
content: ' (';
}
table.history ul:after {
content: ')';
}
table.history li {
display: inline;
}
table.history li:not(:last-of-type):after {
content: ', ';
}
2014-11-07 14:40:45 +01:00
#history-wrapper {
text-align: center;
}
#history-wrapper table {
margin: 0 auto;
text-align: left;
}
@media all and (min-width: 77em) {
#history-wrapper table {
width: 70em;
}
}
@media all and (max-width: 77em) {
#history-wrapper table {
width: 100%;
}
}