Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2017 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/d08bca2c05c020624bb7c9b1beb807b6 to your computer and use it in GitHub Desktop.
Save anonymous/d08bca2c05c020624bb7c9b1beb807b6 to your computer and use it in GitHub Desktop.
Deep Dish style child
/*
Theme Name: Moesia Child
Theme URI: http://thedeepdish.org/httpdocs/wp-content/themes/moesia-child
Description: Child theme for Moesia theme
Template: moesia
Version: 1.0.0
Text Domain: moesia-child
*/
/*Making the menu area smaller*/
.sticky-wrapper {
height: 50px !important;
}
.top-bar {
height: 100%;
}
.container {
height: 100%;
}
.site-branding {
padding: 14px;
}
.site-content {
margin-top:10px;
}
/*Making headings bold*/
.page-title {
font-weight: 700!important;
color: #444!important;
}
.entry-title {
font-weight: 700!important;
color: #444!important;
}
.widget-title {
color: #444!important;
font-weight: 700!important;
}
.icon-2x {
font-size: 25px !important;
}
.main-navigation {
font-weight: 700!important;
padding-top: 3px;
}
.main-navigation.toggled {
background-color: #2d2d2d;
}
.centerText {
margin: 0 auto !important;
display: block;
width: 290px;
}
.centerText a {
color: #636363 !important;
}
.site-content {
margin-top: 30px;
}
/* Removing the 'DEEP DISH' heading on mobile */
@media screen and (max-width: 480px) {
.site-title {
display: none;
}
.menu-toggle {
margin: 0 auto !important;
margin-top: 8px !important;
float: none !important;
}
.site-branding {
padding: 0px !important;
}
}
/* Making the header image display correctly */
.has-banner:after {
background-attachment: scroll !important;
}
.site-info {
display: none;
}
/*Hiding banner from posts but not pages*/
body:not(.home) .site-header{
display: none;
}
.page-id-41 .site-header{
display:block !important;
}
.page-id-50 .site-header{
display:block !important;
}
/*Changing colour and padding of widget list items*/
.widget li {padding-bottom: 10px !important;
}
.widget li {color: #444 !important;
}
.widget a {color: #444 !important;
}
/* Removing the 'All Life is an Experiment' subheading */
.site-description {
display: none !important;
}
/* Adding superscript buttons to editor */
function my_mce_buttons_2($buttons) {/*** Add in a core button that's disabled by default*/$buttons[] = 'sup';$buttons[] = 'sub';return $buttons;}add_filter('mce_buttons_2', 'my_mce_buttons_2');
}
/* Centered footer text (Not currently working) */
.footer-text {
display: table;
margin: 0 auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment