|
|
| Line 1,184: |
Line 1,184: |
| Β Β display: block; | | Β Β display: block; |
| Β Β border-radius: 6px; | | Β Β border-radius: 6px; |
| }
| |
|
| |
| /* Strip MediaWiki image chrome inside tweets */
| |
| .tweet-media figure,
| |
| .tweet-media .thumb,
| |
| .tweet-media .thumbinner,
| |
| .tweet-media a.image {
| |
| Β background: transparent !important;
| |
| Β border: 0 !important;
| |
| Β box-shadow: none !important;
| |
| Β padding: 0 !important;
| |
| Β margin: 0 !important;
| |
| }
| |
|
| |
| /* Remove borders on the actual <img> */
| |
| .tweet-media .mw-file-element,
| |
| .tweet-media .thumbimage {
| |
| Β background: transparent !important;
| |
| Β border: 0 !important;
| |
| Β box-shadow: none !important;
| |
| Β width: 100%;
| |
| Β height: auto;
| |
| Β display: block;
| |
| }
| |
|
| |
| /* Kill residual file wrappers inside tweets */
| |
| .tweet-media .mw-default-size,
| |
| .tweet-media .mw-file-description {
| |
| Β background: transparent !important;
| |
| Β border: 0 !important;
| |
| Β box-shadow: none !important;
| |
| Β padding: 0 !important;
| |
| Β margin: 0 !important;
| |
| }
| |
|
| |
| /* Ensure any remaining anchors donβt introduce chrome or inline gaps */
| |
| .tweet-media a {
| |
| Β background: transparent !important;
| |
| Β border: 0 !important;
| |
| Β box-shadow: none !important;
| |
| Β padding: 0 !important;
| |
| Β margin: 0 !important;
| |
| Β line-height: 0;
| |
| }
| |
|
| |
| /* Final reset: remove any chrome inside tweet media */
| |
| .tweet-media * {
| |
| Β background: transparent !important;
| |
| Β border: 0 !important;
| |
| Β box-shadow: none !important;
| |
| Β padding: 0 !important;
| |
| Β margin: 0 !important;
| |
| } | | } |