Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* DELETE THIS TO LOAD ICONS */
- blockquote { /* The main tweet text */
- font-size: 13.2px;
- line-height: 16px;
- margin: 10px 5px;
- position: relative;
- top: -18px;
- margin-top: 0px;
- margin-bottom: 0px;
- }
- blockquote>blockquote>p>strong>a { /* retweet username/@/timestamp */
- font-size: 14px;
- top: -2px;
- position: relative;
- }
- blockquote>p:first-child { /* First child spacing */
- margin-top: 16px;
- }
- blockquote>p:not(:first-child) { /* line spacing for every other p element */
- margin-top: 8px;
- }
- .md>p>a:link{ /* Tweet time (M/H/Date) */
- left: 43px;
- top: -9px;
- position: relative;
- font-size: 14px;
- text-decoration: none;
- font-family: IBMPlexSans, sans-serif;
- }
- html{ /* Hides the scrollbar on IE, Never tested */
- overflow: scroll;
- overflow-x: hidden; /* Stops any horizontal scrolling */
- }
- ::-webkit-scrollbar { /* Hides the scollbar. Webkit (Chrome, Safari) only */
- display: none;
- } /* Firefox no longer supports hiding the scroll bar :( */
- body { /* Aligns the widget nicely */
- font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
- margin: 0px;
- }
- p>strong>a{ /* View more tweets button */
- display: block;
- text-align: center;
- padding-top: 5px;
- padding-bottom: 5px;
- position: relative;
- bottom: 7px;
- border: 1px solid;
- text-decoration: none;
- color: #1DA1F2 !important;
- }
- strong>a{ /* Removes the underline */
- text-decoration: none;
- }
- em { /* make @examples look more like twitter */
- color: #657786;
- font-style: normal;
- font-weight: normal;
- }
- p>em>a{ /* @ symbol */
- color: #0079D3 !important;
- font-style: normal;
- text-decoration: none;
- }
- p>del { /* UTC time and subreddit link positioning */
- position: relative;
- top: -9px;
- font-size: 10px;
- font-style: italic;
- text-decoration: none;
- font-family: "Courier New", Courier, monospace;
- text-align: center;
- display: block;
- height: 3px;
- }
- del:first-child { /* Shift UTC time up a bit so it doesn't overlap */
- top: -20px;
- }
- p{ /* fixes p element margins */
- margin-bottom:0;
- }
- h1 {
- text-indent: 5px;
- color: #fff;
- padding-top: 14px;
- padding-bottom: 14px;
- padding-left: 5px;
- letter-spacing: .5px;
- background-color: rgb(0, 121, 211); /* You will need to adjust this to match your subreddit theme color */
- margin: 0;
- font-size: 16px;
- font-family: IBMPlexSans,sans-serif;
- background-size: 45px;
- border-top-right-radius: 2px;
- border-top-left-radius: 2px;
- /*background-image: url(%%logo%%);*/
- background-repeat: no-repeat;
- background-position: right;
- position: sticky;
- top: 0;
- z-index: 1;
- }
- @media (prefers-color-scheme: dark) { /* dark mode colours */
- html{
- background-color:#19191B;
- color: #d7dadc;
- }
- h1 {
- color: #d7dadc;
- }
- blockquote{
- background-color:#19191B;
- color: #d7dadc;
- }
- a:link{
- color:#d7dadc;
- }
- a:visited{
- color:#757575;
- }
- hr {
- border-color: #343536;
- }
- h2::before, h3::before, h4::before, h5::before, h6::before{
- background-color: black;
- }
- }
- @media (prefers-color-scheme: light) { /* light mode colours */
- html{
- background-color: white;
- }
- blockquote{
- color: black;
- }
- strong>a:visited{
- color: black;
- }
- a:link{
- color:black;
- }
- a:visited{
- color:#4e4e4e;
- }
- hr {
- border-color: #edeff1;
- }
- h2::before, h3::before, h4::before, h5::before, h6::before{
- background-color: white;
- }
- }
- hr { /* Line between tweets */
- border-style: solid;
- border-width: 0.6px;
- margin: 0;
- }
- h2, h3, h4, h5, h6{ /* Positions the username and icon correctly */
- top: -9px;
- height: 20px;
- position: relative;
- margin: 0px;
- font-size: 14px;
- font-family: IBMPlexSans,sans-serif;
- font-weight: bold;
- }
- h2,h3,h4,h5,h6 > strong > a > em { /* Prevents usernames from wrapping */
- word-break: break-all;
- white-space: nowrap;
- }
- h2>strong, h3>strong, h4>strong, h5>strong, h6>strong{ /* Username */
- left: 10px;
- position: relative;
- }
- h2::before, h3::before, h4::before, h5::before, h6::before{ /* Icon position */
- display: inline-block;
- width: 33px;
- height: 33px;
- position: relative;
- top: 21px;
- left: 6px;
- background-size: 33px;
- content: "";
- background-color: #FFFFFF;
- border-radius: 100%;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement