Advertisement
chaos_a

tweet_widget css

Feb 21st, 2020 (edited)
739
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.04 KB | None | 0 0
  1. blockquote {
  2.   font-size: 13.8px;
  3.   line-height: 16px;
  4.   margin: 10px 5px;
  5.   position: relative;
  6.   top: -18px;
  7.   margin-top: 0px;
  8.   margin-bottom: 0px;
  9. }
  10. blockquote>blockquote{
  11.   top: 1px;
  12.   left: -12px;
  13.   border-bottom: 1px solid;
  14.   border-bottom-color: currentcolor;
  15.   border-top: 1px solid;
  16.   border-top-color: currentcolor;
  17.   width: 104%;
  18. }
  19. blockquote>blockquote>p {
  20.   left: 9px;
  21.   position: relative;
  22.   width: ;
  23.   top: -8px;
  24.   padding-right: 18px;
  25. }
  26. blockquote>blockquote>p>strong>a {
  27.     font-size: 14px;
  28.     top: -2px;
  29.     position: relative;
  30. }
  31. blockquote>p:first-child {
  32.     margin-top: 16px;
  33. }
  34. blockquote>p:not(:first-child) {
  35.     margin-top: 8px;
  36. }
  37.  
  38. .md>p>a:link{
  39.   left: 43px;
  40.   top: -9px;
  41.   position: relative;
  42.   font-size: 14px;
  43.   text-decoration: none;
  44.   font-family: IBMPlexSans, sans-serif;
  45. }
  46. html{
  47.   overflow: scroll;
  48.   overflow-x: hidden;
  49. }
  50. ::-webkit-scrollbar {
  51.     display: none;
  52. }
  53. body {
  54.   font-family: "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
  55.   margin: 0px;
  56. }
  57. div>p>strong>a{
  58.   display: block;
  59.   text-align: center;
  60.   padding-top: 5px;
  61.   padding-bottom: 5px;
  62.   position: relative;
  63.   bottom: 7px;
  64.   border: 1px solid;
  65.   text-decoration: none;
  66.   color: #1DA1F2 !important;
  67. }
  68. strong>a{
  69.   text-decoration: none;
  70. }
  71. em {
  72.   font-style: normal;
  73.   font-weight: normal;
  74. }
  75. p>em>a{
  76.   font-style: normal;
  77.   text-decoration: none;
  78. }
  79. p>del {
  80.     position: relative;
  81.     top: -9px;
  82.     font-size: 10px;
  83.     text-decoration: none;
  84.     text-align: center;
  85.     display: block;
  86.     height: 3px;
  87. }
  88. del:first-child {
  89.     top: -20px;
  90. }
  91. p{
  92.   margin-bottom:0;
  93. }
  94. h1 {
  95.   text-indent: 5px;
  96.   color: #fff;
  97.   padding-top: 14px;
  98.   padding-bottom: 14px;
  99.   padding-left: 5px;
  100.   letter-spacing: .5px;
  101.   background-color: rgb(0, 121, 211); /* You will need to adjust this to match your subreddit theme color */
  102.   margin: 0;
  103.   font-size: 16px;
  104.   font-family: IBMPlexSans,sans-serif;
  105.   background-size: 45px;
  106.   border-top-right-radius: 2px;
  107.   border-top-left-radius: 2px;
  108.   /*background-image: url(%%logo%%);*/
  109.   background-repeat: no-repeat;
  110.   background-position: right;
  111.   position: sticky;
  112.   top: 0;
  113.   z-index: 1;
  114. }
  115. @media (prefers-color-scheme: dark) {
  116.   html{
  117.     background-color:#19191B;
  118.     color: #d7dadc;
  119.   }
  120.   h1 {
  121.     color: #d7dadc;
  122.   }
  123.   blockquote{
  124.     background-color:#19191B;
  125.     color: #d7dadc;
  126.   }
  127.   blockquote>blockquote{ /* retweets */
  128.     background-color:#15202d;
  129.     border-color: #343536;
  130.   }
  131.   em{
  132.       color: #646b72;
  133.   }
  134.   p>em>a{
  135.       color: #1da1f2 !important;
  136.   }
  137.   a:link{
  138.     color:#d7dadc;
  139.   }
  140.   a:visited{
  141.     color:#757575;
  142.   }
  143.   hr {
  144.     border-color: #343536;
  145.   }
  146.   h2::before, h3::before, h4::before, h5::before, h6::before{
  147.     background-color: black;
  148.   }
  149. }
  150. @media (prefers-color-scheme: light) {
  151.   html{
  152.     background-color: white;
  153.   }
  154.    blockquote{
  155.       color: black;
  156.   }
  157.   blockquote>blockquote{ /* retweets */
  158.       background-color: #F5F8FA;
  159.       border-color: #edeff1;
  160.   }
  161.   em{
  162.       color: #657786;
  163.   }
  164.   p>em>a{
  165.       color: #0079D3 !important;
  166.   }
  167.   strong>a:visited{
  168.       color: black;
  169.   }
  170.   a:link{
  171.       color:black;
  172.   }
  173.   a:visited{
  174.       color:#4e4e4e;
  175.   }
  176.   hr {
  177.       border-color: #edeff1;
  178.   }
  179.   h2::before, h3::before, h4::before, h5::before, h6::before{
  180.       background-color: white;
  181.   }
  182. }
  183. hr {
  184.   border-style: solid;
  185.   border-width: 0.6px;
  186.   margin: 0;
  187. }
  188. h2, h3, h4, h5, h6{
  189.   top: -9px;
  190.   height: 20px;
  191.   position: relative;
  192.   margin: 0px;
  193.   font-size: 14px;
  194.   font-family: IBMPlexSans,sans-serif;
  195.   font-weight: bold;
  196. }
  197. h2,h3,h4,h5,h6 > strong > a > em {
  198.     word-break: break-all;
  199.     white-space: nowrap;
  200. }
  201. h2>strong, h3>strong, h4>strong, h5>strong, h6>strong{
  202.   left: 10px;
  203.   position: relative;
  204. }
  205. h2::before, h3::before, h4::before, h5::before, h6::before{
  206.   display: inline-block;
  207.   width: 33px;
  208.   height: 33px;
  209.   position: relative;
  210.   top: 21px;
  211.   left: 6px;
  212.   background-size: 33px;
  213.   content: "";
  214.   background-color: #FFFFFF;
  215.   border-radius: 100%;
  216. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement