Skip to content

Instantly share code, notes, and snippets.

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 andrastudio/2fe5d264e4d514c065e23e8c927cfd43 to your computer and use it in GitHub Desktop.
Save andrastudio/2fe5d264e4d514c065e23e8c927cfd43 to your computer and use it in GitHub Desktop.
CL Web Custom CSS
li.menu-item.highlight a,
.sticky .site-navigation ul li.menu-item.highlight a {
background-color: #541388;
color: #ffffff;
padding: 7px 8px !important;
border-radius: 5px;
margin-left: 15px;
}
li.menu-item.highlight a:hover {
background-color: #4056F4;
color: #fff !important;
transition: ease-in .3s;
}
article.hentry h2 {
margin-bottom: 20px;
}
.postlist article.hentry .entry-meta {
margin: 10px 0 20px 0;
}
.entry-content ul {
margin: 20px 18px;
}
p.tags {
text-transform: uppercase;
margin: 40px 0 0 0;
}
p.tags a {
font-size: 12px;
font-weight: 700;
}
label {
opacity: 1 !important;
visibility: visible !important;
}
article.hentry h2 {
margin: 30px 0;
}
.wp-block-image {
margin: 2em 0;
}
@media screen and (max-width: 640px) {
#logo.custom-logo img, #logo.custom-logo a,
#masthead.sticky #logo.custom-logo a,
#masthead.sticky #logo.custom-logo img {
height: 30px;
max-height: 30px !important;
}
li.menu-item.highlight a,
.sticky .site-navigation ul li.menu-item.highlight a {
margin-left: 0;
}
}
@media screen and (max-width: 480px) {
#logo.custom-logo,
#masthead.sticky #logo.custom-logo {
padding: 5px 0 0 0 !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment