Skip to content

Instantly share code, notes, and snippets.

@brichards
Created February 28, 2020 15:15
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 brichards/01361503105b9e7c2f9cfa640bd121b9 to your computer and use it in GitHub Desktop.
Save brichards/01361503105b9e7c2f9cfa640bd121b9 to your computer and use it in GitHub Desktop.
Custom CSS for WPBlockTalk.com
h3:before {
display: inline-block;
margin-left: -45px;
padding-right: 45px;
width: 30px;
height: 30px;
background: url('https://cldup.com/_NaTHCOsGQ.svg') no-repeat;
content: '';
}
@media (max-width: 500px) {
h3:before {
background: transparent;
}
}
@media (min-width: 1220px) {
.primary-menu>li {
margin: .2rem 0 0 2.5rem;
}
.site-logo {
margin-top: .2rem;
}
}
.wp-block-button__link.menu-item {
padding: 1.4rem 1.8rem;
transition: all .15s linear;
}
.wp-block-button__link.menu-item:hover {
background: #fd30a3;
transform: scale(1.1);
}
.primary-menu > li.wp-block-button__link.menu-item a {
color: #f9f4fd;
font-weight: 600;
}
.primary-menu li.current-menu-item>a,
.primary-menu li.current-menu-item>a:hover,
.wp-block-button__link.menu-item a:hover {
text-decoration: none;
}
.wp-block-button__link {
transition: all .15s linear;
}
.wp-block-cover .wp-block-button.is-style-outline:hover {
background-color: #f9f4fd;
}
.wp-block-cover .wp-block-button.is-style-outline a:hover {
text-decoration: none;
color: #a82fee;
border-color: #f9f4fd;
}
.wp-block-table.alignwide.schedule {
max-width: calc(100vw - 60rem);
width: calc(100vw - 60rem);
}
.schedule tr td:first-of-type {
min-width: 150px;
}
.wp-block-cover.alignfull + .wp-block-group.alignfull {
margin-top: -10rem;
}
.wp-block-cover.alignfull.pattern-divider + .wp-block-group.alignfull {
margin-top: 0;
}
.no-vertical-margin {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.wp-block-separator.is-style-dots:before {
content: "▪ ▪ ▪";
}
#wp-block-jetpack-mailchimp_consent-text {
font-size: 1.8rem;
color: #333;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment