New
Mar 14, 2021 10:38 AM
#701
LEGENDS_OF_ANIME said: I have been doing a lot of testing with how I can change my list but I am stuck with a problem How can I make the black background of tags and season transparent? If I try to do it, the text become transparent too. Please help me out a bit I just found the code to make the tags whatever color (or transparent just add the transparent color. you can go to inspect element scroll down and manipulate the color to what you want it and then copy the color code. for the sake of the response i will make it completely transparent. for all tags in one use this code: :root { --btn-bg: #ec353500; } for individual tags to have different color use these: .data.studio { --btn-bg: #ec353500; } .data.score { --btn-bg: #ec353500; } .tags { --btn-bg: #ec353500; } /*I don't have the black backgrounds on seasons but I would assume it is changed with this after looking at the css on your page*/ .data.season { --btn-bg: #ec353500; } and I didn't notice this until I was responding to you but Valerio_Lyndon responded to my question earlier which answers this in-depth. |
CuriossityMar 14, 2021 10:56 AM
Mar 14, 2021 10:39 AM
#702
Valerio_Lyndon said: Curiossity said: I'm not sure if you're still doing mods for this but I had a neat idea. Is there any way that the tags could be modified so that they don't show people's tags (because some people like me don't use tags), instead they show the description of the anime? I know there may be a problem with overflow but maybe it could be solved with a small box that allows scrolling while the mouse is inside the box. It's possible with some Javascript tools that I recently took over maintaining. Check out this thread for installation: [Link]. Pardon any messiness of that thread, as it's still a bit WIP. But it's the best thing to link right now as I will be updating that with all the info I have in case you need to use this script more in the future. Anyhow, using that tool you can grab the synopses for all the anime and generate CSS for them. To do that, use this template with the tool: /* [TITLE] *[DEL]/ .tags-[ID]:after{content:"[DESC]"} Additionally, you should add this CSS to the bottom of your other list CSS. This will provide styling to all the synopses. /*-S-T-A-R-T--------------------* | Synopsis After Tags | *------------------------------*/ .data.tags { width: 180px; /* Increase this width if needing more space */ } .tags div:after { display: block; padding: 2px 4px; max-height: 200px; background: var(--btn-bg); border-radius: 8.5px; overflow-y: auto; color: var(--text); font-size: 11px; line-height: 14px; } /*------------------------E-N-D-*/ Make sure you keep the tag column enabled on your list as we will be hooking onto that with some of the CSS. Curiossity said: I was also curious about how to change the color of the words i.e. progress, rated, premiered This text is generally controlled by the "--text" or "--text-dim" variables. You can find a full list of variables and code to modify them in the main forum post and which I have also pasted here. For further modification of specific parts of your list, I can help out but will need to know which exactly. Legends of Anime has also given you a few already I see. Valerio_Lyndon said: To get started, insert this code anywhere below the main theme (or below dark mode if you have it). [Source Code] Once pasted into your CSS box, you can play with each colour as you wish. The colours provided are for the light theme. If you do not want a colour to be changed, simply delete the relevant line and it will revert to its default. For help with CSS colours, google "CSS color picker" and you should find tools for selecting valid colours. One of the best ways to get a feel for what each colour controls is to just start tweaking them and see what changes. But, for extra help, here's some explanations of each colour. --pbg: Page background. --bg: Content background (list entries, header, footer, header buttons, popups); --bg-dark: Mostly used for borders (search bar, user inputs). --text: Generic text colour, applies to almost all text on the list. --text-h: Generic text on hover. --text-dim: Lighter text (add/edit/more, type, column descriptors, start/end/days, etcetera). Also serves as border colour for filter menu. --text-dim-h: Lighter text on hover. --text-dark: Used for longer text chunks (filter menu, more info). --icon: Used for larger features to blend with text (filter menu). --accent: Used for occasional colour flares (header all anime button, entry names, discuss link). --banner-text: Name text on the banner; --banner-text-shadow: Shadow of the name text on the banner; --btn-bg: Background for secondary content (score, tags, search bar, etcetera). --btn-bg-h: Background for secondary content on hover. Also serves as a secondary colour for header buttons. --btn-head-bg-h: Background for header buttons on hover. --btn-text-h: Text colour for secondary content and header buttons on hover. --text-head: Text colour for header category buttons and search icon. Also serves as footer text colour. --text-head-h: Text colour for active header category button. --watching: Colour for respective category of header category buttons. --completed: Ditto. --onhold: Ditto. --dropped: Ditto. --plantowatch: Ditto. --cover-bg: The colour that is seen if the cover banner lacks an image. --edit-btn: Edit button for tags, seen on the right of each list entry. --checkmark: The checkmark on completed list entries. If anything didn't make sense in this post, which is quite possible, let me know. I can explain better and improve the info for other people later (especially the tool I linked). are you...a genius? I am truly amazed at this. this is amazing. I can't thank you enough. |
CuriossityMar 14, 2021 11:05 AM
Mar 14, 2021 7:39 PM
#703
Valerio_Lyndon said: It's possible with some Javascript tools that I recently took over maintaining. Check out this thread for installation: [Link]. Pardon any messiness of that thread, as it's still a bit WIP. But it's the best thing to link right now as I will be updating that with all the info I have in case you need to use this script more in the future....... I am sorry, I said that it was not possible (I mixed it with something else) oh my goodness thank you so much, you're great, I'm gonna go and implement this onto my list right now. .................wow, never thought I actually would be of any help to anyone. I am happy I was able to help (--__-- why am I talking so formally, that's not me) |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 15, 2021 6:35 AM
#704
Valerio_Lyndon !!!!!!!!!!!!!!! HEEEEEEEEEEEELP!!!!!!!!!!!!!!!!!!!!!!!!!! WHAT IS HAPPENING TO MY LIST?????? WHY ISN'T THE IMGUR IMAGES THAT I UPLOAED NOT WORKING SUDDENLY????????? I AM PANICKING !!!!!!!!!!!!!!!!! |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 15, 2021 10:19 AM
#705
Valerio_Lyndon said: mistersunday said: I need help with my headers. So I used to have headers on my list but they randomly disappeared today. When I mean headers I'm referring to the titles in the "All Anime" section that differentiate the anime on your list. Unfortunately I couldn't find pictures of what they looked like before they were deleted. So I just took a screenshot of someone else's headers as an example: I have the categories as tabs but I also want them as headers throughout my list. I also have the status bars but those aren't always very clear. Can someone help me? I'm using Google Chrome and here's my code for reference: -snip- This is a recent issue due to an update Google Chrome is rolling out. I've added info to the main post about this which I will also go over here. The way to fix this is to add your username and list type to the header import. In your case, you should replace this line: @import url(https://malcat-gen.appspot.com/headers); With this new one: @\import "https://malcat-gen.appspot.com/headers?user=mistersunday&list=anime"; Not that this will break headers on your mangalist. If you need headers for your mangalist, you will have to split your anime/mangalist over two themes; You can use identical code except for the separate header import (and cover image import if using that too). Once you have a second style setup for your mangalist, simply change the "list=anime" text we added to "list=manga". Note to other users: this exact fix will not work for you. This is a specific reply to mistersunday. For a more generalized guide on fixing the headers, please see the main forum post or simply reinstall the mod following any new instructions. Awesome thank you! It looks like this worked, the only issue still left is the spacing, the headers appear as they used to but the spacing for all the headers (other than the Currently Watching one) is off. This is what I mean: Thanks again for your help!! |
Mar 15, 2021 10:09 PM
#706
LEGENDS_OF_ANIME said: Valerio_Lyndon !!!!!!!!!!!!!!! HEEEEEEEEEEEELP!!!!!!!!!!!!!!!!!!!!!!!!!! WHAT IS HAPPENING TO MY LIST?????? WHY ISN'T THE IMGUR IMAGES THAT I UPLOAED NOT WORKING SUDDENLY????????? I AM PANICKING !!!!!!!!!!!!!!!!! You grabbed MonsieurAlarm's CSS, yeah? If there are left-over images from there, it's possible Monsieur is clearing out his Imgur. If you hosted them, did you upload them with an account or while signed out? If you uploaded the images while signed out it's possible, though unlikely, that they got deleted for some reason. |
Mar 16, 2021 12:38 AM
#707
mistersunday said: Awesome thank you! It looks like this worked, the only issue still left is the spacing, the headers appear as they used to but the spacing for all the headers (other than the Currently Watching one) is off. This is what I mean: Thanks again for your help!! Did it have it before? You need to add a CSS template to the header tool which will add some spacing to each entry. Here's an example of a template that will add some padding: [data-query*='status\":7'] .list-item:nth-child($index) .data.status:before{content:\"$content\"}[data-query*='status\":7'] .list-item:nth-child($index){margin-top: 82px;} And here is it applied to the malcat import which you can use to overwrite the current one. @\import "https://malcat-gen.appspot.com/headers?user=mistersunday&list=anime&template=[data-query*='status\":7'] .list-item:nth-child($index) .data.status:before{content:\"$content\"}[data-query*='status\":7'] .list-item:nth-child($index){margin-top: 82px;}"; For more tweaking, you can read what documentation there is on the tool in the original thread. |
Mar 16, 2021 7:49 AM
#708
Valerio_Lyndon said: LEGENDS_OF_ANIME said: Valerio_Lyndon !!!!!!!!!!!!!!! HEEEEEEEEEEEELP!!!!!!!!!!!!!!!!!!!!!!!!!! WHAT IS HAPPENING TO MY LIST?????? WHY ISN'T THE IMGUR IMAGES THAT I UPLOAED NOT WORKING SUDDENLY????????? I AM PANICKING !!!!!!!!!!!!!!!!! You grabbed MonsieurAlarm's CSS, yeah? If there are left-over images from there, it's possible Monsieur is clearing out his Imgur. If you hosted them, did you upload them with an account or while signed out? If you uploaded the images while signed out it's possible, though unlikely, that they got deleted for some reason. i did grab his css but a lot of images i uploaded aren't working such as the banners and a lot of row backgrounds. Right now even if i upload new images in my imgur account and link them, they still show that error. HOW CAN I SOLVE ????? |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 16, 2021 9:56 AM
#709
Hi, I would like to ask is there a code for set different profile pictures to shown when you select currently watching.on./completed/ dropped./on Hold.on / so on? 😃 would be cool to ad different pictures to each list. I would really appreciate it. |
Mar 16, 2021 4:18 PM
#710
Valerio_Lyndon said: mistersunday said: Awesome thank you! It looks like this worked, the only issue still left is the spacing, the headers appear as they used to but the spacing for all the headers (other than the Currently Watching one) is off. This is what I mean: Thanks again for your help!! Did it have it before? You need to add a CSS template to the header tool which will add some spacing to each entry. Here's an example of a template that will add some padding: [data-query*='status\":7'] .list-item:nth-child($index) .data.status:before{content:\"$content\"}[data-query*='status\":7'] .list-item:nth-child($index){margin-top: 82px;} And here is it applied to the malcat import which you can use to overwrite the current one. @\import "https://malcat-gen.appspot.com/headers?user=mistersunday&list=anime&template=[data-query*='status\":7'] .list-item:nth-child($index) .data.status:before{content:\"$content\"}[data-query*='status\":7'] .list-item:nth-child($index){margin-top: 82px;}"; For more tweaking, you can read what documentation there is on the tool in the original thread. I was missing that second part of the code, thank you so much! |
Mar 16, 2021 7:20 PM
#711
2Fujiwara2 said: Hi, I would like to ask is there a code for set different profile pictures to shown when you select currently watching.on./completed/ dropped./on Hold.on / so on? 😃 would be cool to ad different pictures to each list. I would really appreciate it. Here you go. This is taken from my list, so you have to change the urls. i use the same profile picture so my links are the same. /*------------------------------*\ | AVATAR | \*------------------------------*/ [data-query*="status\":7"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Watching */ [data-query*="status\":1"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Completed */ [data-query*="status\":2"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Onhold */ [data-query*="status\":3"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Dropped */ [data-query*="status\":4"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Planned */ [data-query*="status\":6"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 16, 2021 10:46 PM
#712
[quote=LEGENDS_OF_ANIME message=62355819] 2Fujiwara2 said: Hi, I would like to ask is there a code for set different profile pictures to shown when you select currently watching.on./completed/ dropped./on Hold.on / so on? 😃 would be cool to ad different pictures to each list. I would really appreciate it. Here you go. This is taken from my list, so you have to change the urls. i use the same profile picture so my links are the same. /*------------------------------*\ | AVATAR | \*------------------------------*/ [data-query*="status\":7"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Watching */ [data-query*="status\":1"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Completed */ [data-query*="status\":2"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Onhold */ [data-query*="status\":3"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Dropped */ [data-query*="status\":4"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } /* Planned */ [data-query*="status\":6"] { --avatar: url(https://cdn.myanimelist.net/images/userimages/9987589.jpg?t=1611402600); } #_# Thank you So Much!! 💕💕💕 |
Mar 17, 2021 12:24 AM
#713
LEGENDS_OF_ANIME said: Valerio_Lyndon said: LEGENDS_OF_ANIME said: WHY ISN'T THE IMGUR IMAGES THAT I UPLOAED NOT WORKING SUDDENLY????????? You grabbed MonsieurAlarm's CSS, yeah? If there are left-over images from there, it's possible Monsieur is clearing out his Imgur. If you hosted them, did you upload them with an account or while signed out? If you uploaded the images while signed out it's possible, though unlikely, that they got deleted for some reason. i did grab his css but a lot of images i uploaded aren't working such as the banners and a lot of row backgrounds. Right now even if i upload new images in my imgur account and link them, they still show that error. HOW CAN I SOLVE ????? I've never seen Imgur randomly delete images, so this is quite curious. From your description, you've made no changes to your image URLs and they broke on their own, and I don't think it would be a code problem. That said, it couldn't hurt for you to paste your CSS here for me to take a look. Due to an annoying feature MAL has with image URLs, I can't see the actual image URLs without you sharing the code. The code can either be put in a pastebin or inside of a [spoiler] tag. And if all else fails, there's always the surefire (hopefully, anyway) solution of using another image host if Imgur is proving problematic for you. It's a bit of a non-solution, but would work. Some alternatives are PostImage, imgbb, and Catbox. Thanks very much for helping out 2Fujiwara by the way! |
Mar 17, 2021 1:22 AM
#714
Valerio_Lyndon said: I've never seen Imgur randomly delete images, so this is quite curious. From your description, you've made no changes to your image URLs and they broke on their own, and I don't think it would be a code problem. That said, it couldn't hurt for you to paste your CSS here for me to take a look. Due to an annoying feature MAL has with image URLs, I can't see the actual image URLs without you sharing the code. The code can either be put in a pastebin or inside of a [spoiler] tag. And if all else fails, there's always the surefire (hopefully, anyway) solution of using another image host if Imgur is proving problematic for you. It's a bit of a non-solution, but would work. Some alternatives are PostImage, imgbb, and Catbox. I AM SOOOOOOOOO SORRY THAT AN MORON LIKE ME WAS ASKING FOR YOUR HELP. When I copy and pasted my CSS here to give it to you, I noticed that I had pasted my CSS 2 times for some reason (How did I not reach the CSS limit??? WHAT EVEN IS THE LIMIT). that was causing the all the problems and just like you said, a lot of MonsieurAlarm's row backgrounds weren't working maybe because he was clearing his Imgur. I AM SOOOOOOOOOO SORRY FOR BEING A MORON. I FEEL LIKE I AM MOSRE OF AN IDIOT THAN MINETA. 😭😭😭😭😭 Thanks very much for helping out 2Fujiwara by the way! FOR AN IDIOT LIKE ME IT'S MY GREATEST PLEASURE TO BE ABLE TO HELP YOU AND THE OTHERS!!!!!!!!!!!!!!!!!!!!!!!!!! Anyway, thanks bro for all your help, I will think a 100 times before asking for idiotic help again (I don't know if you are a boy or a girl so I am gonna call you "bro" for now) |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 17, 2021 2:32 AM
#715
I found something very interesting and wanted to share it. I don't know if a lot of people know about this already but the thing is that YOU CAN LITERALLY PUT ANYTHING as your location and because I am an idiot and quite childish who wants to follow his heart, I did this 😅😅😅 |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 17, 2021 8:22 PM
#716
LEGENDS_OF_ANIME said: FOR AN IDIOT LIKE ME IT'S MY GREATEST PLEASURE TO BE ABLE TO HELP YOU AND THE OTHERS!!!!!!!!!!!!!!!!!!!!!!!!!! Anyway, thanks bro for all your help, I will think a 100 times before asking for idiotic help again (I don't know if you are a boy or a girl so I am gonna call you "bro" for now) Not to worry lol, it happens. Speaking from experience, double-pasting code can be one of the harder problems to notice. I'm glad the problem was resolved though! |
Mar 18, 2021 7:23 AM
#717
Hi! 1. I am wondering how to remove the dark circle around the heart, so only the heart stays. I use this one: /* Styling of the heart */ { content: "♥"; position: absolute; left: 1068px; top: calc(50% - 13px); width: 26px; height: 26px; background: var(--bg); border-radius: 50%; color: #e600e6; font-size: 26px; line-height: 23px; box-shadow: 0 1px 2px rgba(0,0,0,0,2); } /* FAVOURITE ENTRIES (Tagless) END*/ Is making the width and hight 0px will resolve it or there is another way? 2. How to change the color of this arrow? I prefer not to be white, but in some more suitable for the theme color. |
JustMeowMeowMar 18, 2021 7:36 AM
Mar 18, 2021 8:41 AM
#718
Yamashita_Sora said: 2. How to change the color of this arrow? I prefer not to be white, but in some more suitable for the theme color. here's the code. Just change the color code to change the arrow color. You can change the transparency too by changing the ".5" part of the background. I don't use the heart thing so I don't know about it Edit: after typing this I went to your list. Isn't the back circle already gone? I can't see any black circle. .data.image a:after { background: rgba(0,0,0,.5); color: #fff; } If you want the color to match with your anime status then use this (watching/completed/on hold/dropped/plan to watch) .data.image a:after { background: rgba(0,0,0,.5); color: var(--item-category); } |
Legends_of_animeMar 18, 2021 8:52 AM
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 18, 2021 11:02 AM
#719
LEGENDS_OF_ANIME said: Yamashita_Sora said: 2. How to change the color of this arrow? I prefer not to be white, but in some more suitable for the theme color. here's the code. Just change the color code to change the arrow color. You can change the transparency too by changing the ".5" part of the background. I don't use the heart thing so I don't know about it Edit: after typing this I went to your list. Isn't the back circle already gone? I can't see any black circle. .data.image a:after { background: rgba(0,0,0,.5); color: #fff; } If you want the color to match with your anime status then use this (watching/completed/on hold/dropped/plan to watch) .data.image a:after { background: rgba(0,0,0,.5); color: var(--item-category); } Thanks! The arrow now looks better. :) For the hearts - I put 0px for hight and width and the circle disappeared. Don't know if it's write or wrong, but for now is working and as I see there's no bad side effects. :P Sorry! I really don't know what I am doing. I just change or put things here and there on a whim. XD |
Mar 18, 2021 12:23 PM
#720
Yamashita_Sora said: For the hearts - I put 0px for hight and width and the circle disappeared. Don't know if it's write or wrong, but for now is working and as I see there's no bad side effects. :P Sorry! I really don't know what I am doing. I just change or put things here and there on a whim. XD As long as it works nothing else matters. I don't know all about CSS too. But I am on my way to learning it just by testing things here and there. |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 20, 2021 9:23 PM
#721
Is it possible to make a row longer? I want to make the row longer and align the titles to the left but everything else should stay where they are or align to the right. Tell me if you know how to do it, I need it for someone I know. |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 22, 2021 1:19 AM
#722
LEGENDS_OF_ANIME said: Is it possible to make a row longer? I want to make the row longer and align the titles to the left but everything else should stay where they are or align to the right. Tell me if you know how to do it, I need it for someone I know. For the list/row width, something like this could be used. /*-S-T-A-R-T--------------------*\ | Change List Width | \*------------------------------*/ :root { --listWidth: 1440px; /* desired list width - 1060px is default */ } .list-block { min-width: 1060px; /* Minimum list width */ width: var(--listWidth); max-width: calc(100% - 30px); /* prevents list overflowing page edges */ } .list-table-data { max-width: var(--listWidth); } /* change some items so they remain in their correct positions after width change */ .list-unit .list-status-title { width: 100%; } .list-status-title .stats { right: calc(50% - 498px) !important; } .list-table > tbody:first-of-type { left: calc(50% + 502px); } /*------------------------E-N-D-*/ If the titles needed changes more than just left-alignment (such as multi-row, etc) then some other changes would need to be done, with some minor style adjustments to the surrounding elements (airing text, add/edit/more buttons, etc). I can help with that if needed. LEGENDS_OF_ANIME said: As long as it works nothing else matters. I don't know all about CSS too. But I am on my way to learning it just by testing things here and there. That's the spirit. CSS is pretty risk-free to tinker with. Thanks again for the help. I'm finding I have less and less time for responses here. |
Mar 22, 2021 10:41 PM
#723
Valerio_Lyndon said: LEGENDS_OF_ANIME said: Is it possible to make a row longer? I want to make the row longer and align the titles to the left but everything else should stay where they are or align to the right. Tell me if you know how to do it, I need it for someone I know. For the list/row width, something like this could be used. /*-S-T-A-R-T--------------------*\ | Change List Width | \*------------------------------*/ :root { --listWidth: 1440px; /* desired list width - 1060px is default */ } .list-block { min-width: 1060px; /* Minimum list width */ width: var(--listWidth); max-width: calc(100% - 30px); /* prevents list overflowing page edges */ } .list-table-data { max-width: var(--listWidth); } /* change some items so they remain in their correct positions after width change */ .list-unit .list-status-title { width: 100%; } .list-status-title .stats { right: calc(50% - 498px) !important; } .list-table > tbody:first-of-type { left: calc(50% + 502px); } /*------------------------E-N-D-*/ If the titles needed changes more than just left-alignment (such as multi-row, etc) then some other changes would need to be done, with some minor style adjustments to the surrounding elements (airing text, add/edit/more buttons, etc). I can help with that if needed. LEGENDS_OF_ANIME said: As long as it works nothing else matters. I don't know all about CSS too. But I am on my way to learning it just by testing things here and there. That's the spirit. CSS is pretty risk-free to tinker with. Thanks again for the help. I'm finding I have less and less time for responses here. Thanks, It worked perfectly. I repositioned the edit button too. Also, I know you are very busy but can you give me your social media contact? I want to learn CSS but it seems kinda hard to me. I can make changes to things but I can't create something by myself without totally messing it up. So, when you have time and if you feel like it I want you to teach me some things. Thanks for helping me always. see you later, bye. |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 23, 2021 12:29 AM
#724
LEGENDS_OF_ANIME said: Thanks, It worked perfectly. I repositioned the edit button too. Also, I know you are very busy but can you give me your social media contact? I want to learn CSS but it seems kinda hard to me. I can make changes to things but I can't create something by myself without totally messing it up. So, when you have time and if you feel like it I want you to teach me some things. Thanks for helping me always. see you later, bye. I don't maintain much social media honestly. MyAnimeList will generally prove to be the fastest way to reach me, but I also have a Discord that I cam use if some of the features it provides are needed. ValerioLyndon#1186 Quite understandable, some things can be hard to grasp the first time 'round. I can give some pointers or guidance where you're having difficulty, just let me know what you're having problems with. Although if you've got Inspect Element figured out, then Google and StackOverflow can help answer a lot of the basic questions in regards to specific techniques. Funnily enough I just restarted work on a CSS guide I've been putting off for ages right before you asked this. |
Mar 30, 2021 4:14 AM
#725
Hello, I wanted to ask if it was possible to change the color of the stats text (The whole "TV: XXX OVA: YYY" thing in the list), because my background color is a mix of light blue and white and the text is a really faded shade of grey and it just becomes hard to read it. So, is there any line of code I could add to change it? I can pick out the color hex myself. Thanks in advance! |
Mar 30, 2021 4:27 AM
#726
SunBro26 said: Hello, I wanted to ask if it was possible to change the color of the stats text (The whole "TV: XXX OVA: YYY" thing in the list), because my background color is a mix of light blue and white and the text is a really faded shade of grey and it just becomes hard to read it. So, is there any line of code I could add to change it? I can pick out the color hex myself. Thanks in advance! You can just change the color code to get the color of text you want. (change the #fff) .list-stats { color: #fff !important } |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Mar 30, 2021 4:55 AM
#727
LEGENDS_OF_ANIME said: Works perfectly. Thanks again.SunBro26 said: Hello, I wanted to ask if it was possible to change the color of the stats text (The whole "TV: XXX OVA: YYY" thing in the list), because my background color is a mix of light blue and white and the text is a really faded shade of grey and it just becomes hard to read it. So, is there any line of code I could add to change it? I can pick out the color hex myself. Thanks in advance! You can just change the color code to get the color of text you want. (change the #fff) .list-stats { color: #fff !important } |
Mar 31, 2021 5:40 PM
#728
Hey @Valerio_Lyndon thanks a lot for this before to align the background image from the top going down/* Reposition body background */ body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } If it isn't too much trouble could I get the one for aligning the banner image top to bottom instead of centered too. Thanks. |
LeosparsMar 31, 2021 6:47 PM
Apr 3, 2021 2:55 PM
#729
Leospars said: Hey @Valerio_Lyndon thanks a lot for this before to align the background image from the top going down /* Reposition body background */ body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } If it isn't too much trouble could I get the one for aligning the banner image top to bottom instead of centered too. Thanks. It can be done in a similar manner to the body. Using the correct selector with a background-position property. If "top" doesn't look correct you can try using a percent such as 20% or 30%. /* Reposition banner background */ .cover-block { background-position: center top ; } |
Apr 5, 2021 1:55 AM
#730
Valerio_Lyndon said: Leospars said: Hey @Valerio_Lyndon thanks a lot for this before to align the background image from the top going down /* Reposition body background */ body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } If it isn't too much trouble could I get the one for aligning the banner image top to bottom instead of centered too. Thanks. It can be done in a similar manner to the body. Using the correct selector with a background-position property. If "top" doesn't look correct you can try using a percent such as 20% or 30%. /* Reposition banner background */ .cover-block { background-position: center bottom ; } Thanks again. Recently I was trying to change the background position for each individual status in the case where I have differently sized images so I tried /*Watching*/ [data-query*='status":1'] body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } but it only seems to change the background image in .list-item, the section for each anime title but the body remined the same. Help is much appreciated🙏. |
Apr 5, 2021 8:41 AM
#731
Hey I was just wondering, is there a way to change the color that the text on top of the banner is showing. I tried but I can't get it. |
Apr 5, 2021 9:22 AM
#732
SogekioVic said: Hey I was just wondering, is there a way to change the color that the text on top of the banner is showing. I tried but I can't get it. Just add this code to the bottom of your list and change the "#fff" with the color code you want, DONE #cover-image-container:after { color: #fff; text-shadow: 1px 4px 7px #fff; } |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Apr 5, 2021 9:45 AM
#733
I have been looking for a solution for this. Thank you so much. |
Apr 5, 2021 7:19 PM
#734
Hii again, I've noticed lately that some of the preview images for the anime on my list don't render? I've looked at other friends' lists (that also use Clarity) and all their preview images work. I also tried Safari instead of Google Chrome but it didn't change anything. I've noticed it's always the same anime that don't render an image and the same ones that do. Here are images of an anime with a preview image that doesn't render and one that does: Thanks again for all your help! |
Apr 5, 2021 7:30 PM
#735
mistersunday said: Hii again, I've noticed lately that some of the preview images for the anime on my list don't render? I've looked at other friends' lists (that also use Clarity) and all their preview images work. I also tried Safari instead of Google Chrome but it didn't change anything. I've noticed it's always the same anime that don't render an image and the same ones that do. Here are images of an anime with a preview image that doesn't render and one that does: Thanks again for all your help! You are using the cover image generator import of another user. So, it's only showing the cover images for the anime he has on his list. to fix it, you just have to give your MAL username instead of his. Use this code below https://malscraper.azurewebsites.net/covers/anime/mistersunday/presets/dataimagelinkbefore It should have fixed your problem and have a nice day (send me a friend request, i want more friends) |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Apr 5, 2021 7:33 PM
#736
LEGENDS_OF_ANIME said: mistersunday said: Hii again, I've noticed lately that some of the preview images for the anime on my list don't render? I've looked at other friends' lists (that also use Clarity) and all their preview images work. I also tried Safari instead of Google Chrome but it didn't change anything. I've noticed it's always the same anime that don't render an image and the same ones that do. Here are images of an anime with a preview image that doesn't render and one that does: Thanks again for all your help! You are using the cover image generator import of another user. So, it's only showing the cover images for the anime he has on his list. to fix it, you just have to give your MAL username instead of his. Use this code below https://malscraper.azurewebsites.net/covers/anime/mistersunday/presets/dataimagelinkbefore It should have fixed your problem and have a nice day (send me a friend request, i want more friends) Omg thank you!! this had been bothering me for the past 2 weeks! hahah And yeah def I accepted it! |
Apr 9, 2021 11:25 PM
#737
Leospars said: Recently I was trying to change the background position for each individual status in the case where I have differently sized images so I tried /*Watching*/ [data-query*='status":1'] body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } but it only seems to change the background image in .list-item, the section for each anime title but the body remined the same. Help is much appreciated🙏. Ah yeah, that can seem a bit tricky at first. You've got the right idea with the data-query on the selector. The main problem is each comma is its own individual selector, so they all need the data-query text. Also, the data-query is a modifier of the "body" (this can be seen if you take a look through Inspect Element), so it is in a different position on that selector. Here's an example of your code with the changes. /* Watching */ body[data-query*='status":1'], [data-query*='status":1'] .list-item, [data-query*='status":1'] .data.priority, [data-query*='status":1'] .data.number, [data-query*='status":1'] .data.status:before, [data-query*='status":1'] .data.status:after { background-position: center top !important; } You can either copy-paste that 6 times for each category, like in this example. /* All */ body[data-query*='status":7'], [data-query*='status":7'] .list-item, [data-query*='status":7'] .data.priority, [data-query*='status":7'] .data.number, [data-query*='status":7'] .data.status:before, [data-query*='status":7'] .data.status:after { background-position: center top !important; } /* Watching */ body[data-query*='status":1'], [data-query*='status":1'] .list-item, [data-query*='status":1'] .data.priority, [data-query*='status":1'] .data.number, [data-query*='status":1'] .data.status:before, [data-query*='status":1'] .data.status:after { background-position: center top !important; } /* Completed */ body[data-query*='status":2'], [data-query*='status":2'] .list-item, [data-query*='status":2'] .data.priority, [data-query*='status":2'] .data.number, [data-query*='status":2'] .data.status:before, [data-query*='status":2'] .data.status:after { background-position: center top !important; } /* On Hold */ body[data-query*='status":3'], [data-query*='status":3'] .list-item, [data-query*='status":3'] .data.priority, [data-query*='status":3'] .data.number, [data-query*='status":3'] .data.status:before, [data-query*='status":3'] .data.status:after { background-position: center top !important; } /* Dropped */ body[data-query*='status":4'], [data-query*='status":4'] .list-item, [data-query*='status":4'] .data.priority, [data-query*='status":4'] .data.number, [data-query*='status":4'] .data.status:before, [data-query*='status":4'] .data.status:after { background-position: center top !important; } /* Planned */ body[data-query*='status":6'], [data-query*='status":6'] .list-item, [data-query*='status":6'] .data.priority, [data-query*='status":6'] .data.number, [data-query*='status":6'] .data.status:before, [data-query*='status":6'] .data.status:after { background-position: center top !important; } Or, you could try my preferred option of using variables. It results in much cleaner code. /* All */ [data-query*='status":7'] { --background-position: center top; } /* Watching */ [data-query*='status":1'] { --background-position: center top; } /* Completed */ b[data-query*='status":2'] { --background-position: center top; } /* On Hold */ [data-query*='status":3'] { --background-position: center top; } /* Dropped */ [data-query*='status":4'] { --background-position: center top; } /* Planned */ [data-query*='status":6'] { --background-position: center top; } /* Code */ body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: var(--background-position) !important; } |
Apr 11, 2021 7:37 AM
#738
I apply the css and it was working for like 4 hours and when I open now I cant see it anymore |
Apr 11, 2021 8:23 AM
#739
imnth123 said: I apply the css and it was working for like 4 hours and when I open now I cant see it anymore what are you talking about? please tell that what is it that you can't see |
StoryGraph x Spotify x Instagram “Whether we die or not isn't really that big a deal." — Suzuya Juuzou |
Apr 11, 2021 10:05 PM
#740
[quote=LEGENDS_OF_ANIME message=62729217] imnth123 said: I apply the css and it was working for like 4 hours and when I open now I cant see it anymore wait a sec it works now sorry for the inconvenience |
almondtofu_Apr 11, 2021 10:26 PM
Apr 13, 2021 5:01 PM
#741
Valerio_Lyndon said: Leospars said: Recently I was trying to change the background position for each individual status in the case where I have differently sized images so I tried /*Watching*/ [data-query*='status":1'] body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: center top !important; } but it only seems to change the background image in .list-item, the section for each anime title but the body remined the same. Help is much appreciated🙏. Ah yeah, that can seem a bit tricky at first. You've got the right idea with the data-query on the selector. The main problem is each comma is its own individual selector, so they all need the data-query text. Also, the data-query is a modifier of the "body" (this can be seen if you take a look through Inspect Element), so it is in a different position on that selector. Here's an example of your code with the changes. /* Watching */ body[data-query*='status":1'], [data-query*='status":1'] .list-item, [data-query*='status":1'] .data.priority, [data-query*='status":1'] .data.number, [data-query*='status":1'] .data.status:before, [data-query*='status":1'] .data.status:after { background-position: center top !important; } You can either copy-paste that 6 times for each category, like in this example. /* All */ body[data-query*='status":7'], [data-query*='status":7'] .list-item, [data-query*='status":7'] .data.priority, [data-query*='status":7'] .data.number, [data-query*='status":7'] .data.status:before, [data-query*='status":7'] .data.status:after { background-position: center top !important; } /* Watching */ body[data-query*='status":1'], [data-query*='status":1'] .list-item, [data-query*='status":1'] .data.priority, [data-query*='status":1'] .data.number, [data-query*='status":1'] .data.status:before, [data-query*='status":1'] .data.status:after { background-position: center top !important; } /* Completed */ body[data-query*='status":2'], [data-query*='status":2'] .list-item, [data-query*='status":2'] .data.priority, [data-query*='status":2'] .data.number, [data-query*='status":2'] .data.status:before, [data-query*='status":2'] .data.status:after { background-position: center top !important; } /* On Hold */ body[data-query*='status":3'], [data-query*='status":3'] .list-item, [data-query*='status":3'] .data.priority, [data-query*='status":3'] .data.number, [data-query*='status":3'] .data.status:before, [data-query*='status":3'] .data.status:after { background-position: center top !important; } /* Dropped */ body[data-query*='status":4'], [data-query*='status":4'] .list-item, [data-query*='status":4'] .data.priority, [data-query*='status":4'] .data.number, [data-query*='status":4'] .data.status:before, [data-query*='status":4'] .data.status:after { background-position: center top !important; } /* Planned */ body[data-query*='status":6'], [data-query*='status":6'] .list-item, [data-query*='status":6'] .data.priority, [data-query*='status":6'] .data.number, [data-query*='status":6'] .data.status:before, [data-query*='status":6'] .data.status:after { background-position: center top !important; } Or, you could try my preferred option of using variables. It results in much cleaner code. /* All */ [data-query*='status":7'] { --background-position: center top; } /* Watching */ [data-query*='status":1'] { --background-position: center top; } /* Completed */ b[data-query*='status":2'] { --background-position: center top; } /* On Hold */ [data-query*='status":3'] { --background-position: center top; } /* Dropped */ [data-query*='status":4'] { --background-position: center top; } /* Planned */ [data-query*='status":6'] { --background-position: center top; } /* Code */ body, .list-item, .data.priority, .data.number, .data.status:before, .data.status:after { background-position: var(--background-position) !important; } Thanks I'll use the variable. |
Apr 15, 2021 10:34 AM
#742
Is it possible to change the color of individual score buttons based on their score? For example: .score-1::before { content: "Appalling"; --btn-bg: #242424; <---- something like this? } .score-2::before { content: "Horrid"; --btn-bg: #ea484d; } etc. And I don't mean the color of the box that appears when you hover over a score. I mean the actual button that displays the number which is there when you load the page. |
taniiiiiApr 15, 2021 12:36 PM
Apr 16, 2021 3:31 AM
#743
i have a problem there all working but but when i add CSS code for anime headers i can't see them. @import "https://malcat-gen.appspot.com/headers?template=[data-query*='status":7'] .list-item:nth-child($index){margin-top:48px;}[data-query*='status":7'] .list-item:nth-child($index):before{content:'$content'}"; [data-query*='"status":7'] .list-item:nth-child(2) { margin-top: 32px; } [data-query*='"status":7'] .list-item:before { position: absolute; top: -40px; left: 0; display: block; width: 100%; height: 32px; color: var(--text-head); font: 20px/32px Oswald; text-align: right; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; } Thanks for help <3 |
L3noXApr 16, 2021 3:38 AM
Apr 17, 2021 1:48 PM
#744
L3noX said: i have a problem there all working but but when i add CSS code for anime headers i can't see them. @import "https://malcat-gen.appspot.com/headers?template=[data-query*='status":7'] .list-item:nth-child($index){margin-top:48px;}[data-query*='status":7'] .list-item:nth-child($index):before{content:'$content'}"; [data-query*='"status":7'] .list-item:nth-child(2) { margin-top: 32px; } [data-query*='"status":7'] .list-item:before { position: absolute; top: -40px; left: 0; display: block; width: 100%; height: 32px; color: var(--text-head); font: 20px/32px Oswald; text-align: right; letter-spacing: 1px; text-transform: uppercase; pointer-events: none; } Thanks for help <3 Works fine when I apply it to your list. Have you tried the fix listed on the main post relating to Chrome issues? Here's the import code with the fix applied for you to try it. Put at the top of the CSS. @\import "https://malcat-gen.appspot.com/headers?template=[data-query*='\"status\":7']:not([data-query*='order']):not([data-query*='tag\"']):not([data-query*='\"s\"']) .list-item:nth-child($index){margin-top:48px;}[data-query*='\"status\":7']:not([data-query*='order']):not([data-query*='tag\"']):not([data-query*='\"s\"']) .list-item:nth-child($index):before{content:'$content'}&list=anime&user=L3noX"; Here's the other code to go at the bottom of the CSS: [code] |
Apr 17, 2021 1:59 PM
#746
taniiiii said: Is it possible to change the color of individual score buttons based on their score? For example: .score-1::before { content: "Appalling"; --btn-bg: #242424; <---- something like this? } .score-2::before { content: "Horrid"; --btn-bg: #ea484d; } etc. And I don't mean the color of the box that appears when you hover over a score. I mean the actual button that displays the number which is there when you load the page. It's possible. You need to reset the styling of the main score box and then apply it to the inner score-label box so that we can apply the per-score styling we want. Here's code for that. I have no idea how this will play with other mods. /* Reset some things */ .data.score a { background: none; } /* Add new styling */ .score-label { display: block; width: 26px; height: 26px; background: var(--btn-bg); border-radius: 13px; color: #fff; transition: all 0.3s ease; } /* Score-specific styling */ .score-na { background: #999999; } .score-1 { background: #a90807; } .score-2 { background: #ea484d; } .score-3 { background: #ec654e; } .score-4 { background: #ef874c; } .score-5 { background: #f8c43d; } .score-6 { background: #c1cc36; } .score-7 { background: #9fcd35; } .score-8 { background: #70a020; } .score-9 { background: #426f22; } .score-10 { background: #552573; } /* On Hover */ .score a:not(.edit-disabled):hover .score-label { background: var(--btn-bg-h); color: var(--btn-text-h); } |
Apr 18, 2021 4:47 PM
#747
Hello I had a question for how the code for large covers worked. A few months ago there was this issue for the code for large covers not working because of a change in Chrome so it caused the following code to not work for me:@\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkbefore"; I used this instead and everything was fine: @\import "https://malscraper.azurewebsites.net/covers/anime/USERNAME/presets/dataimagelinkbefore"; The problem is that now, I noticed that some new anime I watch doesn't get a large cover and it stays blank. I wanted to know how I can add a cover for them. I tried switching back to the first code and everything seems fine. The problem is that my list seems significantly laggier and my friends who have bigger lists and tried this, their lists are also much laggier. Wanted to know a fix for this. Thanks in advance! |
Apr 21, 2021 9:45 AM
#748
burnerfistah said: Hello I had a question for how the code for large covers worked. A few months ago there was this issue for the code for large covers not working because of a change in Chrome so it caused the following code to not work for me: @\import "https://malscraper.azurewebsites.net/covers/auto/presets/dataimagelinkbefore"; I used this instead and everything was fine: @\import "https://malscraper.azurewebsites.net/covers/anime/USERNAME/presets/dataimagelinkbefore"; The problem is that now, I noticed that some new anime I watch doesn't get a large cover and it stays blank. I wanted to know how I can add a cover for them. I tried switching back to the first code and everything seems fine. The problem is that my list seems significantly laggier and my friends who have bigger lists and tried this, their lists are also much laggier. Wanted to know a fix for this. Thanks in advance! As far as I know, you can use this instead for the full database, so the covers will be there, but it takes time to load it all. But I noticed that after the first load, I don't get any lag. @\import "https://malscraper.azurewebsites.net/covers/all/anime/presets/dataimagelinkbefore"; You can use this an alternative which is much faster and smoother, but it takes a day sometimes for new anime to be updated @\import "https://malscraper.azurewebsites.net/covers/anime/USERNAME/presets/dataimagelinkbefore"; So you have to choose one or the other. There's no way I've seen to get a cover import that is updated immediately. But you can generate your own preview pics, and this would give you all your preview pics every time but you have to manually update it. So this way you don't have to wait for the newly added anime to update on its own. Maybe that's what you'd prefer? https://myanimelist.net/forum/?topicid=1905344 |
Apr 21, 2021 2:11 PM
#749
I have added this to my CSS to get preview images/*HOVER IMAGE BY BORDER*/ @\import "https://malscraper.azurewebsites.net/covers/anime/Leospars/presets/dataimagelinkbefore"; I noticed I could change the preview pics by changing background image url and added /*Black Clover Preveiw*/ .data.image a[href^="/anime/34572/"]:before{background-image:url(https://i.imgur.com/vd5lehl.png) !important} Since I thought this looked better and was better quality than what MAL had. Image in MAL: ![]() Image preview image changed to Which worked I wasn't sure how to change the image inside the table not the preview image on hover but the default. I got this code from Shishio .data.image a[href*="/34572"]:after { background-image: url(https://i.imgur.com/4QiaK1O.jpg?1); background-color: transparent; content: ""; display: block; margin-left: 0px; margin-top: 0px; position: absolute; background-position: center center; background-size: contain; background-repeat: no-repeat; opacity: 1 !important; } and he said I needed to ask you for the sizes. Help would be much appreciated. thanks in advance. |
LeosparsApr 21, 2021 2:23 PM
More topics from this board
» theme helpthreat - Jul 5 |
5 |
by Zaryf
»»
Aug 21, 5:46 AM |
|
» [CSS] ⭐️ Customize your List Cursor + Cursor FixesShishio-kun - Mar 8, 2021 |
30 |
by Shishio-kun
»»
Jul 28, 3:17 AM |
|
» How To Have Different Banner/Cover image & Background Image For Manga & Anime ListsYasminaRegina - Jul 25 |
2 |
by YasminaRegina
»»
Jul 26, 1:02 AM |
|
Sticky: » 💚 [REPAIR STICKY] Repair/speed up layouts + Request layout fixes ( 1 2 )Shishio-kun - Nov 17, 2023 |
52 |
by LucaBalsa
»»
Jul 6, 2:02 PM |
|
» [CSS/BBCODE] ⭐️ How to view anyone's CSS or BBcodes (for lists, profiles, or clubs)!Shishio-kun - Feb 6, 2012 |
37 |
by sunnysummerday
»»
Jun 11, 7:44 PM |