Permalink
Browse files

Basic font logo

  • Loading branch information...
1 parent 5843dcb commit 27d0107fe1165f61cfd72f17717a674575ca4fc9 Harold Giménez committed Sep 10, 2011
Showing with 60 additions and 4 deletions.
  1. +50 −0 sass/custom/_styles.scss
  2. +9 −4 source/_includes/custom/header.html
  3. +1 −0 source/_includes/head.html
@@ -1,2 +1,52 @@
// This File is imported last, and will override other styles in the cascade
// Add styles here to make changes without digging in too much
+
+.clearfix:before, .clearfix:after {
+ content: "\0020";
+ display: block;
+ height: 0;
+ visibility: hidden;
+}
+
+.clearfix:after {
+ clear: both;
+}
+
+/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
+.clearfix {
+ zoom: 1;
+}
+
+body {
+ > header {
+ padding-top: 0.2em;
+ padding-bottom: 1em;
+ background: #2b2d2f;
+ h1 {
+ #logo {
+ @extend .clearfix;
+ font-family: 'Dancing Script', cursive;
+ width: 150px;
+ #practice {
+ float: left;
+ clear: right;
+ border-bottom: 2px solid;
+ }
+ #over {
+ display: none;
+ }
+ #theory {
+ float: left;
+ margin-top: -8px;
+ }
+ }
+ a {
+ text-decoration: none;
+ /* color: #99b2b7; */
+ }
+ }
+ h2 {
+ color: #e3d2cc;
+ }
+ }
+}
@@ -1,6 +1,11 @@
<hgroup>
- <h1><a href="{{ root_url }}/">{{ site.title }}</a></h1>
- {% if site.subtitle %}
- <h2>{{ site.subtitle }}</h2>
- {% endif %}
+ <h1>
+ <a href="{{ root_url }}/">
+ <div id="logo">
+ <span id="practice">practice</span>
+ <span id="over">over</span>
+ <span id="theory">theory</span>
+ </div>
+ </a>
+ </h1>
</hgroup>
@@ -22,6 +22,7 @@
<link rel="canonical" href="{{ site.url }}{{ page.url }}"/>
<link href="{{ root_url }}/favicon.png" rel="shortcut icon" />
<link href="{{ root_url }}/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
+ <link href='http://fonts.googleapis.com/css?family=Dancing+Script' rel='stylesheet' type='text/css'>
<script src="{{ root_url }}/javascripts/modernizr-2.0.js"></script>
<script src="http://s3.amazonaws.com/ender-js/jeesh.min.js"></script>
<script src="{{ root_url }}/javascripts/octopress.js" type="text/javascript"></script>

0 comments on commit 27d0107

Please sign in to comment.