Skip to content

Instantly share code, notes, and snippets.

@cdevroe
Created May 21, 2018 17:29
Show Gist options
  • Save cdevroe/fc3402871f63cb643c2fd487f3ae57b6 to your computer and use it in GitHub Desktop.
Save cdevroe/fc3402871f63cb643c2fd487f3ae57b6 to your computer and use it in GitHub Desktop.
Micro.blog Userstyle
/* Add bottom border and some spacing to each post. */
.post {
border-bottom: 1px solid rgb(230, 236, 240);
margin-bottom: 20px;
}
/* Move avatar to left */
.post .post_avatar {
float: left;
width: 18%;
}
/* Move post content to right of avatar */
.post .post_content {
width: 75%;
}
/* Add underlines to links */
.post .post_content a {
text-decoration: underline;
}
/* Add spacing before post options */
.post_options {
margin-top: 10px;
}
/* Make buttons for post options */
.post_options .post_reply a, .post_options .post_favorite a {
border: 1px solid rgb(230, 236, 240);
border-radius: 5px;
padding: 8px 10px;
}
/* Post option links, or username shouldn't be underlined */
.post .post_content .post_options a, .post .post_content .post_username a {
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment