Skip to content

Instantly share code, notes, and snippets.

@georgestephanis
Created December 16, 2020 14:56
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 georgestephanis/0e060288cc456bd2bd9c0a65f4457cb3 to your computer and use it in GitHub Desktop.
Save georgestephanis/0e060288cc456bd2bd9c0a65f4457cb3 to your computer and use it in GitHub Desktop.
.site {
max-width: 85% !important;
}
article.post {
width: 200px;
height: 300px;
border-radius: 15px;
border-bottom: 0;
box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.35);
margin: 15px;
padding: 25px;
float: left;
position: relative;
overflow: hidden;
&.category-white {
background: #fff;
color: #000;
.entry-title a {
color: #000;
}
}
&.category-black {
background: #000;
color: #fff;
.entry-title a {
color: #fff;
}
}
&.category-pick-2 {
.entry-title {
&:after {
content: 'pick ➋';
}
}
}
&.category-pick-3 {
.entry-title {
&:after {
content: 'draw ➋ pick ➌';
}
}
}
.entry-title {
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 25px;
font-weight: 700;
a {
text-decoration: none;
}
&:after {
display: block;
clear: both;
font-weight: 400;
font-size: 20px;
margin-top: 30px;
text-align: right;
}
}
.comments-link,
.entry-meta {
display: none;
}
.entry-content > .sharedaddy.sd-like-enabled {
position: absolute;
bottom: 25px;
left: 25px;
width: 200px;
.sd-like .post-likes-widget {
position: static;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment