Archived
1
0

* move origin image to be inside postheader

* style tweaks
This commit is contained in:
Jeff Becker 2016-02-15 16:29:54 -05:00
parent a9ac1207c0
commit 6aa9475c91
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 30 additions and 15 deletions

View File

@ -105,6 +105,10 @@ a, a:visited {
color: #34345C;
}
.postno {
font-style: italic;
}
.postno, .postnol, .postnol:visited {
color: black;
text-decoration: none;
@ -112,7 +116,7 @@ a, a:visited {
.postno:hover, .postnol:hover, .postnol:visited:hover {
color: #ff0000;
text-decoration: none;
text-decoration: underline;
}
.navbar {
@ -151,6 +155,12 @@ input, textarea {
.reply {
margin-left: 1.8em;
display: inline-block;
border-color: #C0C3D4;
border-top-left-radius: 0px
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 0px;
border-style: dashed;
}
.frontend {
@ -166,7 +176,11 @@ input, textarea {
.post {
display: inline;
margin-bottom: 5px;
min-height: 10%;
}
.postheader {
padding: 5px;
}
.tripcode {
@ -296,10 +310,11 @@ img.thumbnail {
.thread {
float: left;
width: 99%;
padding-left: 10px;
width: 100%;
padding-left: 10%;
margin-top: 1px;
margin-bottom: 1px;
max-width: 90%
}
.replybar {
@ -308,7 +323,7 @@ img.thumbnail {
top: 2ex;
right: 0;
width: 34%
}
}
@media (max-width: 100ex) {
.replybar, .thread {
width: 100%;

View File

@ -1,5 +1,12 @@
<div id="{{PostHash}}" class="{{CSSClass}}">
<div class="origin">
<legend class="postheader">
<span class="subject">{{Subject}}</span>
<span class="name">{{Name}}</span>
<time datetime="{{DateRFC}}">{{Date}}</time>
<a href="{{PostURL}}" class="postnol">No.</a><a class="postno" onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">{{ShortHash}}</a>
{{#OP}}<a href="{{PostURL}}">[Reply]</a>{{/OP}}
<span class="tripcode">{{{Pubkey}}}</span>
<span class="origin">
{{#IsI2P}}
<img src="{{Prefix}}static/i2p.png" title="post from i2p" />
{{/IsI2P}}
@ -9,14 +16,7 @@
{{#IsClearnet}}
<img src="{{Prefix}}static/clearnet.png" title="post from clearnet" />
{{/IsClearnet}}
</div>
<legend>
<span class="subject">{{Subject}}</span>
<span class="name">{{Name}}</span>
<time datetime="{{DateRFC}}">{{Date}}</time>
<a href="{{PostURL}}" class="postnol">No.</a><a class="postno" onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">{{ShortHash}}</a>
{{#OP}}<a href="{{PostURL}}">[Reply]</a>{{/OP}}
<span class="tripcode">{{{Pubkey}}}</span>
</span>
</legend>
{{#Attachments}}
<figure>