ramenradian

Cardstock v1.8 (Pale Moon) Anilist Theme

Jan 2nd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 15.25 KB | None | 0 0
  1. @char "UTF-8";
  2.  
  3. /*----------------------------------------------------------------------------*\
  4.  
  5.   Cardstock v1.8 by adustyspectacle
  6.  
  7.   A compact, minimal, cover theme.
  8.  
  9.   CHANGELOG
  10.   v1.8 (28 JAN 2016)
  11.   * changed styles because of the Anilist update, mostly the navigation
  12.  
  13.   v1.7 (20 JAN 2016)
  14.   * styled notification highlight
  15.  
  16.   v1.6 (08 JAN 2016)
  17.   * added mobile-specific css
  18.  
  19.   v1.5 (02 JAN 2016)
  20.   * integrated changes from the Dark Sun style to the Pale Moon style
  21.  
  22.   v1.4 (16 OCT 2015)
  23.   * styled list header thing
  24.  
  25.   v1.3 (09 OCT 2015)
  26.   * cleaned up the CSS, organising it and stuff
  27.   * added customisation area at the end
  28.  
  29.   v1.2 (07 OCT 2015)
  30.   * added rewatch note thing
  31.   * added custom ordering of lists
  32.   * made manga list compatible
  33.  
  34.   v1.1 (05 OCT 2015)
  35.   * added airing indicators
  36.   * added thead so lists are sortable
  37.  
  38.   v1.0 (03 OCT 2015)
  39.   * initial release
  40.  
  41. \*----------------------------------------------------------------------------*/
  42.  
  43. {ANILIST-POPUP}
  44. {ANILIST-COVERS=LRG}
  45.  
  46. @import url("https://fonts.googleapis.com/css?family=Arimo:400,400italic,700,700italic");
  47. @import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css");
  48.  
  49. body {
  50.   font-family:        "Arimo", sans-serif;
  51.   background-color:   #e9e6e3;
  52.   color:              black;
  53. }
  54.  
  55. #view::after {
  56.   display: none;
  57. }
  58.  
  59. #lists {
  60.   display:          flex;
  61.   flex-direction:   column;
  62.   font-size:        12pt;
  63. }
  64.  
  65. #lists::after {
  66.   content:      "Cardstock theme by adustyspectacle";
  67.   text-align:   center;
  68.   opacity:      0.5;
  69.   display:      block;
  70.   margin:       2em 0 4em;
  71.   order:        99;
  72. }
  73.  
  74. .sml_col { width: auto; }
  75.  
  76. .list, .list_wrapper .list {
  77.   box-shadow: none;
  78.   background: none;
  79.   text-align: center;
  80. }
  81.  
  82. /*----------------------------------------------------------------------------*\
  83.    NAVIGATION
  84. \*----------------------------------------------------------------------------*/
  85.  
  86. .nav {
  87.   background: white;
  88.   box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  89.   color: #075e92;
  90. }
  91.  
  92. .nav__links a {
  93.   padding: 0.25em;
  94.   height: auto;
  95. }
  96.  
  97. .nav__links a:hover,
  98. .nav__sml:hover {
  99.   background: #075e92;
  100.   color: white;
  101. }
  102.  
  103. .nav__links div {
  104.   color: inherit;
  105.   padding: 0;
  106. }
  107.  
  108. .nav__links a:hover div {
  109.   display: block;
  110.   color: inherit;
  111. }
  112.  
  113. .nav__sml {
  114.   background: none;
  115. }
  116.  
  117.  
  118. /*----------------------------------------------------------------------------*\
  119.    NOTIFICATIONS
  120. \*----------------------------------------------------------------------------*/
  121.  
  122. .nav__notifications {
  123.   border: 0;
  124.   background: none;
  125.   padding: 0;
  126.   font-size: 1em;
  127.   color: inherit;
  128. }
  129.  
  130. .nav__notifications div {
  131.   padding: 0.2em;
  132. }
  133.  
  134. .nav__notifications div:hover {
  135.   color: white;
  136.   background: #075e92;
  137. }
  138.  
  139. .nav__notifications i {
  140.   font-size: 1em;
  141. }
  142.  
  143. .nav__notifications .nav__notifications--unread {
  144.   color: inherit;
  145.   text-shadow: none;
  146. }
  147.  
  148. .nav__notifications .nav__notifications--unread:hover {
  149.   color: white;
  150.   text-shadow: none;
  151. }
  152.  
  153. .notifications--visible {
  154.   outline: 0;
  155. }
  156.  
  157. .notifications {
  158.   box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  159.   overflow-y: scroll;
  160.   overflow-x: auto;
  161.   background: rgba(255,255,255,0.9);
  162. }
  163.  
  164. .noti {
  165.   box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  166.   color: black;
  167. }
  168.  
  169. .noti:nth-of-type(2n) {
  170.   background: none;
  171. }
  172.  
  173. .noti--unread {
  174.   background: rgba(0,0,0,0.25);
  175.   color: inherit;
  176. }
  177.  
  178. .noti__link b,
  179. .noti__link:hover {
  180.   color: #075e92;
  181. }
  182.  
  183. .noti time-ago {
  184.   position: static;
  185.   bottom: 0;
  186.   right: 0;
  187.   display: block;
  188.   text-align: right;
  189.   margin-top: 0.5em;
  190.   opacity: 0.5;
  191. }
  192.  
  193.  
  194. /*----------------------------------------------------------------------------*\
  195.    LIST NAV HEADER
  196. \*----------------------------------------------------------------------------*/
  197.  
  198. #list_header {
  199.   background: rgba(255,255,255,0.9);
  200.   border-radius: 0;
  201.   padding: 0;
  202.   height: auto;
  203.   min-width: auto;
  204.   display: inline-block;
  205.   font-size: 12px;
  206.   box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  207. }
  208.  
  209. #list_header .img_crop {
  210.   float: none;
  211.   height: 3em;
  212.   width: 3em;
  213.   margin: 0;
  214.   border-radius: 0;
  215.   vertical-align: middle;
  216.   display: inline-block;
  217. }
  218.  
  219. #list_header .display_name {
  220.   font-size: 1em;
  221.   font-style: italic;
  222. }
  223.  
  224. #list_header a {
  225.   display: inline-block;
  226.   vertical-align: middle;
  227.   margin: 0;
  228.   padding: 1em 0.5em;
  229.   font-size: 1em;
  230. }
  231.  
  232. #list_header a {
  233.   color: black;
  234. }
  235.  
  236. #list_header a:hover {
  237.   background: #075e92;
  238.   color: white;
  239. }
  240.  
  241. #list_header #filter {
  242.   min-width: 10em;
  243.   max-width: 12.5em;
  244.   padding: 1em;
  245.   margin: 0;
  246.   border-radius: 0;
  247.   vertical-align: middle;
  248.   float: right;
  249.   font-size: 1em;
  250.   color: black;
  251. }
  252.  
  253. /*----------------------------------------------------------------------------*\
  254.    LIST ORDER
  255. \*----------------------------------------------------------------------------*/
  256.  
  257. #lists #watching      { order: 2; }
  258. #lists #reading       { order: 2; }
  259. #lists #onhold        { order: 4; }
  260. #lists #completed     { order: 6; }
  261. #lists #dropped       { order: 8; }
  262. #lists #plantowatch   { order: 10; }
  263. #lists #plantoread    { order: 10; }
  264.  
  265.  
  266. /*----------------------------------------------------------------------------*\
  267.    LIST TITLES
  268. \*----------------------------------------------------------------------------*/
  269.  
  270. #lists h3 {
  271.   font-size:        4em;
  272.   font-weight:      bold;
  273.   letter-spacing:   -4px;
  274.   text-align:       right;
  275.   text-shadow:      1px 1px 1px white;
  276.   text-transform:   lowercase;
  277.   color:            #075e92;
  278.   margin:           1em 0.25em 0;
  279. }
  280.  
  281. #lists h3::after {
  282.   font-family:      "FontAwesome";
  283.   font-size:        1em;
  284.   vertical-align:   baseline;
  285.   display:          inline-block;
  286.   margin-left:      0.25em;
  287. }
  288.  
  289. /* List Header Icons */
  290.  
  291. #lists #watching    h3::after   { content: "\f008"; }
  292. #lists #reading     h3::after   { content: "\f02d"; }
  293. #lists #onhold      h3::after   { content: "\f04c"; }
  294. #lists #completed   h3::after   { content: "\f00c"; }
  295. #lists #dropped     h3::after   { content: "\f00d"; }
  296. #lists #plantowatch h3::after   { content: "\f067"; }
  297. #lists #plantoread  h3::after   { content: "\f067"; }
  298.  
  299.  
  300. /*----------------------------------------------------------------------------*\
  301.    SORT BUTTONS
  302. \*----------------------------------------------------------------------------*/
  303.  
  304. thead {
  305.   display:          block;
  306.   text-align:       right;
  307.   margin-bottom:    2.5em;
  308. }
  309.  
  310. thead tr::before {
  311.   content:          "sort by:";
  312.   vertical-align:   -0.1em;
  313. }
  314.  
  315. table.list thead tr {
  316.   display:    inline-block;
  317.   font-size:  1em;
  318.   background: none;
  319. }
  320.  
  321. thead tr th {
  322.   font-size:        1em;
  323.   text-transform:   lowercase;
  324.   display:          inline-block;
  325.   padding:          0.25em 0.5em;
  326.   border:           0;
  327.   transition:       0.1s;
  328.   color:            #075e92;
  329.   background:       none;
  330. }
  331.  
  332. thead tr th:hover {
  333.   color:        white;
  334.   background:   #075e92;
  335.   text-shadow:  none;
  336.   border:       0;
  337. }
  338.  
  339. th.header__type, th.header__status, th.header__vol { display: none; }
  340.  
  341.  
  342. /*----------------------------------------------------------------------------*\
  343.    CARD
  344. \*----------------------------------------------------------------------------*/
  345.  
  346. .rtitle {
  347.   display:              inline-block;
  348.   position:             relative;
  349.   width:                220px; /* optimum width: 220px */
  350.   height:               320px; /* optimum height: 320px */
  351.   margin:               0.5em 0.5em;
  352.   box-shadow:           1px 1px 2px -1px rgba(0,0,0,0.5);
  353.   background-size:      105% 105%;
  354.   background-repeat:    no-repeat;
  355.   background-position:  50% 50%;
  356.   color:                #075392;
  357.  
  358. }
  359.  
  360. .rtitle, .rtitle:last-of-type { border: 0.5em solid white; }
  361.  
  362. .row__type, .row__status, .row__vol { display: none; }
  363.  
  364.  
  365. /*----------------------------------------------------------------------------*\
  366.    UPDATE BOX
  367. \*----------------------------------------------------------------------------*/
  368.  
  369. .update {
  370.   text-align: left;
  371.   color:      black;
  372.   box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  373. }
  374.  
  375.  
  376. /*----------------------------------------------------------------------------*\
  377.    TITLE BOX
  378. \*----------------------------------------------------------------------------*/
  379.  
  380. .row__title {
  381.   display: block;
  382.   padding: 0;
  383. }
  384.  
  385. td.row__title a {
  386.   font-size:    1em;
  387.   font-style:   italic;
  388.   text-align:   center;
  389.   display:      inline-block;
  390.   padding:      0.5em;
  391.   max-width:    80%;
  392.   position:     absolute;
  393.   top:          -1em;
  394.   left:         -1em;
  395.   color:        #075e92;
  396.   background:   rgba(255,255,255,0.9);
  397.   box-shadow:   1px 1px 2px -1px rgba(0,0,0,0.5);
  398. }
  399.  
  400. td.row__title a:hover {
  401.   color:        white;
  402.   background:   rgba(7,94,146,0.9);
  403. }
  404.  
  405.  
  406. /*----------------------------------------------------------------------------*\
  407.    SCORE BOX
  408. \*----------------------------------------------------------------------------*/
  409.  
  410. .row__score {
  411.   display:    block;
  412.   position:   absolute;
  413.   width:      auto;
  414.   bottom:     0;
  415.   right:      0;
  416.   z-index:    2;
  417. }
  418.  
  419. .row__score span {
  420.   font-size:        2em;
  421.   font-weight:      bold;
  422.   text-align:       center;
  423.   letter-spacing:   -1px;
  424.   color:            #075e92;
  425.   background:       rgba(255,255,255,0.9);
  426.   box-shadow:       0 0 2px rgba(0,0,0,0.5);
  427.   display:          block;
  428.   position:         absolute;
  429.   padding:          0.25em 0.35em;
  430.   bottom:           -0.5em;
  431.   right:            -0.5em;
  432.   overflow:         hidden;
  433. }
  434.  
  435.  
  436. /*----------------------------------------------------------------------------*\
  437.    EPISODE/CHAPTER BOX
  438. \*----------------------------------------------------------------------------*/
  439.  
  440. .row__episodes::before    { content: "eps:" }
  441. .row__chap::before        { content: "ch:" }
  442.  
  443. .row__episodes,
  444. .row__chap {
  445.   font-size:    0.75em;
  446.   text-align:   center;
  447.   background:   white;
  448.   display:      block;
  449.   position:     absolute;
  450.   width:        auto;
  451.   padding:      0.5em 1em;
  452.   bottom:       -0.65em;
  453.   left:         -0.65em;
  454. }
  455.  
  456. .row__episodes  .plus,
  457. .row__chap      .plus {
  458.   font-size:        1.5em;
  459.   font-weight:      bold;
  460.   color:            #075e92;
  461.   vertical-align:   -0.1em;
  462.   opacity:          0.5;
  463.   margin-left:      0.15em;
  464. }
  465.  
  466.  
  467. /*----------------------------------------------------------------------------*\
  468.    NOTES AND REWATCH TAGS
  469. \*----------------------------------------------------------------------------*/
  470.  
  471. .list__tag {
  472.   display:      inline-block;
  473.   position:     static;
  474.   background:   none;
  475. }
  476.  
  477. .list i.material-icons,
  478. .tag_notes,
  479. .tag_re {
  480.   font-size:    1.5em;
  481.   font-weight:  bold;
  482.   color:        rgba(255,255,255,0.95);
  483.   text-shadow:  1px 1px 0px rgba(0,0,0,0.25),
  484.                 0px 0px 1px rgba(0,0,0,0.5);
  485.   position:     absolute;
  486.   opacity:      1;
  487.   padding:      0;
  488.   z-index:      2;
  489.   cursor:       help;
  490.   top:          0.6em;
  491. }
  492.  
  493. .list i.material-icons {
  494.   font-family: "Material Icons";
  495. }
  496.  
  497. i.fa::before {
  498.   display: none;
  499. }
  500.  
  501. .tag_notes  { right: 0.1em; }
  502. .tag_re     { right: 1.1em; }
  503.  
  504. .hint--notes,
  505. .hint--re {
  506.   text-align:     center;
  507.   color:          #075e92;
  508.   background:     rgba(255,255,255,0.9);
  509.   display:        none;
  510.   position:       absolute;
  511.   width:          100%;
  512.   border-radius:  0;
  513. }
  514.  
  515. .hint--re::before {
  516.   content:        "Reread";  /*  for mangalist, rewatched for animelist  */
  517.   margin-right:   0.2em;
  518. }
  519.  
  520. .hint--re::after {
  521.   content: "time/s";
  522.   margin-left: 0.2em;
  523. }
  524.  
  525. .list__tag:hover .hint--notes,
  526. .list__tag:hover .hint--re {
  527.   font-size:  1em;
  528.   display:    inline-block;
  529.   width:      100%;
  530.   padding:    0.5em 0.25em;
  531.   margin:     0;
  532.   top:        4.5em;
  533.   left:       0;
  534. }
  535.  
  536.  
  537. /*----------------------------------------------------------------------------*\
  538.    AIRING/PUBLISHING TAGS
  539. \*----------------------------------------------------------------------------*/
  540.  
  541. .tag_airing,
  542. .tag_notairing {
  543.   display:    block;
  544.   position:   absolute;
  545.   width:      0.52em;
  546.   height:     2.26em;
  547.   padding:    0;
  548.   margin:     0;
  549.   left:       -0.55em;
  550.   bottom:     -0.55em;
  551.   opacity:    1;
  552.   overflow:   hidden;
  553.   z-index:    1;
  554.   transition: 0.1s;
  555.   text-transform: uppercase;
  556.   letter-spacing: 1px;
  557.   font: inherit;
  558. }
  559.  
  560. .tag_airing {
  561.   color:        transparent;
  562.   background:   #075e92;
  563. }
  564.  
  565. .tag_notairing {
  566.   color:        transparent;
  567.   background:    black;
  568. }
  569.  
  570. .tag_airing:hover,
  571. .tag_notairing:hover {
  572.   position:   absolute;
  573.   width:      108%;
  574.   padding:    0.5em;
  575.   opacity:    1;
  576.   overflow:   visible;
  577.   background: white;
  578.   color: #075e92;
  579.   vertical-align: middle;
  580. }
  581.  
  582.  
  583. /*----------------------------------------------------------------------------*\
  584.    CSS FOR SMALLER SCREENS
  585. \*----------------------------------------------------------------------------*/
  586.  
  587. @media only screen and (max-width: 768px) {
  588.   body {
  589.     font-size: 10pt;
  590.   }
  591.  
  592.   #lists h3 {
  593.     text-align: center;
  594.     font-size: 2.5em;
  595.     letter-spacing: -2px;
  596.   }
  597.  
  598.   #list_header {
  599.     margin: 0 auto;
  600.     min-width: 50%;
  601.     max-width: 95%;
  602.     left: 0;
  603.     right: 0;
  604.     position: fixed;
  605.   }
  606.  
  607.   .noti {
  608.     background: rgba(255,255,255,0.95);
  609.   }
  610.  
  611.   .noti .noti_row:hover {
  612.     background: #075e92;
  613.     color: white;
  614.   }
  615.  
  616.   .noti .noti_row .noti__link:hover {
  617.     color: white;
  618.   }
  619.  
  620.   thead {
  621.      text-align: center;
  622.   }
  623.  
  624.   .rtitle {
  625.     width: 132px; /* width and height 60% of original */
  626.     height: 192px;
  627.     margin: 0.6em 0.25em;
  628.   }
  629.  
  630.   td.row__title a {
  631.     min-width: 100%;
  632.     max-height: 50%;
  633.     font-size: 0.5em;
  634.     left: 0;
  635.     top: -1.5em;
  636.   }
  637.  
  638.   .row__score span {
  639.     font-size: 1.5em;
  640.   }
  641.  
  642.   .row__episodes,
  643.   .row__chap {
  644.     display: none;
  645.   }
  646.  
  647.   .tag_notes {
  648.     top: auto;
  649.     right: auto;
  650.     bottom: 0;
  651.     left: 0;
  652.   }
  653.  
  654.   .tag_re {
  655.     top: auto;
  656.     right: auto;
  657.     bottom: 0;
  658.     left: 1.25em;
  659.   }
  660.  
  661.   .tag_airing,
  662.   .tag_notairing {
  663.     font-size: 0.5em;
  664.   }
  665.  
  666.   .navBtn {
  667.     border-radius: 0;
  668.     color: #075e92;
  669.     background: rgba(255,255,255,0.9);
  670.     box-shadow: 1px 1px 2px -1px rgba(0,0,0,0.5);
  671.     opacity: 1;
  672.   }
  673. }
  674.  
  675.  
  676. /*----------------------------------------------------------------------------*\
  677.  
  678.   CUSTOMISATION AREA
  679.  
  680.   Because of CSS's rules of inheritance and such, this area is right in the end
  681.   so you'll be freely be able to override the default styling without editing
  682.   the stuff above.
  683.  
  684.   I'll add some stuff to get you started, and of course, you're free to play
  685.   around. Just remember to use the specific class/id and not use !important.
  686.   Ever. Seriously.
  687.  
  688.   Pale Moon Palette
  689.                   HEX      R     G     B    COLOR NAME
  690.   Light         #ffffff   255   255   255   white
  691.   Dark          #000000     0     0     0   black
  692.   BG            #e9e6e3   233   230   227
  693.   Accent        #075e92     7    94   146
  694.  
  695.   Dark Sun Palette
  696.                   HEX      R     G     B    COLOR NAME
  697.   Light         #ffffff   255   255   255   white
  698.   Dark          #222222    34    34    34
  699.   BG            #464850    70    72    80
  700.   Accent        #f55b2c   245    91    44
  701.  
  702. \*----------------------------------------------------------------------------*/
  703.  
  704. #lists #toppicks    h3::after   { content: "\f005"; }
Add Comment
Please, Sign In to add comment