Skip to content

Instantly share code, notes, and snippets.

@bradyvercher
Last active March 22, 2017 08:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradyvercher/6153297 to your computer and use it in GitHub Desktop.
Save bradyvercher/6153297 to your computer and use it in GitHub Desktop.
Custom CSS for integrating AudioTheme with Genesis 2.0
/* General */
.archive .audiotheme {
margin-bottom: 40px;
padding: 40px 40px 20px 40px;
background: #fff;
}
.audiotheme .audiotheme-archive-title {
margin-bottom: 1.6rem;
font-size: 36px;
font-size: 3.6rem;
font-weight: bold;
line-height: 1;
}
.audiotheme .audiotheme-archive-intro {
line-height: 1.625;
}
.audiotheme .audiotheme-archive-intro :last-child {
margin-bottom: 0;
}
/* Titles */
.audiotheme .audiotheme-gig-single .entry-title,
.audiotheme .audiotheme-record-single .entry-header .entry-title,
.audiotheme .audiotheme-track-single .entry-header .entry-title {
margin-bottom: 1.6rem;
color: #333;
font-size: 36px;
font-size: 3.6rem;
font-weight: bold;
line-height: 1;
}
.audiotheme .audiotheme-record-single .entry-header .entry-title,
.audiotheme .audiotheme-track-single .entry-header .entry-title {
margin-bottom: 0;
}
/* Gig Archive */
.post-type-archive-audiotheme_gig .audiotheme {
padding-bottom: 40px;
}
/* Single Gig */
.audiotheme .audiotheme-gig-single {
margin-bottom: 40px;
}
/* Record Archive */
.audiotheme-records .entry {
padding: 0;
}
.audiotheme-records .entry p.audiotheme-record-artwork {
margin-bottom: 15px;
}
.audiotheme-records .entry h2.entry-title {
margin-bottom: 5px;
line-height: 1.2;
}
.audiotheme-records .entry .entry-meta {
margin-bottom: 0;
}
/* Single Record or Track */
.single-audiotheme_record .audiotheme,
.single-audiotheme_track .audiotheme {
margin-bottom: 40px;
padding: 40px 40px 0 40px;
background: #fff;
}
.audiotheme .audiotheme-track-single .entry-header .audiotheme-record-artist {
margin-bottom: 1.6rem;
}
.single .audiotheme-record-header:before,
.single .audiotheme-record-header:after,
.single .audiotheme-record-links:before,
.single .audiotheme-record-links:after,
.single .audiotheme-tracklist-section:before,
.single .audiotheme-tracklist-section:after,
.single .audiotheme-content:before,
.single .audiotheme-content:after {
display: none;
}
/* Video Archive */
.audiotheme-videos .entry {
padding: 0;
}
.audiotheme-videos .entry h2.entry-title {
margin-bottom: 0;
line-height: 1.2;
}
/* Media Queries */
@media only screen and (max-width: 1023px) {
.archive .audiotheme,
.single-audiotheme_record .audiotheme,
.single-audiotheme_track .audiotheme {
margin-bottom: 0;
padding: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment