Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

改善footer

  • Loading branch information...
commit 3c9b49773c7fe21900416434f127528d14ed402a 1 parent 875240d
whtsky authored
Showing with 23 additions and 33 deletions.
  1. +16 −30 static/css/base.css
  2. +7 −3 templates/base.html
View
46 static/css/base.css
@@ -100,7 +100,8 @@ body{
section {
overflow: hidden;
- padding: 14px; }
+ padding: 14px;
+}
section footer {
margin: 0;
padding: 10px; }
@@ -140,32 +141,7 @@ table.tag-list td.count{
width: 10%;
text-align: center;
}
-table.tag-list {
- width: 100%;
-}
-#wmd-input_speech {
- padding: 0 !important;
- width: 25px !important;
- height: 30px !important;
- float: none !important;
- border: none !important;
- background: transparent !important;
- font-size: 16px !important;
- padding-right: 5px !important;
-}
-
-.toolbar_button {
- width: 6px;
- min-width: 0;
- float: left;
- border: none;
- padding: 0 12px;
- background-color: transparent;
-}
-.toolbar_button:hover {
- background-color: #ccc !important;
-}
.col_fade {
color: #999;
}
@@ -229,17 +205,27 @@ img {
width: 724px
}
}
-#footer .backtotop {
+#footer {
+ width:100%;
+ padding: 14px;
+ margin-bottom: 10px;
+ background:#fff;
+ clear:both;
+ border-top:1px solid #dadada;
+ font-size: 15px;
+ color: #999;
+}
+.backtotop {
position:fixed;
right: 25px;
bottom: 50px;
}
-#footer .backtotop a {
+.backtotop a {
color: #000;
font-size: .8em;
background: url(/static/img/up.png) no-repeat 2px 1px;
padding-left: 16px;
}
-#footer .backtotop a:hover {
+.backtotop a:hover {
padding-top: 4px;
-}
+}
View
10 templates/base.html
@@ -144,9 +144,13 @@
{% end %}
</div>
</div>
-<footer class='container' id='footer'>
- <p class="backtotop"><a href="#">Top</a></p>
- <a href="https://github.com/whtsky/PBB/">PBB</a>
+<p class="backtotop"><a href="#">Top</a></p>
+<footer id='footer'>
+ <div class="container">
+ <p>Powered by <a href="https://github.com/whtsky/PBB/" class="dark">PBB</a></p>
+ <p>Lovingly made by <a href="http://twitter.com/#!/whouz" class="dark">whtsky</a></p>
+ <p class="snow"> Keep It Simple,Stupid.</p>
+ </div>
</footer>
{% block foot %}{% end %}
{% if google_analytics %}

0 comments on commit 3c9b497

Please sign in to comment.
Something went wrong with that request. Please try again.