Skip to content

Instantly share code, notes, and snippets.

@asmattic
Last active September 16, 2021 06:36
Show Gist options
  • Save asmattic/f52d042f89dfa427ddfa70d4dec92df1 to your computer and use it in GitHub Desktop.
Save asmattic/f52d042f89dfa427ddfa70d4dec92df1 to your computer and use it in GitHub Desktop.
GMF-2021-css-updates
/** Entry header */
.site-content .entry-header .entry-title {
text-align: left;
}
.entry-title {
margin: 0 0 0 10px;
}
/** fil up more of page */
.site-content .page.hentry { /*#main-content-gallery*/
width: 100%;
margin: 0 auto;
padding: 0;
max-width: 980px;
}
/*
#main-content-gallery {
padding: 10px 40px;
}*/
blockquote.alignright, figure.wp-caption.alignright, img.alignright {
margin: 10px;
}
.site {
max-width: 980px;
width: 100%;
}
/** Content Area Normal Blog Post Pages */
.content-area {
float: left !important;
padding-top: 40px;
font-size:1.1em;
width: 100%;
}
/* At the top level of your code */
.content-area .entry-content p :not( > img ) {
margin-bottom: 10px;
}
.content-area .entry-content p {
margin: 10px;
}
blockquote.alignright, figure.wp-caption.alignright, img.alignright {
margin: 7px;
}
#menu-primary-header-menu {
padding-top: 20px;
}
#menu-btn span {
display: none;
}
.primary-navigation ul {
padding-top: 0;
}
#page p img {
height: auto;
width: 100%;
margin: 0 auto;
margin-bottom: 10px;
}
.tabs-container {
left: 0px;
}
@media screen and (max-width: 768px) {
/*
* Just a quick hamburger
*
#menu-btn span {
display: block;
width: 33px;
height: 4px;
margin-bottom: 5px;
position: relative;
background: #cdcdcd;
border-radius: 3px;
z-index: 5;
transform-origin: 4px 0px;
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
opacity 0.55s ease;
}*/
#menu-btn span.genericon-menu {
display: block;
color: #fff;
font-size: 25px;
height: 25px;
width: 25px;
}
#menu-btn span.genericon-close {
display: none;
color: #fff;
font-size: 25px;
height: 25px;
width: 25px;
}
#newsfeed {
height: none;
}
#newsfeed:last-of-type {
display: none;
}
.news-area {
background: none;
}
.site-content .entry-header .entry-title {
text-align: center;
}
.content-area {
padding: 0;
}
.content-area .entry-header h1 {
padding-top: 10px;
font-size: 40px;
}
.content-area .entry-content p {
margin: 10px;
}
.content-area .entry-content h2,
.content-area .entry-content h3,
.content-area .entry-content h4{
margin-left: 10px;
}
.content-area .entry-content p img {
height: auto;
width: 100%;
margin: 0 auto;
margin-bottom: 10px;
}
.content-area .entry-content p :not( > img ) {
margin-bottom: 10px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment