Last active
April 14, 2021 11:56
Revisions
-
sardisson revised this gist
Aug 3, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ /* * instagram-embed.css - v1.0, 3 August 2018 * * In your favorite user CSS tool or stylesheet, set the following rules to * apply to * https://*.instagram.com/* -
sardisson revised this gist
Aug 3, 2018 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,9 @@ */ /* Remove clutter */ div[class="HoverCard"], div[class="SocialProof"], div[class="Feedback"], span[class="FollowerCountText"], a[class="ViewProfileButton"], a[class="CaptionCommentsExpand"] { display: none !important; } /* Fix position of caption after clutter removal */ div[class="Caption"] { padding-top: 10px !important; } -
sardisson created this gist
Aug 3, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ /* * In your favorite user CSS tool or stylesheet, set the following rules to * apply to * https://*.instagram.com/* * (or equivalent; the entire instagram.com domain) * * N.B. Your user CSS tool must be able apply CSS rules to <iframe>s, rather * than only applying them based on the URL in the browser's location bar. */ /* Remove clutter */ div[class="HoverCard"], div[class="SocialProof"], div[class="Feedback"], span[class="FollowerCountText"], a[class="ViewProfileButton"], a[class="CaptionCommentsExpand"] { display: none !important; } /* Fix position of caption after clutter removal */ div[class="Caption"] { padding-top: 10px !important; } /* Make dots for multiple-photo posts appear inside the photo, rather than * on top of the caption, after clutter removal. If you want to hide the dots * altogether (they are normally hidden on embeds by the hovercard launcher), * replace "margin-top: -15px" in the next line with "display: none". */ div[class="EmbedSidecar"] div[class*="ijCUd"] { margin-top: -15px !important; } /* Shrink the embed to fit the new content size after clutter removal */ div[data-oembed-url*="https://www.instagram.com/"] { height: auto !important; }