Advertisement
ramenradian

Cardstock v1.3 (Anilist Theme)

Oct 9th, 2015
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.57 KB | None | 0 0
  1. @char "UTF-8";
  2.  
  3. /*----------------------------------------------------------------------------*\
  4.  
  5. Cardstock v1.3 by adustyspectacle
  6. A compact, minimal chart theme.
  7.  
  8. \*----------------------------------------------------------------------------*/
  9.  
  10. {ANILIST-POPUP}
  11. {ANILIST-COVERS=LRG}
  12.  
  13. @import url(https://fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic);
  14.  
  15. body {
  16. font-family: "Arimo", sans-serif;
  17. background-color: #e8e4e2;
  18. color: black;
  19. }
  20.  
  21. #view::after {
  22. display: none;
  23. }
  24.  
  25. #lists {
  26. display: flex;
  27. flex-direction: column;
  28. font-size: 12pt;
  29. }
  30.  
  31. #lists::after {
  32. content: "Cardstock theme by adustyspectacle";
  33. text-align: center;
  34. opacity: 0.5;
  35. display: block;
  36. margin: 2em 0 4em;
  37. order: 99;
  38. }
  39.  
  40. .sml_col { width: auto; }
  41.  
  42. .list, .list_wrapper .list {
  43. box-shadow: none;
  44. background: none;
  45. text-align: center;
  46. }
  47.  
  48.  
  49. /*----------------------------------------------------------------------------*\
  50. LIST ORDER
  51. \*----------------------------------------------------------------------------*/
  52.  
  53. #lists #watching { order: 2; }
  54. #lists #reading { order: 2; }
  55. #lists #onhold { order: 4; }
  56. #lists #completed { order: 6; }
  57. #lists #dropped { order: 8; }
  58. #lists #plantowatch { order: 10; }
  59. #lists #plantoread { order: 10; }
  60.  
  61.  
  62. /*----------------------------------------------------------------------------*\
  63. LIST HEADERS
  64. \*----------------------------------------------------------------------------*/
  65.  
  66. #lists h3 {
  67. font-size: 4em;
  68. letter-spacing: -4px;
  69. text-align: right;
  70. text-shadow: 1px 1px 1px rgba(0,0,0,0.25);
  71. text-transform: lowercase;
  72. color: #022f70;
  73. margin: 1em 0 0;
  74. }
  75.  
  76. #lists h3::after {
  77. font-family: FontAwesome;
  78. font-size: 1em;
  79. vertical-align: baseline;
  80. display: inline-block;
  81. margin-left: 0.25em;
  82. }
  83.  
  84. /* List Header Icons */
  85. #lists #watching h3::after { content: "\f008"; }
  86. #lists #reading h3::after { content: "\f02d"; }
  87. #lists #onhold h3::after { content: "\f04c"; }
  88. #lists #completed h3::after { content: "\f00c"; }
  89. #lists #dropped h3::after { content: "\f00d"; }
  90. #lists #plantowatch h3::after { content: "\f067"; }
  91. #lists #plantoread h3::after { content: "\f067"; }
  92.  
  93.  
  94. /*----------------------------------------------------------------------------*\
  95. SORT BUTTONS
  96. \*----------------------------------------------------------------------------*/
  97.  
  98. thead {
  99. display: block;
  100. text-align: right;
  101. margin-bottom: 2.5em;
  102. }
  103.  
  104. thead tr::before {
  105. content: "sort by:";
  106. vertical-align: -0.1em;
  107. }
  108.  
  109. thead tr {
  110. display: inline-block;
  111. font-size: 1em;
  112. }
  113.  
  114. thead tr th {
  115. font-size: 1em;
  116. text-transform: lowercase;
  117. display: inline-block;
  118. padding: 0.25em 0.5em;
  119. border: 0;
  120. transition: 0.1s;
  121. }
  122.  
  123. thead tr th:hover {
  124. color: white;
  125. background: #022f70;
  126. text-shadow: none;
  127. border: 0;
  128. }
  129.  
  130. th.header__type, th.header__status, th.header__vol { display: none; }
  131.  
  132.  
  133. /*----------------------------------------------------------------------------*\
  134. CARD
  135. \*----------------------------------------------------------------------------*/
  136.  
  137. .rtitle {
  138. display: inline-block;
  139. position: relative;
  140. width: 220px;
  141. height: 320px;
  142. margin: 1em 0.5em;
  143. box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  144. background-size: 100% 100%;
  145. background-repeat: no-repeat;
  146. background-position: center;
  147.  
  148. }
  149.  
  150. .rtitle, .rtitle:last-of-type { border: 0.5em solid white; }
  151.  
  152. .row__type, .row__status, .row__vol { display: none; }
  153.  
  154.  
  155. /*----------------------------------------------------------------------------*\
  156. UPDATE BOX
  157. \*----------------------------------------------------------------------------*/
  158.  
  159. .update {
  160. text-align: left;
  161. color: black;
  162. box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  163. }
  164.  
  165.  
  166. /*----------------------------------------------------------------------------*\
  167. TITLE BOX
  168. \*----------------------------------------------------------------------------*/
  169.  
  170. .row__title {
  171. display: block;
  172. padding: 0;
  173. }
  174.  
  175. td.row__title a {
  176. font-size: 1em;
  177. font-style: italic;
  178. text-align: center;
  179. display: inline-block;
  180. padding: 0.5em;
  181. max-width: 80%;
  182. position: absolute;
  183. top: -1em;
  184. left: -1em;
  185. color: #022f70;
  186. background: rgba(255,255,255,0.9);
  187. box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  188. }
  189.  
  190. td.row__title a:hover {
  191. color: white;
  192. background: rgba(2,47,112,0.9);
  193. }
  194.  
  195.  
  196. /*----------------------------------------------------------------------------*\
  197. SCORE BOX
  198. \*----------------------------------------------------------------------------*/
  199.  
  200. .row__score {
  201. display: block;
  202. position: absolute;
  203. width: auto;
  204. bottom: 0;
  205. right: 0;
  206. }
  207.  
  208. .row__score span {
  209. font-size: 2em;
  210. font-weight: bold;
  211. text-align: center;
  212. letter-spacing: -1px;
  213. color: #022f70;
  214. background: rgba(255,255,255,0.9);
  215. box-shadow: 0 0 2px rgba(0,0,0,0.5);
  216. display: block;
  217. position: absolute;
  218. padding: 0.25em 0.35em;
  219. bottom: -0.5em;
  220. right: -0.5em;
  221. overflow: hidden;
  222. }
  223.  
  224.  
  225. /*----------------------------------------------------------------------------*\
  226. EPISODE/CHAPTER BOX
  227. \*----------------------------------------------------------------------------*/
  228.  
  229. .row__episodes::before { content: "eps:" }
  230. .row__chap::before { content: "ch:" }
  231.  
  232. .row__episodes,
  233. .row__chap {
  234. font-size: 0.75em;
  235. text-align: center;
  236. background: white;
  237. display: block;
  238. position: absolute;
  239. width: auto;
  240. padding: 0.5em 1em;
  241. bottom: -0.65em;
  242. left: -0.65em;
  243. }
  244.  
  245. .row__episodes .plus,
  246. .row__chap .plus {
  247. font-size: 1.5em;
  248. font-weight: bold;
  249. color: #022f70;
  250. vertical-align: -0.1em;
  251. opacity: 0.5;
  252. margin-left: 0.15em;
  253. }
  254.  
  255.  
  256. /*----------------------------------------------------------------------------*\
  257. NOTES AND REWATCH TAGS
  258. \*----------------------------------------------------------------------------*/
  259.  
  260. .list__tag {
  261. display: block;
  262. position: static;
  263. background: none;
  264. }
  265.  
  266. .tag_notes,
  267. .tag_re {
  268. font-size: 1.25em;
  269. color: rgba(255,255,255,0.95);
  270. text-shadow: 0 0 1px rgba(0,0,0,0.5);
  271. position: absolute;
  272. opacity: 1;
  273. padding: 0.2em;
  274. z-index: 2;
  275. cursor: help;
  276. }
  277.  
  278. .tag_notes { top: 0.25em; right: 0.25em; }
  279. .tag_re { top: 0.25em; right: 1.5em; }
  280.  
  281. .hint--notes,
  282. .hint--re {
  283. text-align: center;
  284. color: #022f70;
  285. background: rgba(255,255,255,0.9);
  286. display: none;
  287. position: absolute;
  288. width: 100%;
  289. border-radius: 0;
  290. }
  291.  
  292. .hint--re::before {
  293. content: "No. of times rewatched:";
  294. margin-right: 0.2em;
  295. }
  296.  
  297. .list__tag:hover .hint--notes,
  298. .list__tag:hover .hint--re {
  299. font-size: 1em;
  300. display: inline-block;
  301. width: 100%;
  302. padding: 0.5em 0.25em;
  303. margin: 0;
  304. top: 4.5em;
  305. left: 0;
  306. }
  307.  
  308.  
  309. /*----------------------------------------------------------------------------*\
  310. AIRING/PUBLISHING TAGS
  311. \*----------------------------------------------------------------------------*/
  312.  
  313. .tag_airing,
  314. .tag_notairing {
  315. display: block;
  316. position: absolute;
  317. width: 0.7em;
  318. height: 2.75em;
  319. padding: 0;
  320. margin: 0;
  321. left: -0.7em;
  322. bottom: -0.7em;
  323. opacity: 1;
  324. overflow: hidden;
  325. z-index: 1;
  326. }
  327.  
  328. .tag_airing {
  329. color: transparent;
  330. background: forestgreen;
  331. }
  332.  
  333. .tag_notairing {
  334. color: transparent;
  335. background: crimson;
  336. }
  337.  
  338.  
  339. /*----------------------------------------------------------------------------*\
  340.  
  341. CUSTOMISATION AREA
  342.  
  343. Because of CSS's rules of inheritance and such, this area is right in the end
  344. so you'll be freely be able to override the default styling without editing
  345. the stuff above.
  346.  
  347. I'll add some stuff to get you started, and of course, you're free to play
  348. around. Just remember to use the specific class/id and not use !important.
  349. Ever. Seriously.
  350.  
  351. Default Palette
  352. HEX R G B COLOR NAME
  353. Light #ffffff 255 255 255 white
  354. Dark #000000 0 0 0 black
  355. BG #e8e4e2 232 228 226
  356. Accent #022f70 2 47 112
  357. Airing #228b22 34 139 34 forestgreen
  358. Not Airing #dc143c 220 20 60 crimson
  359.  
  360. Night Mode Palette
  361. HEX R G B COLOR NAME
  362. Light #ffffff 255 255 255 white
  363. Dark #222222 34 34 34
  364. BG #464850 70 72 80
  365. Accent #f55b2c 245 91 44
  366. Airing #228b22 34 139 34 forestgreen
  367. Not Airing #dc143c 220 20 60 crimson
  368.  
  369. \*----------------------------------------------------------------------------*/
  370.  
  371. /*
  372. CHANGING BACKGROUND AND TEXT COLOR
  373. Change your background color and text
  374. color. You can also use a background
  375. image if you want.
  376.  
  377. */
  378.  
  379. body {
  380. background-color: #464850;
  381. color: white;
  382. }
  383.  
  384.  
  385. /*
  386. CHANGING THE LIGHT COLOR
  387. This affects the cover border, the
  388. episode number background, the title
  389. background, the score background, and
  390. the rewatch/notes background.
  391. */
  392.  
  393. .rtitle,
  394. .rtitle:last-of-type,
  395. .row__episodes,
  396. .row__chap {
  397. background: #222222;
  398. border-color: #222222;
  399. }
  400.  
  401. td.row__title a,
  402. .row__score span,
  403. .hint--notes,
  404. .hint--re {
  405. background: rgba(34,34,34,0.9);
  406. }
  407.  
  408.  
  409. /*
  410. CHANGING THE ACCENT COLOR
  411. This affects the list headers, link hovers,
  412. score, the plus sign in the episode box,
  413. and the notes/rewatch text.
  414. */
  415.  
  416. #lists h3,
  417. .row__score span,
  418. td.row__title a,
  419. thead tr th,
  420. .row__episodes .plus,
  421. .row__chap .plus,
  422. .hint--notes,
  423. .hint--re {
  424. color: #f55b2c;
  425. }
  426.  
  427. thead tr th:hover,
  428. td.row__title a:hover {
  429. background: rgba(245,91,44,0.9);
  430. }
  431.  
  432.  
  433. /*
  434. CUSTOM LIST-SPECIFIC STYLES
  435. If you have a custom list, add it here. You'll probably
  436. mostly use it for the order, and maybe a custom icon.
  437. */
  438.  
  439. #lists #toppicks { order: 0; }
  440. #lists #toppicks h3::after { content: "\f005"; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement