Skip to content

Commit

Permalink
Theme Styles are here 馃挴
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Awais committed May 26, 2016
1 parent 124b420 commit 8a785bc
Show file tree
Hide file tree
Showing 6 changed files with 246 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
@@ -1 +1,2 @@
#WPCustomize
WP Customize component related boilerplate theme and features implementation.
19 changes: 19 additions & 0 deletions footer.php
@@ -0,0 +1,19 @@
<?php
/**
* Footer
*
* WPC Theme Footer.
*
* @since 1.0.0
* @package WPC
*/

?>

</div>
<!-- / wrap -->

<?php wp_footer(); ?>

</body>
</html>
22 changes: 22 additions & 0 deletions functions.php
Expand Up @@ -27,6 +27,28 @@
}


if ( ! function_exists( 'wpc_theme_styles' ) ) {
// Add Theme Stylesheet.
add_action( 'wp_enqueue_scripts', 'wpc_theme_styles' );

/**
* WPC Theme styles enqueue.
*
* @since 1.0.0
*/
function wpc_theme_styles() {
// Theme Styles.
wp_enqueue_style(
'wpc',
WPC_URL . '/style.css',
array(),
'1.0.0',
'all'
);
}
}


/**
* Customize Init.
*
Expand Down
25 changes: 25 additions & 0 deletions header.php
@@ -0,0 +1,25 @@
<?php
/**
* Header
*
* WPC theme header.
*
* @since 1.0.0
* @package WPC
*/

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">

<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

<!-- wrap -->
<div class="wrap">
28 changes: 28 additions & 0 deletions index.php
@@ -0,0 +1,28 @@
<?php
/**
* Index file
*
* Base index fil.
*
* @since 1.0.0
* @package WPC
*/

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}

// Get the header.
get_header(); ?>

<div class="content">
<h1>WPCustomize Boilerplate!</h1>
<p>WP Customize component related boilerplate theme and features implementation.</p>
</div>
<!-- /.content -->

