szurubooru/public_html/css/post.css

169 lines
2.6 KiB
CSS
Raw Normal View History

2014-09-21 10:56:37 +02:00
.post-type-image img,
.post-type-video video {
max-width: 100%;
}
.post-type-youtube iframe {
width: 800px;
height: 600px;
border: 0;
}
2014-10-05 10:09:02 +02:00
#post-current-search-wrapper {
text-align: center;
}
#post-current-search {
margin: 0 auto 1em auto;
display: inline-block;
}
#post-current-search a {
margin: 0 2em;
}
#post-current-search a,
#post-current-search div {
display: inline-block;
}
#post-current-search a:not(.enabled) {
color: silver;
cursor: text;
2014-10-05 10:09:02 +02:00
}
2014-09-21 10:56:37 +02:00
#post-view-wrapper #sidebar {
line-height: 1.33em;
font-size: 90%;
}
#post-view-wrapper #sidebar h1 {
margin-top: 1.5em;
}
2014-09-21 10:56:37 +02:00
#post-view-wrapper #sidebar h1:first-of-type {
margin-top: 0;
}
@media all and (min-width: 62.5em) {
#post-view-wrapper {
display: flex;
}
#post-view-wrapper #sidebar {
min-width: 15em;
margin-right: 1em;
flex: 1;
}
#post-view-wrapper #post-view {
flex: 5;
}
}
@media all and (max-width: 62.5em) {
#post-view-wrapper {
display: flex;
flex-direction: column;
2014-09-21 10:56:37 +02:00
}
#post-view-wrapper #sidebar {
order: 2;
margin-bottom: 1em;
}
#post-view-wrapper #post-view {
margin: 0 auto;
max-width: 100%;
2014-09-21 10:56:37 +02:00
order: 1;
}
}
2014-09-27 21:33:31 +02:00
#post-view-wrapper .favorites li {
display: inline-block;
margin: 0 0.25em 0.25em 0;
}
2014-09-21 10:56:37 +02:00
2014-09-23 19:00:40 +02:00
#sidebar ul {
2014-09-21 10:56:37 +02:00
list-style-type: none;
margin: 0;
padding: 0;
}
2014-09-23 19:00:40 +02:00
#sidebar .other-info li {
display: block;
word-break: break-all;
padding-left: 1em;
text-indent: -1em;
}
2014-09-21 10:56:37 +02:00
2014-10-19 13:25:16 +02:00
#sidebar .tags li {
display: block;
word-break: break-all;
padding-left: 20px;
text-indent: -20px;
}
2014-09-21 10:56:37 +02:00
#sidebar .tags .tag-wrapper {
max-width: 100%;
position: relative;
display: inline-block;
}
2014-10-19 13:25:16 +02:00
#sidebar .tags li a.tag-edit {
margin-left: 20px;
}
#sidebar .tags li .tag-name {
margin-right: 0.8em;
2014-09-21 10:56:37 +02:00
}
#sidebar .tags li .usages {
color: silver;
}
#sidebar .author-box img {
float: left;
margin-right: 0.5em;
}
#sidebar .author-box .author-name {
font-weight: bold;
}
2014-09-23 19:00:40 +02:00
#sidebar .other-info {
margin-top: 1em;
line-height: 150%;
}
#sidebar .essential {
display: flex;
justify-content: space-around;
margin-bottom: 2em;
2014-10-24 09:45:45 +02:00
max-width: 30em;
2014-09-23 19:00:40 +02:00
}
#sidebar .essential li {
display: block;
margin: 0 0.25em;
vertical-align: top;
}
#sidebar .essential li i.fa {
font-size: 30px;
}
#sidebar .essential li a {
display: block;
text-align: center;
font-size: 12px;
}
2014-09-25 19:11:41 +02:00
2014-10-22 10:27:20 +02:00
#post-view #post-edit-target {
2014-09-25 19:11:41 +02:00
padding: 1em;
position: absolute;
background: rgba(255, 255, 255, 0.8);
2014-10-11 22:33:35 +02:00
box-shadow: 0 0 1em 0.5em rgba(255, 255, 255, 0.8);
2014-10-25 11:40:34 +02:00
z-index: 1;
2014-09-25 19:11:41 +02:00
display: none;
}
2014-10-11 22:33:35 +02:00
#post-view>* {
z-index: -1;
}
2014-09-25 19:11:41 +02:00
2014-10-22 10:27:20 +02:00
#post-edit-target .file-handler {
2014-09-25 19:11:41 +02:00
margin: 0.5em 0;
}
2014-09-26 20:41:28 +02:00
#post-view-wrapper .post-history-wrapper {
2014-10-05 21:06:43 +02:00
padding: 1em 0;
2014-09-26 20:41:28 +02:00
display: none;
word-break: break-all;
2014-09-26 20:41:28 +02:00
}