Skip to content

Commit

Permalink
Fleshed out the design quite a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanBerkley committed Feb 13, 2015
1 parent 1a12023 commit a48b1bd
Show file tree
Hide file tree
Showing 15 changed files with 111 additions and 28 deletions.
4 changes: 2 additions & 2 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

get_header(); ?>

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<div id="primary" class="content-area col-sm-8">
<main id="main" class="site-main translucent-border" role="main">

<?php if ( have_posts() ) : ?>

Expand Down
2 changes: 1 addition & 1 deletion content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php the_title( '<h1 class="entry-title color-purple">', '</h1>' ); ?>

<div class="entry-meta">
<?php nafh_boosters_2015_posted_on(); ?>
Expand Down
59 changes: 47 additions & 12 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

<header id="masthead" class="site-header row" role="banner">
<div class="site-branding col-xs-12">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="<?php bloginfo('template_url'); ?>/images/instructional-league-logo.png" alt="North Allegheny Field Hockey Boosters Instructional League" /></a></h1>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="<?php bloginfo('template_url'); ?>/images/instructional-league-logo.png" alt="North Allegheny Field Hockey Boosters Instructional League" class="hidden-xs" /><img src="<?php bloginfo('template_url'); ?>/images/instructional-league-logo-stacked.png" alt="North Allegheny Field Hockey Boosters Instructional League" class="visible-xs img-responsive" /></a></h1>
</div><!-- .site-branding -->
</header><!-- #masthead -->

Expand Down
Binary file added images/instructional-league-logo-stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/instructional-league-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@
</main><!-- #main -->
</div><!-- #primary -->

<?php get_sidebar(); ?>
<?php
//get_sidebar();
?>
<?php get_footer(); ?>
4 changes: 2 additions & 2 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

get_header(); ?>

<div id="primary" class="content-area col-xs-12 translucent-border">
<main id="main" class="site-main" role="main">
<div id="primary" class="content-area col-xs-12">
<main id="main" class="site-main translucent-border" role="main">

<?php while ( have_posts() ) : the_post(); ?>

Expand Down
7 changes: 7 additions & 0 deletions sass/navigation/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@
.site-main .post-navigation {
margin: 0 0 1.5em;
overflow: hidden;
padding: 10px 40px;
@media (max-width: 991px) {
padding: 10px 20px;
}
@media (max-width: 767px) {
padding: 10px 10px;
}
}

.comment-navigation .nav-previous,
Expand Down
19 changes: 17 additions & 2 deletions sass/site/primary/_posts-and-pages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
margin: 0 0 1.5em;
}

.type-page {
.type-page, .type-post {
font-size: 20px;
padding: 20px 40px;

Expand All @@ -40,7 +40,22 @@
}
@media (max-width: 767px) {
font-size: 16px;
padding: 0;
padding: 10px;
}

}

body.archive .page-header .page-title {
padding: 10px 40px 0;

@media (max-width: 991px) {
padding: 10px 20px 0;
}
@media (max-width: 767px) {
padding: 10px 10px 0;
}
}

body.archive .type-post {
padding-top: 0;
}
20 changes: 18 additions & 2 deletions sass/site/secondary/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
border-bottom: 1px solid #ddd;
}

.signup-section-button {
margin-right: 15px;
}

h3.signup-section-subtitle {
margin: 0 0 20px;
color: $color__pink;
Expand All @@ -42,12 +46,15 @@
font-size: 0.9em;
}

.link-to-events {

}
}

.home-events-section {
.home-events-section, .widget-area > div {
padding: 0 20px;

h2 {
h2, h1.widget-title {
font-family: $font__script;
font-weight: 400;
font-size: 22pt;
Expand All @@ -74,4 +81,13 @@
.event-meta {
font-size: 0.9em;
}

.widget_recent_entries .post-date {
font-size: 0.9em;
font-style: italic;

&:before {
content: "- ";
}
}
}
6 changes: 6 additions & 0 deletions sass/typography/_headings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ h1.site-title {
h1.entry-title {
font-family: $font__script;
font-weight: normal;
}

body.archive h1.page-title {
font-family: $font__main;
color: $color__purple;
font-size: 20px;
}
6 changes: 4 additions & 2 deletions sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
}
?>

<div id="secondary" class="widget-area" role="complementary">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
<div id="secondary" class="widget-area col-sm-4" role="complementary">
<div class="translucent-border">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</div>
</div><!-- #secondary -->
4 changes: 2 additions & 2 deletions single.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

get_header(); ?>

<div id="primary" class="content-area col-xs-12 translucent-border">
<main id="main" class="site-main" role="main">
<div id="primary" class="content-area col-sm-8">
<main id="main" class="site-main translucent-border" role="main">

<?php while ( have_posts() ) : the_post(); ?>

Expand Down

0 comments on commit a48b1bd

Please sign in to comment.