<?php
// Get the footer.
get_footer();
?>
151 changes: 151 additions & 0 deletions style.css
Expand Up @@ -11,3 +11,154 @@
* Text Domain: WPC
*/

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{margin:0}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}
audio,canvas,progress,video{display:inline-block;vertical-align:baseline}
audio:not([controls]){display:none;height:0}
[hidden],template{display:none}
a{background-color:transparent}
a:active,a:hover{outline:0}
abbr[title]{border-bottom:1px dotted}
b,strong{font-weight:bold}
dfn{font-style:italic}
h1{font-size:2em;margin:.67em 0}
mark{background:#ff0;color:#000}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-0.5em}
sub{bottom:-0.25em}
img{border:0}
svg:not(:root){overflow:hidden}
figure{margin:1em 40px}
hr{box-sizing:content-box;height:0}
pre{overflow:auto}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
button{overflow:visible}
button,select{text-transform:none}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
button[disabled],html input[disabled]{cursor:default}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
input{line-height:normal}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}
input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
legend{border:0;padding:0}
textarea{overflow:auto}
optgroup{font-weight:bold}
table{border-collapse:collapse;border-spacing:0}
td,th{padding:0}
/*! sanitize.css | CC0 Public Domain | github.com/jonathantneal/sanitize.css */:root{-ms-overflow-style:-ms-autohiding-scrollbar;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}
audio:not([controls]){display:none}
details{display:block}
input[type="number"]{width:auto}
input[type="search"]{-webkit-appearance:textfield}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
main{display:block}
summary{display:block}
pre{overflow:auto}
progress{display:inline-block}
small{font-size:75%}
template{display:none}
textarea{overflow:auto}
[hidden]{display:none}
[unselectable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
*,::before,::after{box-sizing:inherit}
*{font-size:inherit;line-height:inherit}
::before,::after{text-decoration:inherit;vertical-align:inherit}
*,::before,::after{border-style:solid;border-width:0}
*{margin:0;padding:0}
:root{box-sizing:border-box;cursor:default;font:16px / 1.5 sans-serif;text-rendering:optimizeLegibility}
html{background-color:#fff}
a{text-decoration:none}
audio,canvas,iframe,img,svg,video{vertical-align:middle}
button,input,select,textarea{background-color:transparent}
button,input,select,textarea{color:inherit;font-family:inherit;font-style:inherit;font-weight:inherit}
button,[type="button"],[type="date"],[type="datetime"],[type="datetime-local"],[type="email"],[type="month"],[type="number"],[type="password"],[type="reset"],[type="search"],[type="submit"],[type="tel"],[type="text"],[type="time"],[type="url"],[type="week"],select,textarea{min-height:1.5em}
code,kbd,pre,samp{font-family:monospace,monospace}
nav ol,nav ul{list-style:none}
select{-moz-appearance:none;-webkit-appearance:none}
select::-ms-expand{display:none}
select::-ms-value{color:currentColor}
table{border-collapse:collapse;border-spacing:0}
textarea{resize:vertical}
::-moz-selection{background-color:#b3d4fc;text-shadow:none}
::selection{background-color:#b3d4fc;text-shadow:none}
*,*:after,*:before{box-sizing:border-box;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility}
html{font-size:62.5%;height:100%;min-height:100%}
body{font:400 11px/1.4 sans-serif;color:#292929;margin:0;background:#fff !important;height:100%;min-height:100%}
.clear:before,.clear:after{content:' ';display:table}
.clear:after{clear:both}
.clear{*zoom:1}
img{max-width:100%;vertical-align:bottom;height:auto}
a{color:#444;text-decoration:none}
a:hover{color:#444}
a:focus{outline:0}
a:hover,a:active{outline:0}
input:focus{outline:0;border:1px solid #292929}
select{width:100%}
.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:#c5c5c5;max-width:100%;padding:2rem;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:100%;padding:0;width:auto}
.wp-caption .wp-caption-text,.gallery-caption{margin:0;padding:.5rem}
.textwidget img{margin:1rem 0}
.bypostauthor{background:inherit}
.widget_calendar{display:table;width:100%}
#wp-calendar{width:100%}
#wp-calendar caption{text-align:right;color:#000;font-size:12px;margin-top:10px;margin-bottom:15px}
#wp-calendar thead{font-size:10px}
#wp-calendar thead th{padding-bottom:10px}
#wp-calendar tbody{color:#000;font-family:sans-serif;font-weight:300}
#wp-calendar tbody td{background:#fff;border:1px solid #fff;text-align:center;padding:8px}
#wp-calendar tbody td:hover{background:#fff}
#wp-calendar tbody .pad{background:0}
#wp-calendar tfoot #next{font-size:10px;text-transform:uppercase;text-align:right}
#wp-calendar tfoot #prev{font-size:10px;text-transform:uppercase;padding-top:10px}
.size-auto,.size-full,.size-large,.size-medium,.size-thumbnail{max-width:100%;height:auto}
.wrap{display:table;width:100%;height:100%;font-size:5vh;padding:3vh;background:#7f8c8d;color:#fff}
.content{display:table-cell;width:100%;vertical-align:middle;margin:0 auto;text-align:center}
.content h1,.content p{font-family:Lato;font-weight:100}
.content h1{text-transform:uppercase}
@media screen{[hidden~="screen"]{display:inherit}
[hidden~="screen"]:not(:active):not(:focus):not(:target){clip:rect(0 0 0 0) !important;position:absolute !important}
}@media(min-width:240px){.wp-caption .wp-caption-text,.gallery-caption{font:300 1.4rem/1.8rem sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}@media(min-width:320px){.wp-caption .wp-caption-text,.gallery-caption{font:300 1.55rem/1.8 sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}@media(min-width:480px){.wp-caption .wp-caption-text,.gallery-caption{font:300 1.8rem/1.8 sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}@media(min-width:768px){.wp-caption .wp-caption-text,.gallery-caption{font:300 1.9rem/1.7 sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}@media(min-width:1024px){.wp-caption .wp-caption-text,.gallery-caption{font:300 2rem/3.1rem sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}@media(min-width:1280px){.wp-caption .wp-caption-text,.gallery-caption{font:300 2rem/3.1rem sans-serif}
.content h1,.content p{font-weight:100}
.content h1{text-transform:uppercase}
}
/* Base */
/** Base SCSS */
.wrap { display: table; width: 100%; height: 100%; font-size: 5vh; padding: 3vh; background: #3e1f3e; color: #ffffff; }

.content { display: table-cell; width: 100%; vertical-align: middle; margin: 0 auto; text-align: center; }

.content h1, .content p { font-family: Lato; font-weight: 100; }


0 comments on commit 8a785bc

Please sign in to comment.