Advertisement
althindor

Pro for THE RlZZA

Mar 1st, 2023 (edited)
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.17 KB | None | 0 0
  1. /* Profile by AlthIndor */
  2.  
  3. :root {
  4.   --accent: #E85C12;
  5.   --button: #333;
  6.   --radius: 2px;
  7.   --shadow: 0 1px 5px #0003;
  8. }
  9.  
  10. html, body {
  11.   background: #000;
  12.   overflow: hidden;
  13. }
  14.  
  15. body :is(a, b, strong) {
  16.   font-weight: 500 !important;
  17.   text-decoration: none !important;
  18. }
  19.  
  20. body a, #badges li {transition: all .1s cubic-bezier(.4,0,1,1);}
  21. body a:hover, #badges li:hover {transition: all .1s cubic-bezier(0,0,.2,1);}
  22. #gaia_header a, #badges li {opacity: .9;}
  23. #gaia_header a:hover, #badges li:hover {opacity: 1;}
  24.  
  25. /* Fonts */
  26.  
  27. @font-face {
  28.   font-family: 'Font Awesome';
  29.   font-style: normal;
  30.   font-weight: 900;
  31.   src: url('https://ka-f.fontawesome.com/releases/v6.3.0/webfonts/free-fa-solid-900.woff2') format('woff2');
  32. }
  33.  
  34. @font-face {
  35.   font-family: 'Roboto';
  36.   font-style: normal;
  37.   font-weight: 400;
  38.   src: url(https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
  39. }
  40.  
  41. @font-face {
  42.   font-family: 'Roboto';
  43.   font-style: normal;
  44.   font-weight: 500;
  45.   src: url(https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
  46. }
  47.  
  48. /* Header */
  49.  
  50. #viewer #gaia_header {
  51.   background: var(--button) !important;
  52.   width: calc(100% - 24px) !important;
  53.   height: 40px !important;
  54.   position: absolute !important;
  55.   margin: 12px !important;
  56.   border-radius: var(--radius);
  57.   box-shadow: var(--shadow);
  58. }
  59. #gaia_header li.spacer {display: none !important;}
  60. #gaia_header a {color: #FFF !important;}
  61.  
  62. #gaia_header ul {
  63.   background: none !important;
  64.   width: unset !important;
  65.   font: 500 0/39px 'Roboto', sans-serif !important;
  66.   padding: 0 12px !important;
  67. }
  68. #header_right {float: right !important;}
  69.  
  70. #gaia_header img {
  71.   background: url('https://i.imgur.com/5FTB40o.png') no-repeat 0 3px;
  72.   width: 0 !important;
  73.   padding: 0 37px 0 0;
  74.   margin-right: -1px;
  75. }
  76.  
  77. #gaia_header li::before, #gaia_header a {font-size: 14px !important;}
  78. #header_left li:nth-of-type(n+3)::before, #header_right li:nth-of-type(n+2)::before {content: '•';}
  79.  
  80. #gaia_header li::before {
  81.   color: var(--accent);
  82.   margin: 0 6px;
  83.   position: relative;
  84.   top: 1px;
  85. }
  86.  
  87. /* Page Setup */
  88.  
  89. #columns, #columns .column {
  90.   float: none;
  91.   font-size: 0;
  92.   margin: 0;
  93. }
  94. #column_3 {display: none;}
  95.  
  96. #columns, #column_1, .media_panel, .media_panel iframe {
  97.   width: 100%;
  98.   height: 100% !important;
  99.   top: 0;
  100.   left: 0;
  101. }
  102. #column_1, .media_panel, .media_panel iframe {position: absolute;}
  103.  
  104. #columns {
  105.   display: grid;
  106.   grid-template: 100% / 100%;
  107. }
  108.  
  109. #column_2 {
  110.   align-self: center;
  111.   width: max-content;
  112.   position: relative;
  113.   left: 64px;
  114. }
  115.  
  116. /* Scrollbars */
  117.  
  118. #columns ::-Webkit-scrollbar {
  119.   background: #FFF3;
  120.   width: 8px;
  121. }
  122. #columns ::-Webkit-scrollbar-thumb {background: #FFF6;}
  123.  
  124. .panel, dl {
  125.   scrollbar-color: #FFF6 #FFF3;
  126.   scrollbar-width: thin;
  127. }
  128.  
  129. /* Panels */
  130.  
  131. .panel {
  132.   background: none;
  133.   color: #FFF;
  134.   font: 400 11px/1.6 'Roboto', sans-serif;
  135.   padding: 0;
  136.   margin: 0;
  137.   overflow: hidden;
  138. }
  139. .panel a {color: var(--accent);}
  140. .panel a:hover {color: inherit;}
  141.  
  142. .panel h2 {display: none;}
  143. .postcontent img {max-width: 100% !important;}
  144.  
  145. #column_2 .panel:not(#id_badges), #friendGroup {
  146.   background: #171717E6;
  147.   border: 16px solid transparent;
  148.   border-radius: var(--radius);
  149. }
  150. #column_2 .panel:not(#id_badges) {border-top-width: 57px;}
  151. #id_about, #id_comments, #id_signature {max-height: 400px;}
  152. #id_comments, #id_signature {width: 500px;}
  153. #id_wishlist {max-height: 280px;}
  154.  
  155. #id_about {
  156.   max-width: 500px;
  157.   border-top-width: 54px !important;
  158. }
  159.  
  160. #id_wishlist:has(.item:nth-of-type(61)), #id_comments dl {
  161.   padding-right: 16px;
  162.   overflow-y: scroll;
  163. }
  164.  
  165. @supports not selector(#id_wishlist:has(div)) {
  166.   #id_wishlist, #id_comments dl {
  167.     padding-right: 16px;
  168.     overflow-y: scroll;
  169.   }
  170. }
  171.  
  172. /* Panel Headers and Close Button */
  173.  
  174. #id_badges, #id_badges ul {position: absolute;}
  175. #badge_display {display: none;}
  176.  
  177. #id_badges {
  178.   width: calc(100% - 32px);
  179.   height: 28px;
  180.   font: 500 14px/20px 'Roboto', sans-serif;
  181.   top: 12px;
  182.   left: 16px;
  183.   border-bottom: 1px solid #FFF6;
  184.   overflow: visible;
  185. }
  186.  
  187. #id_badges ul, #id_badges li:first-of-type {
  188.   width: 20px;
  189.   height: 20px;
  190. }
  191.  
  192. #id_badges ul {
  193.   text-align: center;
  194.   top: 0;
  195.   right: -5px;
  196. }
  197. #id_badges li {margin: 0;}
  198.  
  199. #id_badges li:first-of-type::before {
  200.   content: '';
  201.   font: 16px/20px 'Font Awesome';
  202. }
  203.  
  204. /* Button Stack */
  205.  
  206. #column_1::after, #id_badges li:nth-of-type(n+2) {
  207.   width: 40px;
  208.   position: fixed;
  209.   left: 12px;
  210. }
  211. #column_1::after, #id_badges li:nth-of-type(2) {top: calc(50% - 100px);}
  212.  
  213. #column_1::after {
  214.   content: '';
  215.   background: var(--accent);
  216.   height: 200px;
  217.   border-radius: var(--radius);
  218.   box-shadow: var(--shadow);
  219. }
  220.  
  221. #id_badges li:nth-of-type(n+2) {
  222.   height: 40px;
  223.   font: 20px/40px 'Font Awesome';
  224.   overflow: hidden;
  225. }
  226. #id_badges li:nth-of-type(2)::before {content: '';}
  227. #id_badges li:nth-of-type(3) {top: calc(50% - 60px);}
  228. #id_badges li:nth-of-type(3)::before {content: '';}
  229. #id_badges li:nth-of-type(4) {top: calc(50% - 20px);}
  230. #id_badges li:nth-of-type(4)::before {content: '';}
  231. #id_badges li:nth-of-type(5) {top: calc(50% + 20px);}
  232. #id_badges li:nth-of-type(5)::before {content: '';}
  233. #id_badges li:nth-of-type(6) {top: calc(50% + 60px);}
  234. #id_badges li:nth-of-type(6)::before {content: '';}
  235. #id_badges li:nth-of-type(n+7) {display: none;}
  236.  
  237. #id_badges img {
  238.   width: 0;
  239.   height: 100%;
  240.   padding-left: 100%;
  241.   position: absolute;
  242.   left: 0;
  243. }
  244. #id_badges li:nth-of-type(3) img {padding-left: 43px;}
  245. #id_badges li:nth-of-type(4) img {padding-left: 46px;}
  246. #id_badges li:nth-of-type(5) img {padding-left: 49px;}
  247. #id_badges li:nth-of-type(6) img {padding-left: 52px;}
  248.  
  249. /* Badge Functionality */
  250.  
  251. #id_about, #id_comments, #id_friends, #id_wishlist, #id_signature, #tooltip-badge_c div {display: none;}
  252. #id_comments, #id_friends, #id_wishlist, #friendGroup, #friendGroup ul {gap: 8px;}
  253.  
  254. #tooltip-badge_c[style*='left: 52px']:first-of-type ~ #columns #id_badges::before {content: 'About Me';}
  255. #tooltip-badge_c[style*='left: 55px']:first-of-type ~ #columns #id_badges::before {content: 'Comments';}
  256. #tooltip-badge_c[style*='left: 58px']:first-of-type ~ #columns #id_badges::before {content: 'My Friends';}
  257. #tooltip-badge_c[style*='left: 61px']:first-of-type ~ #columns #id_badges::before {content: 'Wish List';}
  258. #tooltip-badge_c[style*='left: 64px']:first-of-type ~ #columns #id_badges::before {content: 'Signature';}
  259.  
  260. #tooltip-badge_c[style*='left: 52px']:first-of-type ~ #columns #id_about {display: block;}
  261. #tooltip-badge_c[style*='left: 55px']:first-of-type ~ #columns #id_comments {display: grid;}
  262. #tooltip-badge_c[style*='left: 58px']:first-of-type ~ #columns #id_friends {display: grid;}
  263. #tooltip-badge_c[style*='left: 61px']:first-of-type ~ #columns #id_wishlist {display: grid;}
  264. #tooltip-badge_c[style*='left: 64px']:first-of-type ~ #columns #id_signature {display: block;}
  265.  
  266. #tooltip-badge_c[style*='left: 52px']:first-of-type ~ #columns #id_badges li:nth-of-type(2) {opacity: 1;}
  267. #tooltip-badge_c[style*='left: 55px']:first-of-type ~ #columns #id_badges li:nth-of-type(3) {opacity: 1;}
  268. #tooltip-badge_c[style*='left: 58px']:first-of-type ~ #columns #id_badges li:nth-of-type(4) {opacity: 1;}
  269. #tooltip-badge_c[style*='left: 61px']:first-of-type ~ #columns #id_badges li:nth-of-type(5) {opacity: 1;}
  270. #tooltip-badge_c[style*='left: 64px']:first-of-type ~ #columns #id_badges li:nth-of-type(6) {opacity: 1;}
  271.  
  272. /* Friends and Comments */
  273.  
  274. #id_comments h2 + div a, #id_comments h2 ~ p a, #id_friends a, #id_wishlist a, #friendGroup a[href$='/'] {
  275.   background: var(--button);
  276.   color: #FFF;
  277. }
  278. #id_comments h2 + div a:hover, #id_comments h2 ~ p a:hover, #id_friends a:hover, #id_wishlist a:hover, #friendGroup a[href$='/']:hover {background: var(--accent);}
  279.  
  280. #id_comments h2 + div a, #id_comments h2 ~ p a, #id_friends h2 ~ p a, #id_wishlist a, #friendGroup h2 + a {
  281.   display: flex;
  282.   justify-content: center;
  283.   align-items: center;
  284. }
  285. #id_comments h2 + div a, #id_comments h2 ~ p a, #id_friends h2 ~ p a, #friendGroup h2 + a {font: 0px 'Font Awesome';}
  286. #id_comments h2 + div a::before, #id_comments h2 ~ p a::before {font-size: 20px;}
  287. #id_friends h2 ~ p a::before, #friendGroup h2 ~ a::before {font-size: 24px;}
  288. #id_comments h2 + div a::before {content: '';}
  289. #id_comments h2 ~ p a::before {content: '';}
  290. #id_friends h2 ~ p a::before {content: '';}
  291. #friendGroup h2 ~ a::before {content: '';}
  292.  
  293. .dropBox {
  294.   background: #FFF;
  295.   width: 48px;
  296.   height: 48px;
  297.   border: 1px solid transparent;
  298.   overflow: hidden;
  299. }
  300.  
  301. /* Comments */
  302.  
  303. #id_comments {
  304.   grid-template: 40px 1fr / 1fr 40px 40px;
  305.   row-gap: 12px;
  306. }
  307. #id_comments :is(#alerts_banner, .deletecomment, .clear) {display: none;}
  308. #id_comments :is(#alert_container, h2 + div, h2 ~ p) {display: contents;}
  309. #id_comments :is(.dropBox, dd:last-of-type) {margin: 4px 0 0 0;}
  310. #id_comments h2 + div a {grid-column: 2;}
  311. #id_comments h2 ~ p a {grid-column: 3;}
  312.  
  313. #id_comments dl {
  314.   grid-column: 1/-1;
  315.   box-sizing: border-box;
  316. }
  317.  
  318. #id_comments dt {
  319.   padding: 0;
  320.   border-bottom: 1px solid #FFF3;
  321. }
  322.  
  323. #id_comments dd {
  324.   display: grid;
  325.   grid-template: max-content / 58px calc(100% - 58px);
  326.   margin: 4px 0 16px 0;
  327. }
  328.  
  329. #id_comments .dropBox img {
  330.   width: 120px;
  331.   height: 150px;
  332.   margin: -30px 0 0 -47px;
  333. }
  334.  
  335. /* Friends */
  336.  
  337. #id_friends {grid-template-columns: repeat(6, 60px);}
  338. #id_friends :is(h2 ~ div, h2 ~ p + p) {display: none;}
  339. #id_friends :is(ul, p, span) {display: contents;}
  340. #id_friends h2 ~ p a {grid-area: 1/6/3/7;}
  341.  
  342. :is(#id_friends, #friendGroup) :is(li, li a) {
  343.   width: 100%;
  344.   height: 75px;
  345. }
  346. :is(#id_friends, #friendGroup) li {position: relative;}
  347.  
  348. :is(#id_friends, #friendGroup) li a {
  349.   display: block;
  350.   line-height: 2;
  351.   text-overflow: ellipsis;
  352.   white-space: pre;
  353.   padding: 0 5px;
  354.   box-sizing: border-box;
  355.   overflow: hidden;
  356. }
  357.  
  358. :is(#id_friends, #friendGroup) .dropBox {
  359.   position: absolute;
  360.   bottom: 5px;
  361.   left: 5px;
  362.   pointer-events: none;
  363. }
  364.  
  365. /* Big Friends */
  366.  
  367. #friendGroup, #friendGroup ul {display: grid;}
  368. #friendGroup, #friendGroup li {padding: 0;}
  369.  
  370. #friendGroup {
  371.   grid-template-columns: 60px 1fr 1fr 60px;
  372.   width: max-content;
  373.   margin: auto;
  374.   top: 50%;
  375.   transform: translateY(-50%);
  376. }
  377. #friendGroup :is(.clear, .user_info) {display: none;}
  378. #friendGroup :is(p, ul) {margin: 0;}
  379. #friendGroup h2 ~ p {grid-area: 1/1/2/3;}
  380.  
  381. #friendGroup .pagination {
  382.   grid-area: 1/3/2/5;
  383.   justify-self: end;
  384. }
  385.  
  386. #friendGroup ul {
  387.   grid-column: 2/-1;
  388.   grid-template-columns: repeat(12, 60px);
  389. }
  390.  
  391. /* Wish List */
  392.  
  393. #id_wishlist {
  394.   grid-template-columns: repeat(10, 40px);
  395.   grid-auto-rows: 40px;
  396.   scroll-snap-type: y mandatory;
  397. }
  398. #id_wishlist :is(.clear, .premium_sparkle) {display: none;}
  399. #id_wishlist :is(.item, a) {height: 100%;}
  400.  
  401. #id_wishlist .item {
  402.   position: relative;
  403.   scroll-snap-align: start;
  404. }
  405.  
  406. #id_wishlist .owner_checkmark {
  407.   background: #FFFFFF;
  408.   margin: 0;
  409.   padding: 2px;
  410.   bottom: 0;
  411.   right: 0;
  412.   border: 1px solid #000;
  413.   pointer-events: none;
  414. }
  415.  
  416. /* Signature */
  417.  
  418. #id_signature {line-height: normal;}
  419. #id_signature h2 {margin-bottom: 16px;}
  420.  
  421. #id_signature .code {
  422.   color: #000;
  423.   font-size: 10px;
  424. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement