-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from harryfinn/release/v1.7.0
Release v1.7.0
- Loading branch information
Showing
14 changed files
with
394 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ $color-black: #000; | |
// Global vars | ||
|
||
$container-width: 1280px; | ||
$container-padding: 10px; | ||
$container-padding: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
//scss-lint:disable all | ||
|
||
/* =WordPress Core | ||
-------------------------------------------------------------- */ | ||
.alignnone { | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
.aligncenter, | ||
div.aligncenter { | ||
display: block; | ||
margin: 5px auto 5px auto; | ||
} | ||
|
||
.alignright { | ||
float:right; | ||
margin: 5px 0 20px 20px; | ||
} | ||
|
||
.alignleft { | ||
float: left; | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
a img.alignright { | ||
float: right; | ||
margin: 5px 0 20px 20px; | ||
} | ||
|
||
a img.alignnone { | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
a img.alignleft { | ||
float: left; | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
a img.aligncenter { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto | ||
} | ||
|
||
.wp-caption { | ||
background: #fff; | ||
border: 1px solid #f0f0f0; | ||
max-width: 96%; /* Image does not overflow the content area */ | ||
padding: 5px 3px 10px; | ||
text-align: center; | ||
} | ||
|
||
.wp-caption.alignnone { | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
.wp-caption.alignleft { | ||
margin: 5px 20px 20px 0; | ||
} | ||
|
||
.wp-caption.alignright { | ||
margin: 5px 0 20px 20px; | ||
} | ||
|
||
.wp-caption img { | ||
border: 0 none; | ||
height: auto; | ||
margin: 0; | ||
max-width: 98.5%; | ||
padding: 0; | ||
width: auto; | ||
} | ||
|
||
.wp-caption p.wp-caption-text { | ||
font-size: 11px; | ||
line-height: 17px; | ||
margin: 0; | ||
padding: 0 4px 5px; | ||
} | ||
|
||
/* Text meant only for screen readers. */ | ||
.screen-reader-text { | ||
clip: rect(1px, 1px, 1px, 1px); | ||
position: absolute !important; | ||
height: 1px; | ||
width: 1px; | ||
overflow: hidden; | ||
} | ||
|
||
.screen-reader-text:focus { | ||
background-color: #f1f1f1; | ||
border-radius: 3px; | ||
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); | ||
clip: auto !important; | ||
color: #21759b; | ||
display: block; | ||
font-size: 14px; | ||
font-size: 0.875rem; | ||
font-weight: bold; | ||
height: auto; | ||
left: 5px; | ||
line-height: normal; | ||
padding: 15px 23px 14px; | ||
text-decoration: none; | ||
top: 5px; | ||
width: auto; | ||
z-index: 100000; /* Above WP toolbar. */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CMB2
updated
from d9d23e to a1778c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
class Autoloaders { | ||
public static function init() { | ||
spl_autoload_register([__CLASS__, 'autoloadClasses']); | ||
spl_autoload_register([__CLASS__, 'autoloadLibClasses']); | ||
} | ||
|
||
public static function autoloadClasses($name) { | ||
$class_name = self::formatClassFilename($name); | ||
$class_path = get_template_directory() . '/includes/class.' | ||
. $class_name . '.php'; | ||
|
||
if(file_exists($class_path)) require_once $class_path; | ||
} | ||
|
||
public static function autoloadLibClasses($name) { | ||
$lib_class_name = INCLUDES_DIR . '/class.' | ||
. strtolower($name) . '.php'; | ||
|
||
if(file_exists($lib_class_name)) require_once($lib_class_name); | ||
} | ||
|
||
private static function formatClassFilename($filename) { | ||
return strtolower( | ||
implode( | ||
'-', | ||
preg_split('/(?=[A-Z])/', $filename, -1, PREG_SPLIT_NO_EMPTY) | ||
) | ||
); | ||
} | ||
} |
Oops, something went wrong.