Forum Settings
Forums
New
Nov 16, 2018 2:41 AM
#1

Offline
Feb 2010
13518
This topic is part of our CSS Tutorials and Add-ons section: https://xss.now.cc/forum/?topicid=2077862


Thanks for @Cateinya for inspiration and codes I borrowed from Endless Summer!

Make your preview pics huge on the modern list templates!



Step 1. First of all, Image must be checked on this page: https://xss.now.cc/editprofile.php?go=listpreferences


Step 2. Save after. Then you must add this to the top of your CSS.
@\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkbefore";


Step 3. Add these codes to the bottom of your CSS.
If the preview pics ever become blurry or missing, consult this topic: https://xss.now.cc/forum/?topicid=439897



/* COVER AREA
The area taken up by covers.
*/
.list-block {
/* variables used in calc (explicit names) */
--height-img: 250px !important;
--width-img: 178px !important;
}


/* HD COVER SIZE
The size of covers seen.
*/ 
.data.image a:before{
background-size: cover !important;
height: 250px !important;
width: 178px !important;
background-position: center center !important;
}


/* LOW RES COVER SIZE
You only see this if the import for high res covers goes down.
*/ 
a img{
background-size: cover !important;
height: 250px !important;
width: 178px !important;
}

/* OTHER CODES*/

.data.image .image{
display: inherit !important;
background-repeat: no-repeat !important;
}

a img{
display: block !important;
border: none !important;
background-repeat: no-repeat !important;
}

.data.image a:before{
display: block;
content: "";
position: absolute;
background-repeat: no-repeat !important;
}

Shishio-kunMar 25, 2023 9:51 AM
Reply Disabled for Non-Club Members
Jan 13, 2019 8:57 PM
#2
Offline
Apr 2015
1
I applied it on endlesss summer layouts and it worked just fine.
Thanka a lot brother.
Feb 21, 2021 11:25 PM
#3
Offline
Aug 2018
4
the image became bigger but with low quality
Feb 22, 2021 12:30 AM
#4
平沢唯

Offline
Dec 2016
2206
Red_Line_H said:
the image became bigger but with low quality

The tool that is used for HD cover images is having some issues. These usually get fixed after a short while, but to fix it now you can add one or both of these to the top of your CSS (whichever you need). These will increase page times significantly, but they're the only other option.

Animelist covers:
@\import "https://dl.dropboxusercontent.com/s/71mrsl1iz0z11p2/animelist_dataimagelinkbefore.css";

Mangalist covers:
@\import "https://dl.dropboxusercontent.com/s/dpqglnr3slmgp7t/mangalist_dataimagelinkbefore.css";
Feb 22, 2021 1:24 AM
#5
Offline
Aug 2018
4
thank you so much
Reply Disabled for Non-Club Members

More topics from this board

» [CSS- MODERN] ⭐ Minimal Dashboard layout by 5cm ~ Compact and convenient! ( 1 2 3 )

Shishio-kun - Sep 4, 2020

133 by Shishio-kun »»
Dec 2, 10:24 AM

» ⭐Ready to be amazed? View the Bunkasai graphic and list design contest (VOTE YOUR FAVES!)

Shishio-kun - Nov 22

3 by Shishio-kun »»
Nov 28, 9:02 PM

Sticky: » [ BBCODE ] All 2023 BBcodes, Guides, and Templates ( 1 2 )

Shishio-kun - Feb 16, 2023

65 by F124N »»
Nov 11, 1:31 AM

» ✳️[9-7-24] New even higher quality Cover Imports! + Fixes for Takana Grids and more

Shishio-kun - Sep 7, 2024

37 by Shishio-kun »»
Oct 30, 4:42 AM

» [CSS - MODERN] ⚡️ Fully-Customizable Layouts (2024 updates!) ( 1 2 3 4 5 ... Last Page )

Shishio-kun - Jul 21, 2017

388 by Shishio-kun »»
Oct 14, 1:27 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login