forked from GithubBackups/vichan
style.css: make posts 4chan-like
This commit is contained in:
parent
dd8182e1dd
commit
a7c159cc82
@ -228,6 +228,8 @@ div.post.op hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.intro {
|
.intro {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
margin: 0.5em 0;
|
margin: 0.5em 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-bottom: 0.2em;
|
padding-bottom: 0.2em;
|
||||||
@ -257,12 +259,19 @@ div.delete {
|
|||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.post.reply p {
|
.required-star {
|
||||||
margin: 0.3em 0 0 0;
|
color: maroon;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.post.reply div.body {
|
div.post p {
|
||||||
margin-left: 1.8em;
|
margin: 0;
|
||||||
|
|
||||||
|
line-height: 1.16em;
|
||||||
|
font-size: 13px;
|
||||||
|
min-height: 1.16em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.post div.body {
|
||||||
margin-top: 0.8em;
|
margin-top: 0.8em;
|
||||||
padding-right: 3em;
|
padding-right: 3em;
|
||||||
padding-bottom: 0.3em;
|
padding-bottom: 0.3em;
|
||||||
@ -288,7 +297,7 @@ div.post div.body {
|
|||||||
div.post.reply {
|
div.post.reply {
|
||||||
background: #D6DAF0;
|
background: #D6DAF0;
|
||||||
margin: 0.2em 4px;
|
margin: 0.2em 4px;
|
||||||
padding: 0.2em 0.3em 0.5em 0.6em;
|
padding: 0.5em 0.3em;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: none solid solid none;
|
border-style: none solid solid none;
|
||||||
border-color: #B7C5D9;
|
border-color: #B7C5D9;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
{% include 'post/flag.html' %}
|
{% include 'post/flag.html' %}
|
||||||
</label>
|
</label>
|
||||||
{% apply spaceless %}
|
{% apply spaceless %}
|
||||||
{% include 'post/poster_id.html' %}
|
{% include 'post/poster_id.html' %}
|
||||||
{% include 'post/time.html' %}
|
{% include 'post/time.html' %}
|
||||||
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', config.file_page50) }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', config.file_page50) }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
||||||
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', config.file_page50) }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', config.file_page50) }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
||||||
|
@ -7,18 +7,16 @@
|
|||||||
{% endapply %}
|
{% endapply %}
|
||||||
{% include 'post/fileinfo.html' %}
|
{% include 'post/fileinfo.html' %}
|
||||||
<div class="post op" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
|
<div class="post op" id="op_{{ post.id }}" {%if post.num_files > 1%}style='clear:both'{%endif%}><p class="intro">
|
||||||
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
|
||||||
<label for="delete_{{ post.id }}">
|
<label for="delete_{{ post.id }}">
|
||||||
|
|
||||||
{% include 'post/subject.html' %}
|
{% include 'post/subject.html' %}
|
||||||
{% include 'post/name.html' %}
|
{% include 'post/name.html' %}
|
||||||
{% include 'post/ip.html' %}
|
{% include 'post/ip.html' %}
|
||||||
{% include 'post/flag.html' %}
|
{% include 'post/flag.html' %}
|
||||||
{% include 'post/time.html' %}
|
|
||||||
</label>
|
</label>
|
||||||
{% apply spaceless %}
|
{% apply spaceless %}
|
||||||
{% include 'post/poster_id.html' %}
|
{% include 'post/poster_id.html' %}
|
||||||
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" o onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', '50') }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
{% include 'post/time.html' %}
|
||||||
|
<a class="post_no" id="post_no_{{ post.id }}" title="Link to this post" onclick="highlightReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('', '50') }}{% else %}{{ post.link }}{% endif %}">No.</a>
|
||||||
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', '50') }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
<a class="post_no" title="Reply to this post" onclick="citeReply({{ post.id }})" href="{% if isnoko50 %}{{ post.link('q', '50') }}{% else %}{{ post.link('q') }}{% endif %}">{{ post.id }}</a>
|
||||||
{% if post.sticky %}
|
{% if post.sticky %}
|
||||||
{% if config.font_awesome %}
|
{% if config.font_awesome %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user