Advertisement
Guest User

Beta UserCSS for /vt/booru

a guest
Feb 2nd, 2022
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.40 KB | None | 0 0
  1. /*UserCSS thanks to sHaHaHark
  2. still a work in progress, check youtube.booru.org forum for updates. Report broken things in the forum.*/
  3. /*HOW TO USE
  4. install a UserCSS browser extension. I recommend Stylus which works for Chrome and Mozilla Firefox
  5. Click the Stylus icon in your extensions bar and click "Manage"
  6. Click "Write new style" but leave the checkbox unticked.
  7. Copy Paste this pastebin into Stylus.
  8. At the bottom of the page, make sure it applies to "URLs on the domain" of "youtube.booru.org" only
  9. Click Save
  10. You will have to reload the extension whenever you go to the booru to see the style.*/
  11. @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200;0,400;1,400&display=swap');
  12. * {margin:0; padding:0;box-sizing:border-box; font-family:'Source Code Pro', monospace;}
  13. :root {
  14.     --bg:#fff9cd;
  15.     --txt:#324f85;
  16.     --ar:#d72b57;
  17.     --bc:#f27247;
  18.     --mt:#d58f49;
  19.     --ch:#05a284;
  20.     --gp:#4a95ff;
  21.     --cy:#994bf0;
  22.     --hh:#f249c8;
  23. }
  24. body {
  25.     margin:0 0 0 165px;
  26.     padding:0;
  27.     font-size:16px;
  28.     background:var(--bg);
  29.     color:var(--txt);
  30.     font-family:'Source Code Pro', monospace!important;
  31. }
  32. h5, h6 {font-size:.9rem;}
  33. a, a:visited, a:link {
  34.     color:var(--txt);
  35. }
  36. a[href*="meta:"], a[href*="meta%3A"], a[href*="translated"] {color:var(--mt);}
  37. a[href*="hash:"], a[href*="hash%3A"] {color: var(--hh);}
  38. a[href*="group:"], a[href*="group%3A"] {color: var(--gp);}
  39. a[href*="branch:"], a[href*="branch%3A"] {color: var(--bc);}
  40. a[href*="art:"], a[href*="_(artist)"], a[href*="art%3A"], a[href*="_%28artist%29"], a[href*="drawfriend"] {color:var(--ar);}
  41. a[href*="char:"], a[href*="char%3A"], a[href*="_(character)"], a[href*="_%28character%29"], a[href*="_(vtuber)"], a[href*="_%28vtuber%29"] {color:var(--ch);}
  42. a[href*="copy:"], a[href*="copy%3A"], a[href*="_(series)"], a[href*="_%28series%29"] {color:var(--cy);}
  43. a[href*="_request"], a[href*="tagme"] {padding: 0.1em 0.4em; border-radius: 3px;font-weight: bold;color:#fff;}
  44. a[href*="artist_request"] {background-color:var(--ar);}
  45. a[href*="character_request"] {background-color:var(--ch);}
  46. a[href*="copyright_request"] {background-color:var(--cy);}
  47. a[href*="source_request"], a[href*="translation_request"], a[href*="tagme"] {background-color:var(--mt);}
  48. a[href*="page=ban_user"] {color:red;}
  49. #header h2 {
  50.     writing-mode: vertical-rl;
  51.     text-orientation: mixed;
  52. }
  53. #header h2 a {font-size:0; font-weight:200; font-style:normal; white-space:nowrap;}
  54. #header h2 a::before {content:'/vt/booru @ youtube.booru.org'; font-size:2.5rem;}
  55.  
  56. #header {position:fixed; top:0; left:0; display:flex; background:#ffe69f; padding:.5em; height:100vh; width:165px;}
  57. #header a {text-decoration:none;}
  58. li {list-style:none;}
  59. ul.flat-list li {margin:0; display:block;}
  60.  
  61. #long-notice {padding:.5em;}
  62. #long-notice::before {content:'friends: holo.booru.org'; font-size:16px;}
  63.  
  64. .thumb a:first-of-type {display:block; width:100%; height:100%; padding:7px 11px;}
  65. [onclick*="favorites&s=delete"] {background:#e40f68; padding:.3em; color:#fff!important; transition:0.15s ease-in-out;}
  66. [onclick*="favorites&s=delete"]:hover {background:#ff74b9;}
  67. .thumb a:hover img, .col1 img:hover {transform:scale(1.1);}
  68. span.thumb {background:var(--txt); width:auto; max-width:200px; height:200px; margin:8px; overflow:hidden; display: flex; flex-direction:column; border-radius:7px; float: left;text-align: center; transition:0.15s ease-in-out;}
  69. span.thumb br {display:none;}
  70. #post-list span.thumb {background:var(--txt); display:inline-flex; float:none; align-items: center; justify-content: center; vertical-align:middle;}
  71. .col1 img, .thumb img {transition:0.15s ease-in-out; border-radius:5px; overflow:hidden;}
  72. span.thumb:hover {transform: translateY(-2px); box-shadow: 2px 3px 9px -7px #ba8c0e;}
  73. img[title ~= "animated"] {box-shadow:0 0 0 8em #4288eb; outline:5px solid #4288eb;}
  74. img[title ~= "meta:drawthread"] {box-shadow:0 0 0 8em #f0c273;}
  75.  
  76. #tag_list li {font-size:.85em;}
  77.  
  78. #content {
  79.     padding:.5em;
  80. }
  81. #post-list {
  82.     display:flex;
  83. }
  84. div.sidebar {
  85.     width: 200px;
  86.     height: min-content;
  87. }
  88. #post-list .content > div {display: grid;grid-template:"pages" auto"foot" auto"thumb" auto"ignore" auto"ads2" auto"ads" auto / 100%;text-align:center;}
  89. .divTable {grid-area: ads2;width: auto!important; margin-top:50em; z-index:-1;}
  90. #post-view .divTable {margin:0;}
  91. #post-list .content div:nth-child(3) {grid-area: thumb;}
  92. #post-list .content div:nth-child(6) {grid-area: ignore; margin: 1em 0 8em !important;}
  93. #paginator {padding:0; grid-area: pages;display: flex;flex-wrap: wrap;justify-content: center; clear:both; margin:1em .5em;}
  94. #paginator > * {background:var(--txt); color:#fff; padding:3px 5px;}
  95. #paginator b {background:#f0c273; color:var(--txt);}
  96. #paginator > a:hover {background-color:#4288eb;}
  97. #footer {grid-area: foot;text-align: center; margin: 0 0 1em; font-size:20px;}
  98. [href*="page=post&s=add"] {font-size:0;}
  99. [href*="page=post&s=add"]::after {content:'Upload'; font-size:18px;}
  100. center {grid-area:ads; margin-top:50em;}
  101. .divTable {grid-area: ads2; width: auto!important;}
  102. .divTable + div {display: none;}
  103. #right-col div > div:nth-child(3) {grid-area:notes;}
  104.  
  105. /*post pages*/
  106. #post-view {max-width:1000px;}
  107. #post-view .sidebar {width:250px; float:left; margin-right:1em;}
  108. #image {max-width:100%; margin-right:0!important; margin-bottom:0.5em;}
  109. #right-col {float:none;}
  110. #right-col > div {
  111.   float:none!important;
  112.   display:grid;
  113.   grid-template:"notes" auto
  114.   "ads2"auto/100%;
  115. }
  116. #right-col > div:nth-child(2) {display:none;}
  117. #right-col > div:nth-child(3) {grid-area:notes;}
  118. div#note-container {position:relative;}
  119. div#post-view div.note-box {position: absolute;border: 1px solid black;width: 150px;height: 150px;cursor: move;background: #FFE;overflow: auto;opacity:0.5;filter:alpha(opacity=50);-moz-opacity:0.5;}
  120. div#post-view div.note-corner {background: black;width: 7px;height: 7px;position: absolute;bottom: 0;right: 0;cursor: se-resize;}
  121. div#post-view div.note-body {background: #FFE;border: 1px solid black;display: none;width: 140px;height: 100px;position: absolute;padding: 5px;cursor: pointer;overflow: auto;}
  122. a[onclick*="addFav"] {font-size:0; color:red; font-weight:bold;}
  123. a[onclick*="addFav"]:after {content:'Favorite'; font-size:16px!important;}
  124. textarea {font-size:0.8rem;}
  125.  
  126. .highlightable {
  127.     font-size: .8em;
  128.     letter-spacing: .03em;
  129. }
  130. .highlightable tr td:nth-child(5), .highlightable tr th:nth-child(5) {display:none;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement