wrapped up the general layout of topic/posts

main
psychobunny 10 years ago
parent b78ebdcffc
commit 18f091fd2e

@ -4,7 +4,6 @@
font-size: 17px; font-size: 17px;
line-height: 17px; line-height: 17px;
border-radius: 50%; border-radius: 50%;
margin-right: 15px;
min-width: 46px; min-width: 46px;
min-height: 46px; min-height: 46px;
margin-top: 2px; margin-top: 2px;
@ -18,9 +17,9 @@
} }
h1 { h1 {
font-size: 22px; font-size: 28px;
line-height: 24px; line-height: 24px;
margin: 0; margin-bottom: 30px
} }
} }
@ -61,6 +60,8 @@
.content { .content {
margin-top: 20px; margin-top: 20px;
padding-bottom: 10px; padding-bottom: 10px;
margin-top: -43px;
margin-left: 61px;
} }
} }

@ -1,3 +1,7 @@
<!-- IF !posts.index -->
<h1 component="post/header" itemprop="name"><i class="fa fa-thumb-tack hide"></i> <i class="fa fa-lock hide"></i> {title}</h1>
<!-- ENDIF !posts.index -->
<div class="clearfix"> <div class="clearfix">
<div class="icon pull-left"> <div class="icon pull-left">
<a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->"> <a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
@ -8,23 +12,21 @@
</a> </a>
</div> </div>
<h1 class="title pull-left"> <small class="pull-left">
<!-- IF !posts.index --> <i class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
<p component="post/header" itemprop="name"><i class="fa fa-thumb-tack hide"></i> <i class="fa fa-lock hide"></i> {title}</p> <strong>
<!-- ENDIF !posts.index --> <a class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.username}</a>
<small> </strong>
<i class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
<strong><a class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}"> [[global:posted_ago, <span class="timeago" title="{posts.relativeTime}"></span>]]
{posts.user.username}
</a></strong> <!-- IF posts.editor.username -->
[[global:posted_ago, <span class="timeago" title="{posts.relativeTime}"></span>]] <span>| [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span>
<!-- IF posts.editor.username --> <!-- ENDIF posts.editor.username -->
<span>| [[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{posts.editor.userslug}">{posts.editor.username}</a></strong>, <span class="timeago" title="{posts.relativeEditTime}"></span>]]</span> </small>
<!-- ENDIF posts.editor.username -->
</small>
</h1>
</div> </div>
<br />
<div class="content" component="post/content" itemprop="text">{posts.content}</div> <div class="content" component="post/content" itemprop="text">{posts.content}</div>
<hr /> <hr />
Loading…
Cancel
Save