将博客正文显示在中央
This commit is contained in:
parent
9dc427bfe6
commit
310b82885d
|
@ -1,5 +1,6 @@
|
|||
.middle-text {
|
||||
text-align: center;
|
||||
z-index: 999;
|
||||
a {
|
||||
color: #F7F7F7;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- content_for(:title) do
|
||||
| #{@type ? @type : '时间线'}
|
||||
.row ng-controller="ArchivesController"
|
||||
.small-12.large-8.columns
|
||||
.small-12.large-9.large-centered.columns
|
||||
ul.archives-field ng-model="type" ng-init=" type= '#{@type}' "
|
||||
li ng-repeat=" post in posts "
|
||||
a.blog-title ng-click="visit(post.id)"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.row ng-controller="CommentsController"
|
||||
.small-12.large-8.columns
|
||||
.small-12.large-9.large-centered.columns
|
||||
form novalidate='' name='form'
|
||||
.row
|
||||
.small-12.large-12.columns
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
- content_for(:title) do
|
||||
| #{@post.title}
|
||||
.row
|
||||
.small-12.large-8.columns
|
||||
.row.blog-wrapper
|
||||
.small-12.large-9.large-centered.columns
|
||||
= render partial: "post", :locals=> { :post=> @post }
|
||||
.comment-field
|
||||
= render partial: 'comment', locals: { comments: @comments, post: @post }
|
||||
|
|
|
@ -19,8 +19,6 @@ html
|
|||
section.left-small
|
||||
a.left-off-canvas-toggle.menu-icon href="#"
|
||||
span
|
||||
section.middle.tab-bar-section
|
||||
.row.small-12.large-10.columns
|
||||
h1.title.middle-text
|
||||
= link_to ENV['SITE_NAME'], root_path
|
||||
aslide.left-off-canvas-menu
|
||||
|
|
Loading…
Reference in New Issue