Skip to content

Instantly share code, notes, and snippets.

@feynon
Created July 26, 2019 13:41
Show Gist options
  • Save feynon/58660ddc1fae9e06db82628e11d5aa77 to your computer and use it in GitHub Desktop.
Save feynon/58660ddc1fae9e06db82628e11d5aa77 to your computer and use it in GitHub Desktop.
body footer nav::after {
content: " by Ankesh Bharti";
color: var(--accent-color);
font-size: 1em;
}
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap&subset=latin-ext');
:root {
--accent-color: #0000ff;
}
body {
font-size-adjust: .58;
}
body article p, body article ol, body article ul {
font-weight: 400;
}
body article strong {
font-weight: 600;
}
body#collection article p, body#subpage article p {
line-height: 1.75em!important;
}
body#post article p {
line-height: 1.60em!important;
}
body#collection #wrapper time, body#subpage #wrapper time {
font-size: .7em;
font-weight: 800;
text-transform: uppercase;
}
time a:hover {
color: var(--accent-color)!important;
text-decoration: none;
}
body#collection #wrapper h2, body#subpage #wrapper h2 {
margin-bottom: .5em;
}
body#post blockquote p + p {
margin: -2.25em 0 .5em
}
body#collection blockquote p + p {
margin: 1em 0 .5em
}
body#subpage blockquote p + p {
margin: 1em 0 .5em
}
body#collection blockquote, body#post blockquote, body#subpage blockquote {
border-left: 4px solid var(--accent-color);
color: #777;
margin-left: 0;
padding-left: 1.25em;
}
article blockquote p a {
font-weight:400!important;
}
footer a.home {
color: var(--accent-color);
font-size: 1em;
}
footer a.home:hover {
color: #000000!important;
}
#blog-title {
font-family: 'Open Sans';
font-weight: 800!important;
text-transform: none;
}
body#post #blog-title a, body#subpage #blog-title a {
background: transparent url('your image url') no-repeat bottom left;
background-position: left;
background-repeat: no-repeat;
background-size: 25px 25px;
padding-left: 35px;
}
body#collection #blog-title a {
background-image: url('your image url');
background-position: center top;
background-repeat: no-repeat;
display: inline-block;
width: 100%;
background-size: 125px 125px;
padding-top: 150px;
color: var(--accent-color);
}
#blog-title a:hover {
color: #000!important;
}
article p a, article ul a, article ol a {
color: var(--accent-color);
font-weight: 400;
text-decoration: none;
border-bottom: 1px solid var(--accent-color);
}
article p a:hover, article ul a:hover, article ol a:hover {
color: #000;
text-decoration: none;
border-bottom: 1px solid #000;
}
body#post a.hashtag, body#collection a.hashtag, body#subpage a.hashtag {
font-weight: 600;
border-bottom: none;
text-decoration: none;
font-size: 0.9em;
text-transform: uppercase;
color: #000;
}
body#post a.hashtag {
font-size: 0.8em;
}
body#post a.hashtag:hover, body#collection a.hashtag:hover, body#subpage a.hashtag:hover {
color: var(--accent-color)!important;
text-decoration: none!important;
border-bottom: none!important;
}
a.hashtag span, span.p-category:hover {
text-decoration: none!important;
}
body#subpage section#wrapper h1 {
font-family: 'Open Sans'!important;
}
nav#paging a {
color: #000000;
font-weight: 600;
font-family: 'Open Sans';
font-size: .9em;
text-decoration: none;
text-transform: uppercase;
}
nav#paging a {
color: var(--accent-color);
font-size: .8em;
}
nav#paging a:hover {
color: #000!important;
}
p.description {
color: #999;
font-family: 'Open Sans';
font-weight: 400;
}
body#post span.posttime {
font-size: .9em;
font-weight: 800;
text-transform: uppercase;
}
body#collection span.posttime, body#subpage span.posttime {
display: none;
}
a.pinned {
font-family: 'Open Sans';
font-size: .9em;
font-weight: bold;
text-transform: uppercase;
}
a.pinned:hover {
color: var(--accent-color);
text-decoration: none;
}
body#collection article ul, body#collection article ul li {
line-height: 1.75em!important;
}
body#collection article ul {
margin-left: 1.75em!important;
margin-top: 1em;
}
body#collection article ul li {
margin-bottom: .5em;
}
body#collection article ol li {
margin-bottom: .25em;
}
body#subpage article ol li {
margin-bottom: .25em;
}
body#collection article ul + p {
margin-top: 1em;
}
body#collection article ol, body#collection article ol li {
line-height: 1.75em!important;
}
body#collection article ol {
margin-left: .75em!important;
margin-top: 1em;
}
body#collection article ol + p {
margin-top: 1em;
}
body#post article ul {
margin-left: 1.25em!important;
margin-bottom: -1.25em;
}
body#post article blockquote ul {
margin-left: 1.25em!important;
margin-top: 0;
margin-bottom: -2em;
}
body#post article ol {
margin-left: 1.25em!important;
margin-bottom: -1.25em;
}
body#post article blockquote ol {
margin-left: 1.25em!important;
margin-top: 0;
margin-bottom: -2em;
}
body#subpage article ul, body#subpage article ul li {
line-height: 1.75em!important;
}
body#subpage article ul {
margin-left: 1.75em!important;
margin-top: 1em;
}
body#subpage article ul li {
margin-bottom: .5em;
}
body#subpage article ul + p {
margin-top: 1em;
}
body#subpage article ol, body#subpage article ol li {
line-height: 1.75em!important;
}
body#subpage article ol {
margin-left: .75em!important;
margin-top: 1em;
}
body#subpage article ol + p {
margin-top: 1em;
}
body#post article blockquote ul:last-child {
margin-bottom: 0;
}
header nav a {
color: #000;
font-weight: 600!important;
}
header nav a:hover {
color: var(--accent-color)!important;
}
.hide {
display: none;
}
a.read-more {
color: var(--accent-color)!important;
font-size: .9em;
font-weight: bold;
text-transform: uppercase;
}
a.read-more:hover {
color: #000!important;
text-decoration: none;
}
body#collection h5, body#subpage h5 {
text-align: center!important;
}
body#post h5 {
display: inline-block!important;
line-height: 1.5em;
text-align: center!important;
}
time a {
color: #000!important;
}
body article blockquote p, body article blockquote ol, body article blockquote ul {
color: #666;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment