Working on homepage

master
Nick Sergeant 2011-10-06 16:58:46 -04:00
parent 08034aa408
commit 2ac5706f75
6 changed files with 45 additions and 2 deletions

View File

@ -59,7 +59,7 @@
// Page
html, body {
background-color: #FFF;
background: #FFF url('/media/images/bg.gif') top left repeat;
}
body {
color: #666;
@ -68,6 +68,41 @@ body {
text-rendering: optimizeLegibility;
}
// Global
header {
background: #12343D url('/media/images/header-bg.gif') top left repeat-x;
border-bottom: 1px solid #DDDDDD;
height: 66px;
div.inner {
background: transparent url('/media/images/header-inner-bg.png') top left no-repeat;
border-left: 1px solid rgba(229, 229, 229, .25);
height: 65px;
margin: 0 auto;
width: 939px;
h1 {
float: left;
a {
background: transparent url('/media/images/logo.png') top left no-repeat;
display: block;
float: left;
height: 35px;
margin: 16px 0 0 16px;
text-indent: -1000em;
width: 87px;
}
}
}
}
section.main {
border-left: 1px solid #DDDDDD;
height: 100%;
margin: 0 auto;
width: 939px;
}
// Utils
.group:after {
content: ".";

BIN
media/images/bg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
media/images/header-bg.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
media/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -41,7 +41,15 @@
</head>
<body class="{% block body-class %}{% endblock %}">
{% block content %}{% endblock %}
<header>
<div class="inner">
<h1><a href="/">Snipt</a></h1>
</div>
</header>
<section class="main">
{% block content %}{% endblock %}
</section>
{% if not debug %}
<script type="text/javascript">