Commit c17e8aea authored by Vanessa's avatar Vanessa

修改头部宽度

parent 6ec9205c
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<h2>${archive1Label} <h2>${archive1Label}
<#if "en" == localeString?substring(0, 2)> <#if "en" == localeString?substring(0, 2)>
${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount}) ${archiveDate.archiveDateMonth} ${archiveDate.archiveDateYear} (${archiveDate.archiveDatePublishedArticleCount})
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<#if 0 != archiveDates?size> <#if 0 != archiveDates?size>
<div class="other-main archives"> <div class="other-main archives">
<#list archiveDates as archiveDate> <#list archiveDates as archiveDate>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<div class="article"> <div class="article">
<div class="article-title"> <div class="article-title">
<h2> <h2>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<h2>${author1Label}${authorName}</h2> <h2>${author1Label}${authorName}</h2>
<#include "article-list.ftl"> <#include "article-list.ftl">
</div> </div>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* skin ease style * skin ease style
* *
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a> * @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.1.4, Jul 2, 2012 * @version 1.0.1.5, Jul 20, 2012
*/ */
/* start base */ /* start base */
html, body, div, ul, li { html, body, div, ul, li {
...@@ -199,11 +199,7 @@ sup { ...@@ -199,11 +199,7 @@ sup {
/* start frame */ /* start frame */
.wrapper { .wrapper {
margin: 0 50px; margin: 0 auto;
}
.body {
margin: 0 auto 50px;
width: 990px; width: 990px;
} }
/* end frame */ /* end frame */
...@@ -313,6 +309,7 @@ sup { ...@@ -313,6 +309,7 @@ sup {
font-size: 11px; font-size: 11px;
padding: 12px 0; padding: 12px 0;
-webkit-text-size-adjust: none; -webkit-text-size-adjust: none;
margin-top: 50px;
} }
#goTop { #goTop {
...@@ -334,7 +331,7 @@ sup { ...@@ -334,7 +331,7 @@ sup {
/* end footer*/ /* end footer*/
/* start article list */ /* start article list */
.body > ul { .wrapper > ul {
list-style: none; list-style: none;
} }
...@@ -481,7 +478,7 @@ sup { ...@@ -481,7 +478,7 @@ sup {
padding: 0 70px 20px; padding: 0 70px 20px;
} }
.body > .form { .wrapper > .form {
float: left; float: left;
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body dynamic"> <div class="wrapper dynamic">
<div class="other-main"> <div class="other-main">
<#if 0 != recentComments?size> <#if 0 != recentComments?size>
<div class="module side-comments"> <div class="module side-comments">
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<#include "article-list.ftl"> <#include "article-list.ftl">
</div> </div>
<#include "footer.ftl"> <#include "footer.ftl">
......
...@@ -115,7 +115,7 @@ var getNextPage = function () { ...@@ -115,7 +115,7 @@ var getNextPage = function () {
'</li>'; '</li>';
} }
$(".body>ul").append(articlesHTML); $("body>.wrapper>ul").append(articlesHTML);
// 最后一页处理 // 最后一页处理
if (pagination.paginationPageCount === currentPage) { if (pagination.paginationPageCount === currentPage) {
...@@ -130,7 +130,7 @@ var getNextPage = function () { ...@@ -130,7 +130,7 @@ var getNextPage = function () {
var ease = { var ease = {
$header: $(".header"), $header: $(".header"),
headerH: $(".header").height(), headerH: $(".header").height(),
$body: $(".body"), $body: $("body > .wrapper"),
$nav: $(".nav"), $nav: $(".nav"),
getCurrentPage: function () { getCurrentPage: function () {
var $next = $(".article-next"); var $next = $(".article-next");
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<#if 0 != links?size> <#if 0 != links?size>
<ul class="other-main links"> <ul class="other-main links">
<#list links as link> <#list links as link>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<div class="article-body article"> <div class="article-body article">
${page.pageContent} ${page.pageContent}
</div> </div>
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<h2> <h2>
<a rel="alternate" href="${servePath}/tag-articles-feed.do?oId=${tag.oId}"> <a rel="alternate" href="${servePath}/tag-articles-feed.do?oId=${tag.oId}">
${tag1Label} ${tag1Label}
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<body> <body>
${topBarReplacement} ${topBarReplacement}
<#include "header.ftl"> <#include "header.ftl">
<div class="body"> <div class="wrapper">
<ul id="tags" class="other-main"> <ul id="tags" class="other-main">
<#list tags as tag> <#list tags as tag>
<li> <li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment