szurubooru/public_html/media/css/post-view.css

237 lines
3.6 KiB
CSS
Raw Normal View History

2014-08-09 20:53:09 +02:00
#sidebar {
2013-10-27 20:46:00 +01:00
width: 224px;
2013-10-12 14:53:47 +02:00
line-height: 1.33em;
font-size: 90%;
2013-10-12 12:38:49 +02:00
}
2014-08-09 19:20:00 +02:00
.post-type-image img,
.post-type-video video {
2013-10-09 22:46:05 +02:00
max-width: 100%;
}
2013-10-12 10:46:15 +02:00
2014-08-09 19:20:00 +02:00
.post-type-youtube iframe {
width: 800px;
height: 600px;
border: 0;
2013-10-19 22:56:56 +02:00
}
2013-10-30 20:20:01 +01:00
#sidebar .relations ul,
#sidebar .tags ul {
2013-10-12 10:46:15 +02:00
list-style-type: none;
2013-10-19 22:56:56 +02:00
margin: 0;
2013-10-12 10:46:15 +02:00
padding: 0;
}
#sidebar .tags .tag-wrapper {
max-width: 100%;
position: relative;
display: inline-block;
}
#sidebar .tags li a {
padding-right: 2.75em;
box-sizing: border-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
width: 100%;
vertical-align: text-bottom;
}
#sidebar .tags li .count {
position: absolute;
width: 2em;
right: 0;
top: 0;
2013-10-12 10:46:15 +02:00
color: silver;
vertical-align: text-bottom;
2013-10-12 10:46:15 +02:00
}
#around {
2013-10-12 12:38:49 +02:00
margin-bottom: 2em;
}
#around .text {
font-size: 90%;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
margin-top: 0.75em;
}
#around .left {
2013-10-12 12:38:49 +02:00
float: left;
}
#around .right {
2013-10-12 12:38:49 +02:00
float: right;
}
#around a.disabled {
2013-10-12 12:38:49 +02:00
color: silver;
}
#around a.disabled i[class*='icon-'] {
2013-10-12 12:38:49 +02:00
background-color: silver;
}
2014-02-17 19:50:02 +01:00
#sidebar .uploader .date {
font-size: 9pt !important;
color: gray;
display: inline-block;
position: relative;
top: -5px;
}
2013-10-22 09:24:17 +02:00
#sidebar .uploader img {
2014-02-17 19:50:02 +01:00
vertical-align: text-top;
float: left;
margin: 3px 8px 0 0;
width: 25px;
height: 25px;
background-image: url('http://www.gravatar.com/avatar/0?f=y&d=mm&s=25');
2013-10-22 09:24:17 +02:00
}
2014-02-17 19:50:02 +01:00
#sidebar .unit.details { margin-bottom: 1.5em; }
#sidebar .unit.hl-options { margin-top: 1.5em; }
2013-10-31 13:14:09 +01:00
#sidebar .safety-safe {
color: #43aa43;
}
#sidebar .safety-sketchy {
color: #d4a627;
}
#sidebar .safety-unsafe {
color: #df4b0d;
}
2013-11-10 12:23:59 +01:00
#sidebar .score .selected {
font-weight: bold;
}
2014-04-27 15:59:29 +02:00
#sidebar .score a:first-of-type:before {
content: '[';
color: black;
}
#sidebar .score a:last-of-type:after {
content: ']';
color: black;
}
2014-08-09 13:04:14 +02:00
#sidebar .permalink {
display: inline-block;
margin: 1em 0 0 -1px;
width: 100%;
font-size: 85%;
line-height: 150%;
height: auto;
padding: 0.2em 0.5em;
cursor: text;
color: dimgray;
border: 1px solid #e0e0e0;
2014-08-09 20:49:37 +02:00
box-sizing: border-box;
text-overflow: ellipsis;
white-space: pre;
overflow: hidden;
2014-08-09 13:04:14 +02:00
}
#sidebar .left a,
#sidebar .right a {
display: inline-block;
}
2013-10-12 10:46:15 +02:00
i.icon-prev {
background-position: -12px -1px;
2014-02-17 19:50:02 +01:00
margin-left: 8px;
2013-10-12 10:46:15 +02:00
}
i.icon-next {
background-position: -1px -1px;
2014-02-17 19:50:02 +01:00
margin-right: 8px;
2013-10-12 10:46:15 +02:00
}
i.icon-prev,
i.icon-next {
vertical-align: middle;
width: 8px;
height: 20px;
}
2014-02-17 19:50:02 +01:00
2013-10-12 10:46:15 +02:00
i.icon-dl {
margin: 0;
width: 20px;
height: 20px;
background-position: -22px -1px;
}
2014-02-17 19:50:02 +01:00
i.icon-edit {
margin: 0;
width: 20px;
height: 20px;
background-position: -43px -22px;
}
i.icon-fav {
margin: 0;
width: 20px;
height: 20px;
}
.add-fav i.icon-fav {
background-position: -1px -22px;
}
.rem-fav i.icon-fav {
background-position: -22px -22px;
}
.hl-option {
margin: 0.4em 0;
2013-10-12 10:46:15 +02:00
}
2014-02-17 19:50:02 +01:00
.hl-option i[class^='icon'] {
2013-10-12 12:38:49 +02:00
vertical-align: middle;
2013-10-12 10:46:15 +02:00
}
2014-02-17 19:50:02 +01:00
.hl-option span {
2014-04-27 15:59:29 +02:00
padding-left: 0.4em;
2013-10-12 12:38:49 +02:00
vertical-align: middle;
2013-10-12 10:46:15 +02:00
}
2013-10-12 12:38:49 +02:00
.permalink .ext:after {
content: ', ';
2013-10-12 10:46:15 +02:00
}
2013-10-13 12:28:16 +02:00
.options ul {
2013-10-12 14:53:47 +02:00
list-style-type: none;
margin: 0;
padding: 0;
}
2013-10-13 12:28:16 +02:00
.favorites p {
margin: 0;
}
2013-10-12 14:53:47 +02:00
.favorites ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.favorites li {
display: inline-block;
}
.favorites a {
margin: 2px;
}
2013-10-13 12:28:16 +02:00
#inner-content {
position: relative;
}
.unit.edit-post {
position: absolute;
margin-top: 0;
padding: 1em;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 1em 1em rgba(255, 255, 255, 0.8);
z-index: 99;
top: 0;
left: 0;
right: 0;
2013-10-13 12:28:16 +02:00
display: none;
}
.unit.edit-post ul.tagit,
.unit.edit-post input:not([type=file]) {
background: rgba(255, 255, 255, 0.75);
}
.unit.edit-post ul.tagit input {
background: transparent;
}
2013-10-13 12:28:16 +02:00
ul.tagit {
display: block;
vertical-align: middle;
margin: 0;
font-size: 1em;
}