Advertisement
ValerioLyndon

Clarity for xasifzzz v3

Jul 30th, 2020 (edited)
2,290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.15 KB | None | 0 0
  1. @\import "https://valeriolyndon.github.io/MAL-Public-List-Designs/Clarity%20Theme/Theme%20-%20Compressed.css";
  2. @\import "https://valeriolyndon.github.io/MAL-Public-List-Designs/Clarity%20Theme/Mod%20-%20Dark%20Mode%20Compressed.css";
  3. @\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkbefore";
  4. @\import "https://valeriolyndon.github.io/MAL-Public-List-Designs/Clarity%20Theme/Mod%20-%20Hover%20Image%20Compressed.css";
  5.  
  6. body { --background: url(URLHERE); }
  7. body { --avatar:
  8. url(https://i.imgur.com/pkEExVA.png); }
  9. body { --banner:
  10. url(https://i.imgur.com/XqH2zhY.jpg); }
  11. /* Change banner text & COLOR */
  12. body { --name: "Unravel\a   the world!"; }
  13. /* banner text color */
  14. #cover-image-container::after {
  15.     color: #141414 ;
  16.     text-shadow: 2px 2px 8px #565656 ;
  17. }
  18. /* Banner Text Position */
  19.  
  20. #cover-image-container::after {
  21.     left: 30% ;
  22. }
  23. body { --character: none; }
  24. /* Reposition character image */
  25. #list-container #cover-image-container {
  26.     /* Position is  .
  27.      * Values such as left/right/top are accepted,
  28.      * as well as pixel "350px", and percent "60%" values
  29.      */
  30.     background-position: left center;
  31. }
  32.  
  33. /*-S-T-A-R-T--------------------*\
  34. | List Character Renders R0.3         |
  35. \*------------------------------*/
  36. footer:before, footer:after {
  37.     content: "";
  38.     position: fixed;
  39.     top: 0;
  40.     z-index: -1;
  41.    
  42.     width: calc(50% - 670px);
  43.     min-width: 200px;
  44.     height: 100%;
  45.     background: transparent no-repeat center bottom / contain scroll;
  46. }
  47. /* Left Render */
  48. footer:before {
  49.     right: calc(100% - (50% - 670px));
  50.    
  51.     background-image: url(https://i.imgur.com/rrwNbWf.png);
  52.     background-position: left bottom;
  53. }
  54. /* Right Render */
  55. footer:after {
  56.     left: calc(100% - (50% - 670px));
  57.    
  58.     background-image: url(none);
  59.     background-position: right bottom;
  60. }
  61.  
  62. /*-S-T-A-R-T--------------------*\
  63. | CatCol Header Text R0.0        |
  64. \*------------------------------*/
  65. .status-menu .status-button{transition:color .3s ease}.status-menu .status-button.on:nth-of-type(1),.status-menu .status-button:nth-of-type(1):hover{color:var(--accent)!important}.status-menu .status-button.on:nth-of-type(2),.status-menu .status-button:nth-of-type(2):hover{color:var(--watching)!important}.status-menu .status-button.on:nth-of-type(3),.status-menu .status-button:nth-of-type(3):hover{color:var(--completed)!important}.status-menu .status-button.on:nth-of-type(4),.status-menu .status-button:nth-of-type(4):hover{color:var(--onhold)!important}.status-menu .status-button.on:nth-of-type(5),.status-menu .status-button:nth-of-type(5):hover{color:var(--dropped)!important}.status-menu .status-button.on:nth-of-type(6),.status-menu .status-button:nth-of-type(6):hover{color:var(--plantowatch)!important}
  66. /*------------------------E-N-D-*/
  67.  
  68. /*-S-T-A-R-T--------------------*\
  69. | Review Tags R0.1               |
  70. \*------------------------------*/
  71.  
  72. /* Raise or lower this number to change how wide the box is. Make sure not to remove the "px" at the end. */
  73. .data.tags { width: 170px; }
  74. .data.tags div:not(:empty){padding:2px 8px;background:var(--btn-bg);border-radius:8.5px}.data.tags span{display:inline;font-size:11px!important;cursor:text}.data.tags a:not(.edit){display:inline;padding:0;background:0 0;pointer-events:none}
  75.  
  76. /*-S-T-A-R-T--------------------*\
  77. | Theme Colours                  |
  78. \*------------------------------*/
  79.  
  80. :root {
  81.   /* Button Colours */
  82.   --bg-dark: #1C1C1C;
  83.     --btn-head-bg-h: #323232;
  84.     --btn-text-h: #fff;
  85.    
  86.     /* Status Colours */
  87.     --accent: #FFFFFF;
  88.     --watching: #32CD32;
  89.     --completed: #9400D3;
  90.     --onhold: #E9E900;
  91.     --dropped: #D90000;
  92.     --plantowatch: #1E90FF;
  93.  
  94.     /* Single-Use Colours */
  95.     --edit-btn: #d9d9d9;
  96.     --checkmark: #F6F6F6;
  97. }
  98.  
  99. /*------------------------E-N-D-*/
  100.  
  101.  
  102. /* ===================================
  103. Combine Premier and Studio Sections */
  104.  
  105. .data.season {
  106.     width: 120px;
  107.     height: 32px;
  108.     margin-top: 8px;
  109.    
  110.     -webkit-align-self: flex-start;
  111.     -moz-align-self: flex-start;
  112.     align-self: flex-start;
  113. }
  114. .data.studio {
  115.     margin-top: 45px !important;
  116.     margin-left: -120px;
  117.    
  118.     -webkit-order: 20;
  119.     -moz-order: 20;
  120.     order: 20;
  121. }
  122.  
  123. /* ReColour scores */
  124. .score-10 { color: #FFD700 ; }
  125. .score-9 { color: #9400D3 ; }
  126. .score-8 { color: #0076FF ; }
  127. .score-7 { color: #00BF00 ; }
  128. .score-6 { color: #FFFFFF ; }
  129. .score-5 { color: #FFFFFF ; }
  130. .score-4 { color: #FF7C00 ; }
  131. .score-3 { color: #FF0000 ; }
  132. .score-2 { color: #FF0000 ; }
  133. .score-1 { color: #FF0000 ; }
  134. .score-na { color: #COLOUR ; }
  135. /*==============================*\
  136. |       Score  Descriptors       |
  137. \* --- - --- - ---- - --- - --- */
  138.  
  139. .score-na::before {
  140.     content: "Haven't decided";
  141. }
  142.  
  143. .score-1::before {
  144.     content: "Unredeemable";
  145. }
  146.  
  147. .score-2::before {
  148.     content: "Horrid";
  149. }
  150.  
  151. .score-3::before {
  152.     content: "Awful";
  153. }
  154.  
  155. .score-4::before {
  156.     content: "Bad";
  157. }
  158.  
  159. .score-5::before {
  160.     content: "Mediocre";
  161. }
  162.  
  163. .score-6::before {
  164.     content: "Fine";
  165. }
  166.  
  167. .score-7::before {
  168.     content: "Good";
  169. }
  170.  
  171. .score-8::before {
  172.     content: "Great";
  173. }
  174.  
  175. .score-9::before {
  176.     content: "Fantastic";
  177. }
  178.  
  179. .score-10::before {
  180.     content: "Incredible";
  181. }
  182.  
  183. /* Internals */
  184.  
  185. .score-label {
  186.     position: relative;
  187.     display: inline-block;
  188.     z-index: 0;
  189.     transition: color 0.2s ease;
  190. }
  191.  
  192. .score-label:hover {
  193.     color: #fff !important;
  194. }
  195.  
  196. .score-label::before {
  197.     position: absolute;
  198.     top: -4px;
  199.     left: -8px;
  200.     z-index: -1;
  201.     display: block;
  202.     padding: 4px 8px 4px calc(100% + 12px);
  203.     background: #111;
  204.     border-radius: 4px;
  205.     opacity: 0;
  206.     transition: opacity 0.2s ease;
  207.     white-space: pre;
  208.     text-align: left;
  209.     pointer-events: none;
  210. }
  211.  
  212. .score-label:hover::before {
  213.     opacity: 1;
  214. }
  215. /****************************/
  216. /* font resize on Hover */
  217. /****************************/
  218. .list-table-data:hover td {
  219.  
  220. font-size: 12px !Important;
  221. -moz-transition: .4s ease;
  222. -webkit-transition: .4.5s ease;
  223. -o-transition: .4s ease;
  224. }
  225. /*-S-T-A-R-T--------------------*\
  226. | Header Outline (CatCol) R0.0   |
  227. \*------------------------------*/
  228. [data-query*='status":7']{--header-border:var(--accent)}[data-query*='status":1']{--header-border:var(--watching)}[data-query*='status":2']{--header-border:var(--completed)}[data-query*='status":3']{--header-border:var(--onhold)}[data-query*='status":4']{--header-border:var(--dropped)}[data-query*='status":6']{--header-border:var(--plantowatch)}.status-menu-container:before{height:56px;border-width:4px 0;border-style:solid;border-color:var(--header-border)}.status-menu:after{left:-4px;top:-47px;border-width:4px;box-shadow:0 0 0 4px var(--header-border)}.fixed .status-menu:after{top:4px}
  229. /*------------------------E-N-D-*/
  230. /* =============================
  231. Header Outline Custom Colours */
  232.  
  233. [data-query*='status":7'] {
  234.   /* All Anime */
  235.   --header-border-top: # ;
  236.   --header-border-bottom: # FFFFFF ;
  237.   --header-border-avatar: #FFFFFF ;
  238. } [data-query*='status":1'] {
  239.   /* Watching */
  240.   --header-border-top: # ;
  241.   --header-border-bottom: # 32CD32 ;
  242.   --header-border-avatar: #32CD32 ;
  243. } [data-query*='status":2'] {
  244.   /* Completed */
  245.   --header-border-top: # ;
  246.   --header-border-bottom: # 9400D3 ;
  247.   --header-border-avatar: #9400D3 ;
  248. } [data-query*='status":3'] {
  249.   /* On Hold */
  250.   --header-border-top: # ;
  251.   --header-border-bottom: # E9E900 ;
  252.   --header-border-avatar: #E9E900 ;
  253. } [data-query*='status":4'] {
  254.   /* Dropped */
  255.   --header-border-top: # ;
  256.   --header-border-bottom: # D90000 ;
  257.   --header-border-avatar: #D90000 ;
  258. } [data-query*='status":6'] {
  259.   /* Plan to Watch */
  260.   --header-border-top: # ;
  261.   --header-border-bottom: # 1E90FF ;
  262.   --header-border-avatar: #1E90FF ;
  263. }
  264.  
  265. /* Internal Fix */
  266.  
  267. .status-menu-container:before {
  268.     border-top-color: var(--header-border-top);
  269.     border-bottom-color: var(--header-border-bottom);
  270. }
  271.  
  272. .status-menu::after {
  273.     box-shadow:0 0 0 4px var(--header-border-avatar);
  274. }
  275. /*-S-T-A-R-T--------------------*\
  276. | Hover Image R0.3               |
  277. \*------------------------------*/
  278. .data.image a{overflow:visible}.data.image a:before{content:"";position:absolute;top:50%;left:-166px;z-index:50;width:150px;height:0;background:var(--bg-dark) no-repeat center/cover;border-radius:8px;box-shadow:0 0 2px #000;opacity:0;pointer-events:none;transition:all .3s ease}.list-item:hover .data.image a:before{top:calc(50% - 100px);height:200px;opacity:1}.data.image a:after,.data.image img{border-radius:50%}
  279. /*------------------------E-N-D-*/
  280. /* ===================================================
  281. Reposition & Resize Avatar + Change Category Labels */
  282.  
  283. /* Change avatar size and position here */
  284. :root {
  285.     --avatar-size: 150px ;
  286.     --avatar-vertical-position: -200px;
  287. }
  288.  
  289. /* Change category titles here
  290.  * First title is anime, second title is manga.
  291.  */
  292.  
  293. /* All Anime/Manga */
  294. .status-button.all_anime::before {
  295.     content: "All Anime";
  296. } .manga .status-button.all_anime::before {
  297.     content: "All Manga";
  298. }
  299.  
  300. /* Current Anime/Manga */
  301. .status-button.watching::before {
  302.     content: "Currently Watching";
  303. } .status-button.reading::before {
  304.     content: "Currently Reading";
  305. }
  306.  
  307. /* Completed Anime/Manga */
  308. .status-button.completed::before {
  309.     content: "Completed";
  310. } .manga .status-button.completed::before {
  311.     content: "Completed";
  312. }
  313.  
  314. /* On Hold Anime/Manga */
  315. .status-button.onhold::before {
  316.     content: "On Hold";
  317. } .manga .status-button.onhold::before {
  318.     content: "On Hold";
  319. }
  320.  
  321. /* Dropped Anime/Manga */
  322. .status-button.dropped::before {
  323.     content: "Dropped";
  324. } .manga .status-button.dropped::before {
  325.     content: "Dropped";
  326. }
  327.  
  328. /* Planned Anime/Manga */
  329. .status-button.plantowatch::before {
  330.     content: "Plan to Watch";
  331. } .status-button.plantoread::before {
  332.     content: "Plan to Read";
  333. }
  334.  
  335. /* Internals */
  336. .status-menu {
  337.     display: flex !important;
  338.     height: 64px;
  339.     padding: 0 24px 0 0 !important;
  340. }
  341.  
  342. .status-menu::before {
  343.     content: "";
  344.     width: 0;
  345.     flex: 1 1 auto;
  346.     order: 5;
  347. }
  348.  
  349. .status-menu .status-button {
  350.     flex: 0 0 auto;
  351.     font-size: 0 !important;
  352.     line-height: 0 !important;
  353.     letter-spacing: 0;
  354. } .status-button:nth-of-type(1) {
  355.     order: 1;
  356. } .status-button:nth-of-type(2) {
  357.     order: 2;
  358. } .status-button:nth-of-type(3) {
  359.     order: 3;
  360. } .status-button:nth-of-type(4) {
  361.     order: 7;
  362. } .status-button:nth-of-type(5) {
  363.     order: 8;
  364. } .status-button:nth-of-type(6) {
  365.     order: 9;
  366. }
  367.  
  368. .status-button::before {
  369.     font-size: 17.6px;
  370.     line-height: 30px;
  371.     letter-spacing: 1px;
  372. }
  373.  
  374. .status-menu::after {
  375.     top: calc((var(--avatar-size) + 8px) * -0.5 + 32px + var(--avatar-vertical-position));
  376.     left: calc(50% - 4px - var(--avatar-size) * 0.5);
  377.     z-index: 1;
  378.     width: var(--avatar-size);
  379.     height: var(--avatar-size);
  380. }
  381.  
  382. .status-menu-container .search-container {
  383.     z-index: 1;
  384. }
  385.  
  386. .list-menu-float {
  387.     width: 1060px;
  388.     padding: 0;
  389. }
  390.  
  391. .header .header-title {
  392.     margin-left: 0;
  393. }
  394.  
  395. .btn-menu a.username {
  396.     left: calc(50% - (var(--avatar-size) * 0.5));
  397.     top: calc((var(--avatar-size) + 8px) * -0.5 + 72px + var(--avatar-vertical-position));
  398.     width: var(--avatar-size);
  399.     height: var(--avatar-size);
  400. }
  401.  
  402. [data-owner="1"] .list-menu-float .icon-menu.profile {
  403.     left: calc(50% - (var(--avatar-size) * 0.5));
  404.     top: calc((var(--avatar-size) + 8px) * -0.5 + 37px + var(--avatar-vertical-position));
  405.     width: var(--avatar-size) !important;
  406.     height: var(--avatar-size) !important;
  407. }
  408. /* ------------------------E-N-D- */
  409.            
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement