Permalink
Browse files

Change style of favicon

  • Loading branch information...
1 parent c513387 commit dd33c3862c587de387b96d0e9cdc13b207620103 @hideo55 committed Oct 27, 2011
Showing with 28 additions and 38 deletions.
  1. +2 −0 .gitignore
  2. +21 −35 index.html
  3. +4 −2 static/css/style.css
  4. +1 −1 static/js/favicon.js
View
@@ -0,0 +1,2 @@
+.project
+.DS_Store
View
@@ -21,42 +21,28 @@
<script type="text/javascript" src="static/js/favicon.js"></script>
</head>
<body>
- <div id="container">
- <div id="header">
- <h1>hideo55's github page</h1>
- </div>
- <div id="content">
- <div id="aboutme">
- <h2 class="maintitle">About me</h2>
- <div>
- <img id="logo" src="static/images/my_icon.png">
- <ul id="proflist">
- <li>
- <a target="_blank" class="favicon" href="http://d.hatena.ne.jp/hide_o_55/">Blog: WebService::Blog->new( user => ’hide_o_55’ )</a>
- </li>
- <li>
- <a target="_blank" class="favicon" href="http://twitter.com/hide_o_55">Twitter</a>
- </li>
- <li>
- <a target="_blank" class="favicon" href="http://github.com/hideo55/">Github</a>
- </li>
- <li>
- <a target="_blank" class="favicon" href="http://search.cpan.org/~hideakio/">CPAN</a>
- </li>
- <li>
- <a target="_blank" class="favicon" href="http://search.npmjs.org/#/_author/Hideaki%20Ohno">NPM</a>
- </li>
- </ul>
- </div>
+ <h1>hideo55's github page</h1>
+ <div id="content">
+ <div id="aboutme">
+ <h2 class="maintitle">About me</h2>
+ <div>
+ <img id="logo" src="static/images/my_icon.png">
+ <ul id="proflist">
+ <li><a target="_blank" class="favicon" href="http://d.hatena.ne.jp/hide_o_55/">Blog</a></li>
+ <li><a target="_blank" class="favicon" href="http://twitter.com/hide_o_55">Twitter</a></li>
+ <li><a target="_blank" class="favicon" href="http://github.com/hideo55/">Github</a></li>
+ <li><a target="_blank" class="favicon" href="http://search.cpan.org/~hideakio/">CPAN</a></li>
+ <li><a target="_blank" class="favicon" href="http://search.npmjs.org/#/_author/Hideaki%20Ohno">NPM</a></li>
+ </ul>
</div>
- <div id="projects" class="blocked-content">
- <h2 class="maintitle">My Projects</h2>
- <p>
- My Projects hosted on github.
- </p>
- <div id="repo-list">
- <ul id="my-repos"></ul>
- </div>
+ </div>
+ <div id="projects" class="blocked-content">
+ <h2 class="maintitle">My Projects</h2>
+ <p>
+ My Projects hosted on github.
+ </p>
+ <div id="repo-list">
+ <ul id="my-repos"></ul>
</div>
</div>
</div>
View
@@ -11,6 +11,8 @@ img {
h1 {
font-family: 'Verdana', 'Arial';
padding: 0.5em; margin-top: 0; margin-bottom: 0;
+ background-color: #7da5a6;
+ width: 800px;
}
.subtitle {
@@ -68,7 +70,7 @@ li a:hover, li a:active, h3 a:hover, li a:active {
color:#ffffff;
text-shadow:1px 1px 1px #000000;
}
-#header{ background-color: #7da5a6; }
+#aboutme{ width: 800px; margin: 5px;padding: 5px; overflow: hidden; clear: both }
#projects { width: 800px; margin: 5px;padding: 5px; overflow: hidden; background-color: #ebf6f7; clear: both }
-#logo { float: left }
+#logo { float: left; width: 96px; height: 96px }
#proflist { float:left }
View
@@ -7,7 +7,7 @@ $(function() {
height: 16,
src: dir + '/favicon.ico',
border: '0px'
- }).hide().css('vertical-align', 'baseline').one('load', function() { $(this).show().prependTo(link)
+ }).hide().css('vertical-align', 'baseline').one('load', function() { $(this).show().css('display', 'inline').prependTo(link)
});
});
});

0 comments on commit dd33c38

Please sign in to comment.