/* ==UserStyle== @name Wider Twitter @namespace https://github.com/FrobtheBuilder @description User style for 2019 Twitter to make the main column wider and the images less rounded. @homepageURL https://github.com/FrobtheBuilder/twitter-stylesheet @updateURL https://raw.githubusercontent.com/FrobtheBuilder/twitter-stylesheet/master/twitter-stylesheet.user.css @version 1.0.0 @license MIT ==/UserStyle== */ @-moz-document domain("twitter.com") { /*** SIDEBAR ***/ /* shrink it [role='banner'] { flex-grow: 0; }*/ [role='banner'] > div:first-child { width: 5.428571429em; } [role='banner'] > div:first-child > div:first-child > div { width: auto; } nav[role='navigation'] > * { width: auto; } /* hide labels */ nav[role='navigation'] > * > div:first-child > div:last-child { display: none; } /* shrink the tweet button */ a[href='/compose/tweet'][role='button'] { width: 45px; min-width: 0; height: 45px; min-height: 0; padding: 0; } a[href='/compose/tweet'][role='button'] span { font-size: 90%; } [role='main'] > div:first-child { width: 1200px; } /*** MAIN ***/ /* make it take full space [role='main'] > div:first-child > div:nth-child(2) > div:first-child { width: 100%; max-width: 100%; margin: 0; }*/ div[data-testid='tweet'] > div:nth-child(2) > div > div > div > div, article[data-testid='tweetDetail'] > div:nth-last-child(4) > div > div { border-radius: 5px !important; } /* make the main area bigger and shrink the right sidebar */ [data-testid='primaryColumn'] { max-width: 850px; flex-shrink: 1; } /* [data-testid='sidebarColumn'] { width: 300px; max-width: 100%; flex-grow: 1; }*/ [data-testid='sidebarColumn'] > div:first-child > div:last-child { width: 300px; } /* shrink searchbar */ [data-testid='sidebarColumn'] > div:first-child > div:last-child > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child { width: 300px; } /* remove margin from title */ [data-testid='primaryColumn'] > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child { max-width: 100%; margin: 0; } /*** HOME ***/ /* make tweets bigger */ [data-testid='primaryColumn'] > div:first-child > div:first-child > div:last-child { width: 100%; max-width: 100%; margin: auto; } /*** MESSAGES ***/ /* shrink the messages list */ [aria-labelledby='master-header'] { max-width: 100%; margin: 0; } [aria-labelledby='detail-header'] { width: 80%; max-width: 100%; margin: 0; } /* make the message view bigger */ [aria-labelledby='detail-header'] > div:nth-child(2) > div:first-child > div:first-child { max-width: 100%; } [aria-labelledby='detail-header'] > div:nth-child(2) > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child > div:nth-child(2) { max-width: 60%; } /* remove margin from conversation title */ [aria-labelledby='detail-header'] > div:first-child > div:first-child > div:first-child > div:first-child > div:first-child { max-width: 100%; margin: 0; } /*** PROFILE ***/ /* make the profile tweets bigger */ [data-testid='primaryColumn'] > div:first-child > div:first-child > div:last-child > div:first-child > div:last-child { max-width: 100%; } }