Browse files

css update

  • Loading branch information...
1 parent d450eaa commit 6a759ca9c0b1d9de96dd161c314b56b18647faa7 @maplebeats committed May 5, 2012
Showing with 27 additions and 10 deletions.
  1. +12 −7 _layouts/default.html
  2. +15 −3 stylesheets/main.css
View
19 _layouts/default.html
@@ -27,13 +27,18 @@
</div>
<![endif]-->
<header class="head">
- <hgroup class="head-title">
- <h1><a rel="nofollow" href="/">AnimeBeats</a></h1>
- <h2>ACG才是我们唯一的归宿! Σ(っ°д°)っ</h2>
- </hgroup>
- <nav class="nav">
- <a href="/">Home</a> <a href="/me">Me</a> <a href="/anime">Anime</a> <a href="https://github.com/maplebeats">Res</a> <a href="/atom.xml">Rss</a>
- </nav>
+ <div class="header">
+ <section class="logo">
+ <a href="/"><img src="/images/logo.png" alt="logo" /></a>
+ </section>
+ <hgroup class="head-title">
+ <h1><a rel="nofollow" href="/">AnimeBeats</a></h1>
+ <h2>ACG才是我们唯一的归宿! Σ(っ°д°)っ</h2>
+ </hgroup>
+ <nav class="nav">
+ <a href="/">Home</a> <a href="/me">Me</a> <a href="/anime">Anime</a> <a href="https://github.com/maplebeats">Res</a> <a href="/atom.xml">Rss</a>
+ </nav>
+ </div>
</header><!--header-->
<div class="head-line"></div>
<section class="site">
View
18 stylesheets/main.css
@@ -27,10 +27,22 @@ ins,a { text-decoration:none; }
/*----------head---------*/
.head {
width: 100%;
+}
+.header {
+ width: 950px;
height: 110px;
+ margin: 0 auto;
+ padding-top: 30px;
+}
+.logo {
+ width: 150px;
+}
+.logo img {
+ float: left;
+ width: 150px;
}
.head-title {
- margin: 50px 0 0 150px;
+ float: left;
}
.head-title h1 {
color: white;
@@ -47,9 +59,9 @@ ins,a { text-decoration:none; }
}
.nav {
background: rgba(0,46,184,0.1);
+ margin-top: 40px;
padding: 15px 4px;
float: right;
- margin: 10px 150px;
font-size: 140%;
height: 25px;
width: 300px;
@@ -82,7 +94,7 @@ footer {
.power{
float: left;
width: 200px;
- padding: 50px 10px;
+ margin: 45px 30px;
}
.link{
float: left;

0 comments on commit 6a759ca

Please sign in to comment.