Skip to content

Commit

Permalink
2.3.39
Browse files Browse the repository at this point in the history
  • Loading branch information
cdukes committed Aug 20, 2016
1 parent d67606f commit 6787085
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ grunt
- Disable some or all of the default Genesis theme option meta boxes (template, some disabled by default)

## Changelog
### 2.3.39 (August 20, 2016)
- Add SCSS to hide the WP admin bar on mobile (disabled by default)
- Allow `favicon.ico` to be loaded from the `images` folder

### 2.3.38 (August 7, 2016)
- Remove `jquery.fitvids` from `bower.json`
- Use `grunt-sass` instead of `grunt-contrib-sass` (faster than Ruby)
Expand Down
5 changes: 5 additions & 0 deletions images/.htaccess
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
Deny from all

<Files "favicon.ico">
Order Allow,Deny
Allow from all
</Files>
1 change: 1 addition & 0 deletions includes/structure/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
* @since 2.0.16
*/
// remove_action( 'genesis_after_entry', 'genesis_get_comments_template' );

2 changes: 1 addition & 1 deletion includes/structure/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function bfg_do_doctype() {
?>
<!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" <?php language_attributes( 'html' ); ?>> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes( 'html' ); ?>> <!--<![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js html-tag" <?php language_attributes( 'html' ); ?>> <!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
2 changes: 1 addition & 1 deletion sass/_toolkit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

%type {
margin-bottom: 1.5em;
margin-bottom: $spacer;
letter-spacing: .01rem;
line-height: 1.5;

Expand Down
10 changes: 10 additions & 0 deletions sass/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ body {
font-variant-ligatures: common-ligatures;
}

@include media('<=admin-bar') {
#wpadminbar {
// display: none !important;
}

html.html-tag {
// margin-top: 0 !important;
}
}

::selection {
// text-shadow: none;
}
Expand Down
2 changes: 1 addition & 1 deletion sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $site-width: 60em; // Useful for fixed width sites, as well as for limiting the
BREAKPOINTS
*********************/
// Use pixels for include-media-export compatibility. 'zero' breakpoint ensures the breakpoints are printed on all screen widths.
$breakpoints: ( zero: (1 * 16px), phone: (35 * 16px), portrait: (48 * 16px), landscape: (64 * 16px), desktop: (80 * 16px) );
$breakpoints: ( zero: (1 * 16px), phone: (35 * 16px), portrait: (48 * 16px), admin-bar: (48.875 * 16px), landscape: (64 * 16px), desktop: (80 * 16px) );

/*********************
COLORS
Expand Down

0 comments on commit 6787085

Please sign in to comment.