Skip to content

Instantly share code, notes, and snippets.

@loopyz
Created July 23, 2018 22:29
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 loopyz/0d50ce1d31acf65df0367190e788286c to your computer and use it in GitHub Desktop.
Save loopyz/0d50ce1d31acf65df0367190e788286c to your computer and use it in GitHub Desktop.
Customizations for www.producthunt.com via StyleURL.
/* These changes are from inline styles, so the selectors might be a litttle crazy and if the page does lots of inline styles, unrelated changes could show up here. */
.grey_bbe43,a.grey_bbe43 {
color: #a5a5a5;
}
.large_db9e7 {
font-size: 16px;
}
.light_4a7e0 {
font-weight: 400;
}
.orangeSolidColor_1132c,.solidVariant_0ef4d.active_037ba {
background: #da2fad;
border-color: #da2fad;
}
.text_44214 {
color: #333;
}
.item_6a520 .info_eb1ad {
display: none;
}
.link_2a415 {
padding: 15px 0px;
}
.meta_96395 {
left: 95px;
}
.item_54fdd .info_0f1c7 {
display: none;
}
.link_523b9 {
padding: 15px 0px;
}
.meta_f09e7 {
left: 95px;
}
undefined .actions_c6d87 {
margin-left: 0px;
}
undefined .minorActions_57e55 .button_e47d2 > :last-child {
display: none;
}
undefined .minorActions_57e55 .button_e47d2 > :first-child {
display: flex;
}
undefined .promoted_63e0a {
top: 0px;
right: 0px;
}
.link_2a415 {
padding: 15px;
}
.link_2a415:hover {
background-color: rgb(249, 249, 249);
}
.meta_96395 {
left: 110px;
}
.item_54fdd:hover .minorActions_57e55 {
display: flex;
}
undefined .link_523b9 {
padding: 15px;
}
undefined .link_523b9:hover {
background-color: rgb(249, 249, 249);
}
undefined .meta_f09e7 {
left: 110px;
}
.item_6a520 {
overflow: hidden;
position: relative;
}
.item_6a520 .info_eb1ad {
display: flex;
}
.thumbnail_dee6a {
width: 80px;
height: 80px;
margin-right: 15px;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
}
.link_2a415, .thumbnail_dee6a {
display: flex;
}
.link_2a415 {
border-bottom: 1px solid rgb(232, 232, 232);
}
.link_2a415:visited .title_39c87 {
color: rgb(153, 153, 153);
}
li:last-of-type .link_2a415 {
border-bottom: 0px;
}
.tagline_ce810 {
-webkit-box-flex: 1;
flex-grow: 1;
display: flex;
-webkit-box-align: center;
align-items: center;
}
.metaShadow_e8211 {
height: 24px;
}
.meta_96395 {
height: 24px;
-webkit-box-align: center;
align-items: center;
bottom: 15px;
right: 15px;
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
position: absolute;
}
.info_eb1ad {
-webkit-box-align: center;
align-items: center;
white-space: nowrap;
margin-left: 5px;
margin-top: -1px;
}
.actions_02b6b, .info_eb1ad {
display: flex;
flex-shrink: 0;
}
.actions_02b6b {
margin-left: auto;
margin-top: -12px;
}
.userImage_46930 {
margin-left: -7px;
}
.subscriberCount_8e54e {
margin-left: 10px;
color: rgb(153, 153, 153);
}
.thumbnail_ee364 {
box-sizing: border-box;
display: flex;
}
.userImage_b8f84 {
position: relative;
}
.userImageContainer_5888f {
border-radius: 50%;
}
.userUpvoteStreak_5ae00 {
position: absolute;
left: -4px;
top: -8px;
}
.badge_26e27 {
position: absolute;
top: -4px;
left: -4px;
}
.badge_26e27 svg {
width: 16px;
height: 16px;
}
.badge_26e27.large_4623e {
left: 4px;
top: 4px;
}
.badge_26e27.large_4623e svg {
width: 32px;
height: 32px;
}
.link_30bfd {
display: inline-flex;
}
.showMore_bc90e {
cursor: pointer;
display: block;
text-align: center;
padding: 15px;
}
.showMore_bc90e svg {
margin-right: 5px;
}
.showMore_bc90e:hover {
text-decoration: underline;
}
.item_54fdd .info_0f1c7 {
display: unset;
}
.link_523b9 {
padding: unset;
}
.meta_f09e7 {
left: unset;
}
.actions_c6d87 {
margin-left: unset;
}
.minorActions_57e55 .button_e47d2 > :last-child {
display: unset;
}
.minorActions_57e55 .button_e47d2 > :first-child {
display: unset;
}
.promoted_63e0a {
top: unset;
right: unset;
}
.item_54fdd:hover .minorActions_57e55 {
display: unset;
}
.link_523b9 {
padding: unset;
}
.link_523b9:hover {
background-color: unset;
}
.meta_f09e7 {
left: unset;
}
---
version: 1.0
domains:
- www.producthunt.com
url_patterns:
- www.producthunt.com/*
timestamp: '2018-07-23T22:29:40Z'
id: GLQR
redirect_url: https://www.producthunt.com/
shared_via: StyleURL – import and export CSS changes from Chrome Inspector to a Gist
you can share (like this one!)
@loopyz
Copy link
Author

loopyz commented Jul 23, 2018

📷 Screenshot

Screenshot of changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment