initial commit, child theme

This commit is contained in:
Jacob Haddon 2020-06-28 14:33:05 -04:00
commit 9e4b0062a1
2 changed files with 134 additions and 0 deletions

19
functions.php Normal file
View File

@ -0,0 +1,19 @@
<?php
# function file for jdh2016 child theme
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
}
add_filter( 'upload_mimes', 'my_myme_types', 1, 1 );
function my_myme_types( $mime_types ) {
$mime_types['epub'] = 'application/epub+zip'; // Adding .svg extension
$mime_types['mobi'] = 'application/octet-stream'; // Adding .json extension
return $mime_types;
}
?>

115
style.css Normal file
View File

@ -0,0 +1,115 @@
/*
Theme Name: Haddon 2016
Theme URI: http://jacobhaddon.com/twenty-sixteen-child/
Description: Twenty Sixteen Child Theme
Author: Jacob Haddon
Author URI: http://jacobhaddon.com
Template: twentysixteen
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: twenty-sixteen-child
*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,100,100italic,400italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:400,400italic,600,600italic,700,700italic);
/*Typography*/
/*Serif */
body,
button,
input,
select,
textarea {
font-family: Merriweather, Georgia, serif;
}
/*Sans-Serif*/
.tagcloud a,
.site-title,
.entry-title,
.entry-footer,
.sticky-post,
.page-title,
.page-links,
.comments-title,
.comment-reply-title,
.comment-metadata,
.pingback .edit-link,
.comment-reply-link,
.comment-form label,
.no-comments,
.widecolumn label,
.widecolumn .mu_register label {
font-family: Raleway, "Helvetica Neue", sans-serif;
}
.site-title {
font-weight: 100;
font-size: 48px;
}
.entry-title {
font-weight: 400;
}
pre {
}
code {
background-color: transparent;
}
/*for the iframes amazon makes*/
.amazonpreview {
float: none;
}
/* Media levels in 2016 below */
/**
* 14.1 - >= 710px
*/
@media screen and (min-width: 44.375em) {
} /* media 710px */
/**
* 14.2 - >= 783px
*/
@media screen and (min-width: 48.9375em) {
} /* media 738px */
/**
* 14.3 - >= 910px
*/
@media screen and (min-width: 56.875em) {
.amazonpreview {
float: right;
}
} /* media 910px */
/**
* 14.4 - >= 985px
*/
@media screen and (min-width: 61.5625em) {
} /* media 985px */