Archived
1
0

for science :-DDD

This commit is contained in:
jeff 2015-11-07 10:37:18 -05:00
parent 32d4fe6307
commit 8196274c0e
4 changed files with 75 additions and 51 deletions

View File

@ -1,9 +1,3 @@
.thread {
margin-bottom: 1em;
display: inline-block;
word-wrap: break-word;
width: 100%;
}
.frontend , .subject { .frontend , .subject {
color: #928BFF; color: #928BFF;
@ -252,6 +246,54 @@ html {
background: grey; background: grey;
} }
.history_num { figure {
text-align: right; float: left;
margin: 1ex;
}
figure img {
max-width:256px;
max-height:128px;
max-width:100%;
}
fieldset {
overflow: auto;
max-width: 120ex;
}
legend {
background-color: lightgray;
}
.thread {
float: left;
width: 66%;
}
.replybar {
float: left;
position: fixed;
top: 2ex;
right: 0;
width: 34%
}
@media (max-width: 100ex) {
.replybar, .thread {
width: 100%;
position: static;
}
}
.hide-reply:checked ~ div {
width: 100%;
position: static;
}
textarea#reply-text {
width: 100%;
resize: vertical;
}
.hide-reply {
float: right;
position: fixed;
top: 0;
right: 0;
} }

View File

@ -14,6 +14,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{board.Prefix}}static/site.css" /> <link rel="stylesheet" href="{{board.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" /> <link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{board.Prefix}}static/nntpchan.js"></script>

View File

@ -1,7 +1,6 @@
<div class="{{CSSClass}}" id="{{PostHash}}"> <fieldset>
<p class="intro"> <legend>
<label for="delete_{{PostHash}}"> <span>
<span class="origin">
{{#IsI2P}} {{#IsI2P}}
<img src="{{Prefix}}static/i2p.png" title="post from i2p" /> <img src="{{Prefix}}static/i2p.png" title="post from i2p" />
{{/IsI2P}} {{/IsI2P}}
@ -12,38 +11,19 @@
<img src="{{Prefix}}static/clearnet.png" title="post from clearnet" /> <img src="{{Prefix}}static/clearnet.png" title="post from clearnet" />
{{/IsClearnet}} {{/IsClearnet}}
</span> </span>
<span class="subject"> {{Subject}} {{Name}} {{Date}}
{{Subject}} No. <a onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">{{ShortHash}}</a>
</span> <a href="{{PostURL}}">[reply]</a> <span class="tripcode">{{{Pubkey}}}</span><br />
<span class="name"> </legend>
{{#Sage}} <label>
<a href="mailto:sage"> {{{RenderBody}}}
{{Name}}
</a>
{{/Sage}}
{{^Sage}}
{{Name}}
{{/Sage}}
</span>
<span class="postdate">
{{Date}}
</span>
</label> </label>
<a onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">No. {{ShortHash}}</a>
<a href="{{PostURL}}">[reply]</a>
<span class="tripcode">{{{Pubkey}}}</span>
</p>
<div class="files">
{{#Attachments}} {{#Attachments}}
<div class="file"> <figure>
<p class="file_info"> <figcaption>
<span>File: {{Filename}}</span> <a target="_blank" href="{{Source}}" title="{{Filename}}">{{Filename}}</a>
</p> </figcaption>
<a target="_blank" class="file-link" href="{{Source}}" title="{{Filename}}"> <img src="{{Thumbnail}}" alt="{{Filename}}" />
<img class="file-thumbnail" src="{{Thumbnail}}" alt="{{Filename}}" /> </figure>
</a>
</div>
{{/Attachments}} {{/Attachments}}
</div> </fieldset>
<div class="post_body">{{{RenderBody}}}</div>
</div>

View File

@ -14,6 +14,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1" />
<link rel="stylesheet" href="{{thread.Prefix}}static/site.css" /> <link rel="stylesheet" href="{{thread.Prefix}}static/site.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" /> <link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script> <script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script>