Advertisement
ValerioLyndon

Clarity for Yuki-Chan276 19-06-05

Jun 5th, 2019
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.63 KB | None | 0 0
  1. @\import "https://valeriolyndon.github.io/MAL-Public-List-Designs/Clarity%20Theme/Theme%20-%20Compressed.css";
  2. /* ================
  3. CATEGORY round HEADERS */
  4. @\import "https://malcat-gen.appspot.com/headers?template=[data-query*='\"status\":7'] .list-item:nth-child($index){margin-top:162px;}[data-query*='\"status\":7'] .list-item:nth-child($index) .status:before{content:'$content'}";
  5.  
  6. /* Profile Picture*/
  7. :root { --avatar: url(https://cdn.myanimelist.net/images/userimages/3060215.jpg); }
  8.  
  9. /* cover banner */
  10. :root { --banner: url(http://i.imgur.com/c1UTBP3.jpg); }
  11.  
  12. /* character image */
  13. :root { --character: none; }
  14.  
  15. /* background */
  16. body {
  17. --background: url(http://i.imgur.com/H9UBClT.png);
  18. background-image:
  19. /* background will be half-tinted black */
  20. linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  21. var(--background) !important;
  22. /* image position */
  23. background-attachment: fixed;
  24. background-position: center center;
  25. background-repeat: no-repeat;
  26. background-size: cover !important;
  27. }
  28.  
  29.  
  30. /* ======================
  31. falling particles effect */
  32. @keyframes falling {
  33. 0% { background-position: -485px 487px, 485px 487px;}
  34. 100% { background-position: 0 0, 0 0; }
  35. }
  36.  
  37. @-webkit-keyframes falling {
  38. 0% { background-position: -485px 487px, 485px 487px; }
  39. 100% { background-position: 0 0, 0 0; }
  40. }
  41.  
  42. .list-container:after {
  43. position: fixed;
  44. display: block;
  45. content: '';
  46. left: 0;
  47. bottom: 0;
  48. margin-left: 0;
  49. width: 100%;
  50. height: 100%;
  51. background-image: url(http://i.imgur.com/Dn3CFL1.png), url(http://i.imgur.com/NPyQceb.png);
  52. animation: falling 15s linear infinite;
  53. -webkit-animation: falling 15s linear infinite;
  54. z-index: -3 !important;
  55. pointer-events:none !important;
  56. }
  57.  
  58.  
  59. /* Transparent List Items */
  60. .list-item, .data.priority, .data.number, .status:before, .status:after {
  61. background: transparent no-repeat center / cover fixed !important;
  62. background-image:
  63. linear-gradient(rgba(33,33,33,0.8),rgba(33,33,33,0.8)),
  64. var(--background) !important;
  65. }
  66.  
  67.  
  68. /* ============= Black THEME COLOURS */
  69. :root {
  70. /*====== Generic Colours */
  71. /*Page background*/
  72. --pbg: #161616;
  73. /*Content background (list entries, header, footer, header buttons, popups)*/
  74. --bg: #212121;
  75. /*Mostly used for borders (search bar, user inputs)*/
  76. --bg-dark: #444;
  77. /*Generic text colour, applies to almost all text on the list. */
  78. --text: #ababab;
  79. /*Generic text on hover */
  80. --text-h: #416abe;
  81. /*Lighter text (add/edit/more, type, column descriptors, start/end/days, etcetera). Also serves as border colour for filter menu */
  82. --text-dim: #777;
  83. /*Lighter text on hover */
  84. --text-dim-h: #999;
  85. /*Used for longer text chunks (filter menu, more info) */
  86. --text-dark: #ababab;
  87. /*Used for larger features to blend with text (filter menu).*/
  88. --icon: #959595;
  89. /*Used for occasional colour flares (header all anime button, entry names, discuss link).*/
  90. --accent: #416abe;
  91. /*====== Button Colours */
  92. /*Used for occasional colour flares (header all anime button, entry names, discuss link).*/
  93. --btn-bg: #191919;
  94. /*Background for secondary content on hover. Also serves as a secondary colour for header buttons.*/
  95. --btn-bg-h: #ababab;
  96. /*Background for header buttons on hover.*/
  97. --btn-head-bg-h: #416abe;
  98. /*Text colour for secondary content and header buttons on hover*/
  99. --btn-text-h: #212121;
  100. /*===== Header Colours */
  101. /*Text colour for header category buttons and search icon. Also serves as footer text color*/
  102. --text-head: #9b9b9b;
  103. /*Text color for active header category button*/
  104. --text-head-h: #ababab;
  105. /*====== Status Colours */
  106. --watching: #2db039;
  107. --completed: #26448f;
  108. --onhold: #f9d457;
  109. --dropped: #a12f31;
  110. --plantowatch: #c3c3c3;
  111. /*====== Single-Use Colours */
  112. /*The colour that is seen if the cover banner lacks an image.*/
  113. --cover-bg: #090909;
  114. /*Edit button for tags, seen on the right of each list entry */
  115. --edit-btn: #323232;
  116. /*The checkmark on completed list entries */
  117. --checkmark: #C82536;
  118. }
  119. /*=== rest of dark theme*/
  120. .cover-block:before{background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,0))}
  121.  
  122. #cover-image-container:after{
  123. color:#f6f5ff;
  124. text-shadow:2px 2px 8px #e4bef4
  125. }
  126.  
  127. .status-menu-container:after{background:linear-gradient(to bottom,rgba(0,0,0,.6),rgba(0,0,0,0))}
  128.  
  129. #footer-block:before{background:linear-gradient(to top,rgba(0,0,0,.3),rgba(0,0,0,0))}
  130.  
  131. #advanced-options #fancybox-close,
  132. #advanced-options .advanced-options-button a,
  133. #fancybox-outer #fancybox-close,
  134. .header .header-title,
  135. .header-info,
  136. .icon-menu,
  137. .list-menu-float .icon-menu,
  138. .list-table>tbody:first-of-type:after,
  139. .stats a,
  140. .status-menu:after{
  141. box-shadow:0 1px 2px rgba(0,0,0,.8)
  142. }
  143.  
  144. .data.score select{
  145. background-image:url(https://i.imgur.com/hFijppc.png)
  146. }
  147.  
  148. #fancybox-overlay{opacity:.35!important}
  149.  
  150. #advanced-options, #fancybox-outer{
  151. box-shadow:0 0 32px rgba(0,0,0,.75)
  152. }
  153. #fancybox-frame{
  154. -webkit-filter:invert(87.8%)
  155. hue-rotate(197deg);
  156. filter:invert(87.8%)
  157. hue-rotate(197deg)
  158. }
  159.  
  160. #advanced-options[class*="-widget"] select{
  161. background-image:url(https://i.imgur.com/KF8oOyC.png)
  162. }
  163.  
  164.  
  165. /*=============== Titles */
  166. /* Titles on Hover */
  167. .list-table .list-table-data .title .link:hover {
  168. color: #C82536 !important; }
  169. /* ===== item row title hover colour */
  170. .list-table-data:hover .title .link {
  171. color: #C82536 !important; }
  172.  
  173. /* List item title hover colour
  174. NOTE: above should be the same, but test it out
  175. IF YES DELETE THIS
  176. .data.title .link.sort:hover { color: #C82536 !important; } */
  177.  
  178. /* Horizontal Tags / Revision 0.2 */
  179. .list-table-data {
  180. padding-bottom: 11px;
  181. }
  182.  
  183. .data.tags {
  184. position: absolute;
  185. left: 0;
  186. top: 0;
  187.  
  188. display: flex !important;
  189. width: 0;
  190. height: 100%;
  191. padding: 0 !important;
  192. align-items: flex-end;
  193. }
  194. .data.tags div {
  195. max-width: 980px;
  196. margin: 0 0 4px 80px;
  197.  
  198. font-size: 0;
  199. white-space: nowrap;
  200. }
  201. .data.tags span {
  202. display: inline-block;
  203.  
  204. padding: 0;
  205. }
  206. .data.tags span a {
  207. padding: 1px 8px !important;
  208. margin: 0 4px 0 0;
  209. white-space: nowrap;
  210. }
  211. .data.tags span a[href*="=Favo"] {
  212. padding: 0 !important;
  213. }
  214.  
  215. .data.tags a.edit { right: -1060px; }
  216. .data.tags textarea { right: -1060px; }
  217.  
  218.  
  219. /* Tag Descriptions Basis - Horizontal / Revision 2.1 */
  220. .data.tags span a { position: relative; }
  221. .data.tags span a:not([href*="=Favo"]):after, .data.tags span a:not([href*="=Favo"]):before {
  222. position: absolute;
  223.  
  224. display: block;
  225.  
  226. transition: all 0.15s ease;
  227. pointer-events: none;
  228. opacity: 0;
  229. z-index: 5;
  230. }
  231. .data.tags span a:not([href*="=Favo"]):after {
  232. top: 27px;
  233. left: calc(50% - 345px);
  234.  
  235. width: auto;
  236. max-width: 340px;
  237. height: auto;
  238. padding: 4px 8px;
  239. background: var(--btn-bg);
  240. border: 1px solid var(--text-dim);
  241. border-radius: 4px;
  242.  
  243. box-sizing: border-box;
  244.  
  245. color: var(--text);
  246. font: 11px/15px Arial, Verdana;
  247. text-align: left;
  248. white-space: pre-wrap;
  249.  
  250. transform: translateX(-50%) translateX(340px);
  251. }
  252. .data.tags span a:not([href*="=Favo"]):before {
  253. content: "";
  254. top: 17px;
  255. left: 50%;
  256.  
  257. border-width: 5px;
  258. border-style: solid;
  259. border-color: transparent transparent var(--text-dim) transparent;
  260. margin-left: -10px;
  261. }
  262. .data.tags span a:hover:after {
  263. left: calc(50% - 340px);
  264.  
  265. opacity: 1;
  266. }
  267. .data.tags span a:not([href*="=Favo"]):hover:before {
  268. margin-left: -5px;
  269.  
  270. opacity: 1;
  271. }
  272.  
  273. .data.tags span:not([href*="=Favo"]) a:after { transform: translateX(-17%) translateX(340px); }
  274. .data.tags span:not([href*="=Favo"]):nth-child(n+3) a:after { transform: translateX(-33%) translateX(340px); }
  275. .data.tags span:not([href*="=Favo"]):nth-child(n+5) a:after { transform: translateX(-50%) translateX(340px); }
  276. .data.tags span:not([href*="=Favo"]):nth-child(n+7) a:after { transform: translateX(-67%) translateX(340px); }
  277. .data.tags span:not([href*="=Favo"]):nth-child(n+9) a:after { transform: translateX(-83%) translateX(340px); }
  278.  
  279.  
  280. /* ========== Colored tags
  281. /* Studios/Producers */
  282. .data.studio a:link {
  283. background: #C82536;
  284. color: black !important }
  285.  
  286. /* SPECIAL TAGS */
  287. .data.tags span a[href*="\=HiScored"],
  288. .data.tags span a[href*="\=AWC%202019"],
  289. .data.tags span a[href*="\=MRC%202019"]
  290. { color: black !important;
  291. background: #C82536; }
  292.  
  293.  
  294. /**===================
  295. tags descriptions **/
  296. .data.tags a[href*="\=HiScored"]:after {
  297. content: "Highest Scored Anime Challenge @ AWC Club"
  298. }
  299. .data.tags a[href*="\=AWC%202019"]:after {
  300. content: "MAL yearly Anime Watching Challenge"
  301. }
  302. .data.tags a[href*="\=MRC%202019"]:after {
  303. content: "MAL yearly Manga Reading Challenge"
  304. }
  305.  
  306. /* ======== CATEGORY HEADERS while viewing all anime */
  307. [data-query*='"status":7'] .list-item:nth-child(2) { margin-top: 58px; }
  308.  
  309. .list-item .status:before,
  310. .list-item .status:after {
  311. position: absolute;
  312. top: -40px;
  313. left: 0;
  314. display: block;
  315. width: 1059px;
  316. height: 31px;
  317. background: var(--bg);
  318. border-width: 1px 0 0 1px;
  319. border-style: solid;
  320. border-color: var(--text-head);
  321. border-radius: 16px 16px 0 0;
  322. color: var(--text-head);
  323. font: 20px/31px Oswald;
  324. letter-spacing: 3px;
  325. text-indent: -0.5px;
  326. text-transform: uppercase;
  327. pointer-events: none;
  328. }
  329.  
  330. [data-query*='"status":7'] .list-item .status:after {
  331. content: "";
  332. top: auto;
  333. bottom: -40px;
  334. height: 32px;
  335. border-width: 0 0 0 1px;
  336. border-radius: 0 0 16px 16px;
  337. }
  338.  
  339. .list-item .watching:before,
  340. .list-item .reading:before,
  341. .list-item .watching:after,
  342. .list-item .reading:after {
  343. border-color: var(--watching);}
  344.  
  345. .list-item .completed:before,
  346. .list-item .completed:after {
  347. border-color: var(--completed);}
  348.  
  349. .list-item .onhold:before,
  350. .list-item .onhold:after {
  351. border-color: var(--onhold);}
  352.  
  353. .list-item .dropped:before,
  354. .list-item .dropped:after {
  355. border-color: var(--dropped);}
  356.  
  357. .list-item .plantowatch:before,
  358. .list-item .plantoread:before,
  359. .list-item .plantowatch:after,
  360. .list-item .plantoread:after {
  361. border-color: var(--plantowatch);}
  362.  
  363.  
  364. /*========== config for start/end dates */
  365. .data.airing-finished,
  366. .data.airing-started,
  367. .data.days, .data.finished,
  368. .data.started {
  369. position:relative;
  370. width:100px;
  371. height:14px;
  372. overflow:hidden;
  373. /* order of dates */
  374. order:18;
  375. color:var(--text);
  376. font-size:9px;
  377. line-height:14px;
  378. text-align:left !important;
  379. text-overflow:ellipsis
  380. }
  381.  
  382. /* ==== position for dates */
  383. .data.started {top:-20px}
  384. .data.finished{
  385. top:0;
  386. margin-left:-100px
  387. }
  388. .data.days{
  389. top:20px;
  390. margin-left:-100px
  391. }
  392. .data.airing-started {top:-10px}
  393. .data.airing-finished{
  394. top:10px;
  395. margin-left:-100px
  396. }
  397.  
  398. /* separator line for started/finished dates */
  399. .data.airing-finished:before,
  400. .data.airing-started:before,
  401. .data.days:before,
  402. .data.finished:before,
  403. .data.started:before{
  404. display:inline-block;
  405. width:30px;
  406. padding-right:10px;
  407. border-right:2px solid var(--text-dim);
  408. text-align:right;
  409. color:var(--text-dim)
  410. }
  411.  
  412. /*=========== label text for
  413. starting-finished dates, total days, airing dates */
  414. .data.started:before{content:"Started"}
  415. .data.finished:before{
  416. content:"Finished"}
  417. .data.days:before{content:"Days"}
  418. .data.airing-started:before{
  419. content:"Aired"}
  420.  
  421. .manga .data.airing-started:before{
  422. content:"Issued"}
  423. .data.airing-finished:before{
  424. content:"to"}
  425. .manga .data.airing-finished,
  426. .manga .data.airing-started{
  427. width:107px}
  428. .manga .data.airing-finished{
  429. margin-left:-107px}
  430. .manga .data.airing-finished:before,
  431. .manga .data.airing-started:before{
  432. width:36px }
  433.  
  434. /*======== */
  435. .data.season:empty:after{
  436. content:"Not Listed";}
  437. .data.studio:empty:before{
  438. content:"Studio\aNot Listed"}
  439. .data.licensor:empty:before{
  440. content:"Licensor\aNot Listed"}
  441.  
  442.  
  443. /* ====== */
  444. #copyright{
  445. padding:0;
  446. color:var(--text-head);
  447. line-height:16px;
  448. font-size: 12px;
  449. }
  450. #copyright:after{
  451. content:"\a List Design Created by Valerio Lyndon."; }
  452.  
  453. .data.progress span:only-of-type:after, .data.chapter span:only-of-type:after, .data.volume span:only-of-type:after {
  454. content: none; !important
  455. }
  456. /* ============================= */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement