Skip to content

Instantly share code, notes, and snippets.

@nathaningram
Created November 12, 2020 16:47
Show Gist options
  • Select an option

  • Save nathaningram/84ebc49e807e65ab5f66467eebc71963 to your computer and use it in GitHub Desktop.

Select an option

Save nathaningram/84ebc49e807e65ab5f66467eebc71963 to your computer and use it in GitHub Desktop.
PBDC 2020 - Child Theme CSS File
/**
Theme Name: PBDC 2020 Child Theme
Author: Nathan Ingram
Author URI: https://brilliantly.net
Description: A child theme for Astra for the 2020 Page Builder Developers Course
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-bww-client
Template: astra
*/
/********* Sitewide Customizations *********/
/* Links and Buttons */
a, a:hover,
input[type="submit"],
input[type="submit"]:hover {
transition: all .15s linear;
}
.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button:visited {
background: #B30839;
border: 2px solid #fff;
}
.fl-builder-content a.fl-button:hover {
background: #EA0A4A;
}
.fl-builder-content a.fl-button .fl-button-text,
.fl-builder-content a.fl-button i {
color: #fff !important;
}
a.button-small {
padding: 5px 10px;
}
.button-inverse a.fl-button {
background: #fff !important;
border: 2px solid #B30839 !important;
}
.button-inverse a.fl-button .fl-button-text {
color: #B30839 !important;
}
.button-inverse a.fl-button:hover {
background: #B30839 !important;
}
.button-inverse a.fl-button:hover .fl-button-text {
color: #fff !important;
}
/* Set Page Width Full Globally */
body .site.grid-container {
max-width: 100%;
}
/* Typography */
.fl-module-rich-text p:last-child { /*removes margin at bottom of BvB text modules */
margin-bottom: 0;
}
.highlight {
background: #ffd204;
padding: 0px 6px 0px 6px;
margin: 0px -5px 0px -5px;
border-radius: 2px;
}
.underline {
background: linear-gradient(#ffffff 60%, #ffd204 60%, #ffd204 90%, #ffffff 90%);
padding: 0px 2px 0px 2px;
margin: 0px -5px 0px -5px;
}
.pop {
color: #ffd204;
}
/* Miscellany */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment