Custom Header support
This commit is contained in:
parent
3ef7fb2d98
commit
c621f07095
|
@ -30,4 +30,4 @@ Although barebones now utilises the powerful SASS CSS preprocessor, you don't ha
|
|||
|
||||
## Credits
|
||||
|
||||
* [Twitter Bootstrap](http://getbootstrap.com "Twitter Bootstrap") for a modified version of their grid.
|
||||
* [Twitter Bootstrap](http://getbootstrap.com "Twitter Bootstrap") for a modified version of their grid
|
|
@ -4,21 +4,19 @@ Theme URI: http://github.com/mikefrancis/barebones
|
|||
Author: Mike Francis
|
||||
*/
|
||||
|
||||
// Variables, Mixins (setup)
|
||||
// Variables, Mixins
|
||||
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
|
||||
// Base (SMCSS)
|
||||
// Base
|
||||
|
||||
@import "base";
|
||||
|
||||
// Main
|
||||
|
||||
@import "scaffolding";
|
||||
@import "nav";
|
||||
@import "tables";
|
||||
@import "forms";
|
||||
@import "icons";
|
||||
|
||||
body {
|
||||
background: url(http://basehold.it/i/#{$marginBottom});
|
||||
//background: url(http://basehold.it/i/21);
|
||||
}
|
|
@ -13,7 +13,7 @@
|
|||
<body <?php body_class(); ?>>
|
||||
<header class="header" role="banner">
|
||||
<div class="container">
|
||||
<h1><a href="<?php echo site_url(); ?>"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<a href="<?php echo site_url(); ?>"><img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>" /></a>
|
||||
<nav role="navigation">
|
||||
<ul class="nav">
|
||||
<?php wp_list_pages( 'title_li=' ); ?>
|
||||
|
|
|
@ -128,5 +128,3 @@ input, select, textarea, button { display: inline-block; font-family: "Helvetica
|
|||
.btn { display: inline-block; background-color: #eeeeee; border: solid 1px #cccccc; padding: 9.5px; -webkit-border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.1); }
|
||||
|
||||
.icon { display: inline-block; *display: inline; width: 16px; height: 16px; vertical-align: text-top; background: red; }
|
||||
|
||||
body { background: url(http://basehold.it/i/21); }
|
||||
|
|
Loading…
Reference in New Issue