Giter VIP home page Giter VIP logo

myanimelisttheme's Introduction

MyAnimeList Theme

This is my custom theme for MyAnimeList (MAL).

Preview

Screenshot

Features

  • Responsive
  • Supports anime and manga
  • Tested on Chrome, Firefox, IE11, Edge
  • Support for custom headers and backgrounds using the MAL image selectors
  • Uses MAL Modern Theme
  • All controls still in place and fully functional (with the exception of the More button)
  • Shows Title, Status (Watched, Planned etc), Episodes, Big Images, User Score, Season, Type (TV, Movie etc), Rating (PG-13, R etc)
  • Additionally supports sorting by Aired Dates, Watched Dates, Storage, Priority

Installation

  1. In your MAL Account Settings open the Tab List Style Design, select Modern on top, tick the Anime and Manga box below the Default Theme and hit Save.
  2. Go to the Lists tab and decide on which information to show. At least Episodes and Image is required. Optional but highly recommended is Score, Premiered, Type and Rating. Additionally the following fields will just give you additional sort options but the data is not shown in this theme: Aired Dates, Start/End Dates, Storage and Priority. Don't forget to click the Submit button!
  3. Go to List Style Design again and click on the preview image of the Default Theme.
  4. Set Show cover image to No or follow the steps outlined in Custom Banner section to upload your own banner.
  5. Expand Add Custom CSS and paste in the following code and click save:
@\import "https://malcat-gen.appspot.com/series?template=.data.image a[href^="/$list/$id/"]:after{background-image:url($series_image)}";
@\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkafter";
@\import "https://genericmale.github.io/MyAnimeListTheme/theme.css";

More info can be found on Beginner Tutorial.

Note: it can take a few minutes until the high quality covers are generated.

Custom Banner

To use a custom banner, just upload it as cover image on the Customize Default Theme page.

The default banner provided with the theme has a height of 150px. To align all icons with your banner, use the following as Custom CSS and change the pixel size to the height of your image:

@\import "https://malcat-gen.appspot.com/series?template=.data.image a[href^="/$list/$id/"]:after{background-image:url($series_image)}";
@\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkafter";
@\import "https://genericmale.github.io/MyAnimeListTheme/theme.css";

.list-menu-float {
  top: 150px
}

Make sure your banner is wide enough for most screen sizes (ideally >1920px wide).

Change Header Icons and Footer Colors

To change the colors of the icons shown in the header and the text in the footer, add the following to the end of the Custom CSS and adapt the color codes:

.header, .list-menu-float, .search-container, .stats, .list-stats, tbody:first-child {
  color: #ffffff;
}

#copyright, #loading-spinner {
  color: #808080;
}

Building

This theme is developed using the Sass CSS precompiler. For more info go sass-lang.com The one and only source file for now is the theme.scss in the src directory (i might add a few other color variations of this theme in the future). After running the sass compiler (see steps below), the final css is put into the docs folder.

To compile the project follow these steps:

  1. Install NodeJS and make sure npm is on your path.
  2. Switch to the directory with the package.json and run npm install.
  3. Execute npm run build.

myanimelisttheme's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.