Last active
August 19, 2017 07:38
-
-
Save conorseed/1a6eb000f42cd1e6911c26a4698569e5 to your computer and use it in GitHub Desktop.
Custom CSS for Christian Meme's Shopify Store - Single Post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SINGLE BLOG POST */ | |
#relatedblogs h3 { | |
font-size: 150%; | |
font-weight: 900; | |
text-transform: uppercase; | |
font-family: Geogrotesque-Semibold, Helvetica, Arial, sans-serif; | |
margin-bottom: 20px; | |
} | |
div#relatedblogs { | |
margin-top: 70px; | |
width: 100%; | |
display: block; | |
} | |
main.main-content { | |
width: 1170px; | |
margin: auto; | |
padding-top: 40px; | |
padding-bottom: 30px; | |
} | |
#relatedblogs ul {list-style-type: none;margin-left: 0; display: flex;} | |
#relatedblogs li { | |
width: 24%; | |
float: left; | |
margin-right: 1%; | |
} | |
.rb_image_wrap { | |
width: 100%; | |
margin-top: 20px; | |
display: block; | |
max-height: 100px; | |
overflow: hidden; | |
} | |
img.rb_image { | |
width: 100%; | |
max-width: 400px; | |
max-height: 400px; | |
height: 100%; | |
} | |
.rb_contents { | |
display: block; | |
border-top: solid 1px rgba(0,0,0,0.2); | |
margin-top: 5px; | |
padding-top: 10px; | |
font-family: Geogrotesque-Semibold, Helvetica, Arial, sans-serif; | |
} | |
.rb_contents p { | |
font-size: 80%; | |
line-height: 100%; | |
margin-top: 10px; | |
} | |
input.btn { | |
margin-top: 20px; | |
} | |
input { | |
width: 100% !important; | |
} | |
aside.sidebar.grid__item.post-large--one-fifth { | |
background-color: #eee; | |
padding: 20px 30px; | |
} | |
h4 { | |
font-family: Geogrotesque-Semibold, Helvetica, Arial, sans-serif; | |
font-weight: 900; | |
text-transform: uppercase; | |
margin: 20px 0; | |
font-size: 140%; | |
} | |
h1.section-header__title { | |
font-size: 200%; | |
text-transform: uppercase; | |
font-weight: 900; | |
} | |
div[itemprop="articleBody"] { | |
margin-top: 30px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment