Skip to content

Commit

Permalink
removed parent styling and included child theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaneijgen committed Mar 23, 2016
1 parent 5d75964 commit b358569
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 615 deletions.
8 changes: 8 additions & 0 deletions inc/alloy-child/functions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
/**
* Enqueues child theme stylesheet, loading first the parent theme stylesheet.
*/
function themify_custom_enqueue_child_theme_styles() {
wp_enqueue_style( 'parent-theme-css', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'themify_custom_enqueue_child_theme_styles' );
118 changes: 118 additions & 0 deletions inc/alloy-child/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
/*
Theme Name: alloy child
Template: studio-alloy-framework
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
line-height: 22px;
}
h1 {
font-size: 3rem;
line-height: 3rem
}
h2 {
font-size: 1.8rem;
line-height: 1.8rem
}
h3 {
font-size: 1.6rem;
line-height: 1.6rem
}
h4 {
font-size: 1.4rem;
line-height: 1.4rem
}
#site-navigation,
h5 {
font-size: 1rem;
line-height: 1rem
}
a:visited,
a {
color: #e70;
text-decoration: none;
}
/* Layout
———————————————————————————————————— */
.mve-footer .inner,
.entry-header,
#site-navigation,
.vc_row-fluid,
[data-vc-full-width="true"] .wpb_wrapper,
.menu-hoofdmenu-container {
max-width: 1200px;
margin-left: auto !important;
margin-right: auto !important;
}
[data-vc-full-width="true"],
[data-vc-stretch-content="true"] .wpb_wrapper{
max-width: 100%;
}
/* END Layout
———————————————————————————————————— */
/* Flexbox
———————————————————————————————————— */
.flex {
display: flex;
}
/* END Flexbox
———————————————————————————————————— */
/* Header
———————————————————————————————————— */
/* END Header
———————————————————————————————————— */
/* nav
———————————————————————————————————— */
/* END nav
———————————————————————————————————— */
/* Rev slider
———————————————————————————————————— */
/* END Rev slider
———————————————————————————————————— */
/* END Posts
———————————————————————————————————— */
/* Contact from 7
———————————————————————————————————— */
/* END Contact from 7
———————————————————————————————————— */
/* Backgrounds
———————————————————————————————————— */
.alt-bg {
background: #e70;
color: #fff;
padding: 30px 0;
}
/* END Backgrounds
———————————————————————————————————— */
/* Bits
———————————————————————————————————— */
/* END Bits
———————————————————————————————————— */
/* Footer
———————————————————————————————————— */
footer#colophon {
background: #222;
text-align: center;
}
footer {
background: #eee;
}
footer ul {
margin: 0;
padding: 0;
list-style: none;
}
footer h5 {
margin-bottom: 15px;
}
/* END Footer
———————————————————————————————————— */
/* Media Queries
———————————————————————————————————— */
@media only screen and (min-width : 800px) {
/* Styles */
}
/* END Media Queries
———————————————————————————————————— */
Loading

0 comments on commit b358569

Please sign in to comment.