Skip to content

Instantly share code, notes, and snippets.

@Nebula-Mechanica
Created August 30, 2016 13:44
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 Nebula-Mechanica/339a8141960cdafbc6a8b5f0ae6225a7 to your computer and use it in GitHub Desktop.
Save Nebula-Mechanica/339a8141960cdafbc6a8b5f0ae6225a7 to your computer and use it in GitHub Desktop.
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("vk.com") {
.page_square_photo {
height: 90px !important;
width: 90px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover,
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover,
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover,
#public .clear_fix A.page_post_thumb_wrap.image_cover,
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover {
background-size: contain !important;
max-width: 100% !important;
background-size: contain;
background-repeat: no-repeat;
/*width: 100%;*/
height: 0;
padding-top: 0%;
margin-bottom: 5px !important;
margin-left: 2px !important;
margin-right: 2px !important;
}
.page_post_sized_thumbs, .page_square_photo {
-moz-transform: none !important;
}
.page_post_sized_thumbs {
max-width: 100% !important;
height: auto !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="width: 5"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="width: 5"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="width: 5"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="width: 5"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="width: 5"]{
max-height: 400px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 1"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 1"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 1"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 1"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 1"]{
max-height: 200px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 2"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 2"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 2"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 2"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 2"]{
max-height: 200px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 3"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 3"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 3"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 3"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 3"]{
max-height: 300px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 4"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 4"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 4"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 4"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 4"]{
max-height: 400px !important;
}
#profile_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 5"],
#group_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 5"],
#public_wall .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 5"],
#public .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 5"],
#wall_fixed .clear_fix A.page_post_thumb_wrap.image_cover:not(.page_post_thumb_video)[style*="height: 5"]{
max-height: 350px !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment