Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
Last active February 10, 2021 18:21
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 woodwardtw/64a80954d23f1930f7a2901fefdae752 to your computer and use it in GitHub Desktop.
Save woodwardtw/64a80954d23f1930f7a2901fefdae752 to your computer and use it in GitHub Desktop.
macal site custom css
/* remove the gray overlay in the header image */
.site-header:after { display: none; }
/* Adding custom RRU font */
h1, h2, h3, h4, h5, h6 {
font-family: "Auto1Regular", sans serif;
}
a, a:link {
font-family: "Roboto", sans serif;
}
p {
font-family: "Roboto", sans serif;
}
.site-title a {
font-family: "Auto1Regular", sans serif !important;
}
.printfriendly {display: none!important;}
a {
color: #BAC12F;
}
#page .post p, #page .post h1, #page .post h2, #page .post h3, #page .post h4 {
color: #000;
}
.section.blog {
background-color: #fff !important;
color: #000;
padding: 30px;
}
section.blog h2 {
background-color: #fff !important;
color: #000 !important;
}
.site-title a{
color: #1e4164;
}
.site-description {
font-weight: 800;
color: #fff;
}
.main-menu a {
font-weight: 800;
color: #fff;
}
.features .wp-block-image {
margin-bottom: 0;
}
.features h3 {
margin-top: 0;
}
.features p {
line-height: 1.2
}
.intro {
position: relative;
}
.apply {
position: absolute;
top: 0;
width: 100%;
left: 0;
right: 0;
background-color: #F26649;
margin-top: -110px;
padding: 10px;
}
.apply a {
color: #fff;
font-size: 1rem;
text-transform: uppercase;
font-weight: 800;
}
.front-posts {
background-color: #fff;
padding: 50px 20px;
}
.front-posts .su-post {
width: 100%;
display:flex;
flex-wrap: wrap;
}
.front-posts .su-posts-default-loop .su-post-thumbnail img {
width: 260px;
height: 150px;
object-fit: cover;
max-height: none;
max-width: none;
display: inline-block;
margin: 0 15px 15px 0;
}
.front-posts .su-posts-default-loop .su-post-thumbnail {
float: left;
width: 260px;
height: 150px;
}
.front-posts .su-post-title a{
display: inline-block;
color: #1E4164;
width: 400px;
}
.front-posts .su-post-excerpt {
color: #1E4164;
border-bottom: 1px solid #424242;
padding-bottom: 20px
}
.front-posts .more-link {
color: #1E4164;
text-transform: uppercase;
}
.front-posts .su-post-meta, .front-posts .su-post-comments-link {
display: none;
}
.site-footer {
background-color: #1E4164;
}
#post-1990 .wp-block-column {
border: 1px solid #fff;
background-color: #fff;
}
#post-1990 .su-spoiler-title {
background-color: #24C0D7;
border-radius: 30px;
margin: 0 15px;
}
#post-2243 .su-spoiler-title {
background-color: #24C0D7;
font-size: 1.3em;
}
#post-2242 .wp-image-2710 {
background-color: #efefef;
}
#post-1978 .wp-block-image img {
border-radius: 50%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment