/* 
 Theme Name:   The WP Guru 2013
 Theme URI:    https://github.com/versluis/The-WP-Guru-2013
 Description:  child theme based on TwentyThirteen
 Author:       Jay Versluis
 Author URI:   https://wpguru.co.uk
 Template:     twentythirteen
 Version:      1.7
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* CHANGELOG

v1.7 - August 2020
added new Supporter Role for ad-free browsing
opened registrations (default: Subscriber Role)
added WP Approve User plugin
refactoring: shifted core functions to includes directory
enabled Amazon OneLink code in footer

v1.6 - December 2019 
added affiliate link disclosure in footer

v1.5 - September 2019
added Divi Banner for visitors
except for donations page, home page and logged in visitors

v1.4 - July 2019
added Upload Capabilities to the Contributor Role

v1.3 - April 2019
Podcast links only show on single posts

v1.2 - December 2018
added Amazon oneLink code in footer
added Author Bio Box on single user site
removed link to all posts by Author in Bio Box
casual links in posts are now clickable

v1.1 - September 2018
added Apple Badge underneath podcast categories
added Stitcher Badge underneath podcast categories
replaced screenshot
added page templates for podcast feeds
tweaked Akismet notice on single posts
added YouTube badge to serial posts

v1.0 1.0 - August 2018
initial release

*/

/* invisibilise site title so that the header stays in place on mobile */
.site-title, .site-description {
	opacity: 0 !important;
	margin-bottom: -40;
}

/* shift mobile header up by 10 pixels to avoid cutting off the bottom */
.site-header {
	margin-top: -10px !important;
	margin-bottom: 10px !important;
}

/* Hotfix for YouTube Videos */
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
    margin-top: -350px;	
}

@media (max-width: 767px) {
	.site-title {
		margin-bottom: 40;
	}
}

@media (max-width: 643px) {
	.site-title {
		margin-bottom: 45;
	}
}

/* stop hypenating words */
.entry-content, .entry-summary, .page-content, .comment-content {
		
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	word-wrap: normal;
}

/* do hyphenate links though */
.entry-content a, .entry-summary a, .page-content a, .comment-content a {
	
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}

/* add padding to H3 tags in posts */
.entry-content h3, h3 {
	padding-top: 20px;
}

/* split the margin in paragraphs between top and bottom */
p {
	margin-top: 12;
	margin-bottom: 12;
}

.crayon-theme-github {
	border: none !important;
}

/* style Apple Podcasts Badge */
#apple-badge {
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-top: 12px;
	width: 260px;
	height: auto;
}

/* style Stitcher Badge */
#stitcher-badge {
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-top: -10px;
	width: 200px;
	height: auto;
}

/* style YouTube Badge */
#youtube-badge {
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-top: 0px;
	margin-bottom: 12px;
	width: 260px;
	height: auto;
}

/* Akismet looks terrible on single posts */
.akismet_comment_form_privacy_notice {
	display: none;
}
