New
Jan 3, 2017 8:50 PM
#51
Cateinya said: uSourFox said: Hello, I have a little problem with the synopsis, when I try to make the text, pops up an error I checked the generation code with both firefox and chrome and it still work for me. I even tested it with your list and it works fine. Can you tell me what browser you are using (and if possible its version) ? I can't think of anything else that could cause this problem... I use Chrome, but still tried another browser Vivaldi, but got the same error. my version chrome 55.0.2883.87 m |
Go, Bird! |
Jan 4, 2017 1:42 AM
#52
@Cateinya: Hey I'm trying to break your layout down to some basic elements so I can add notes and make customizing easier later for Modern CSS Noobs like me. The basic grid seems to be here, but do you already know how to make the list table stretch out to a % the user can set, along with having it centered? I want ppl to be able to adjust the table width and therefore the number of covers as we had with these layouts: ANy help would be appreciated! /* COVER TEST (Bisho Sailor Moon)*/ a img{ height: 300px !important; width: 200px !important; background-size: contain !important; display: block !important; border: solid gold 3px !important; } .data.image a[href*="/14751/"]:before{ background-image:url('https://myanimelist.cdn-dena.com/images/anime/11/60085.jpg'); } .data.image a:before{ height: 300px; width: 200px; background-size: contain; display: block; border: solid red 3px; content: ""; position: absolute; } /* GRID BASICS*/ .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; padding-bottom: 200px; margin: 0 auto; } .list-table > tbody:first-child { background-color: transparent; display: block; margin-bottom: 50px; margin-top: 50px; } .list-table tbody.list-item { background: transparent; border: none; float: left; padding-left: 33px; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } I can add on the rest of the layout after |
Jan 4, 2017 8:45 AM
#53
uSourFox said: Cateinya said: uSourFox said: Hello, I have a little problem with the synopsis, when I try to make the text, pops up an error I checked the generation code with both firefox and chrome and it still work for me. I even tested it with your list and it works fine. Can you tell me what browser you are using (and if possible its version) ? I can't think of anything else that could cause this problem... I use Chrome, but still tried another browser Vivaldi, but got the same error. my version chrome 55.0.2883.87 m I have exactly the same chrome version so I don't think this is where the problem comes from. Can you try to test if it works with firefox (I don't have vivaldi and I don't think it will work with it anyway) ? Also, check that you copied the whole code and there is no line missing (it could cause this kind of error). |
Jan 4, 2017 9:18 AM
#54
Cateinya said: I have exactly the same chrome version so I don't think this is where the problem comes from. Can you try to test if it works with firefox (I don't have vivaldi and I don't think it will work with it anyway) ? Also, check that you copied the whole code and there is no line missing (it could cause this kind of error). oh, it's work fine with firefox, thank you |
Go, Bird! |
Jan 4, 2017 9:30 AM
#55
@uSourFox I'm glad it finally works. But still, I don't know what the problem was, and honestly, I've run out of ideas. I'll need to investigate further... @Shishio-kun Unfortunately, I don't think it will be easy to add auto resizing to this layout. In fact, I also wanted to have this feature at first, but it would not have worked with the layout. The main purpose of this layout was the overlay positioned either on the left or the right of the cover, depending on the free space around the latter. But it can't be set automatically with css, that's why I had to define the number of covers there will be per line, and then use the "nth-child" selector to position the first 3 overlays on the right of the cover and the last 2 on the left. You can understand now why it was impossible for me to implement the resizing of the list, because it would change the number of covers per line, and thus break the layout. However, here are 2 workarounds to allow this implementation : - Getting rid of the overlay. Since it only displays additional information, it can be removed and this will still make a complete working layout with basic components. - Manually coding the behaviour to adopt when resizing the list, using "media" selector. That is to say, adding code to set the first 2 on the left and the 2 last on the right when there are 4 covers on the row, 4 on the right and 2 on the left for 6 covers... and so on for every possible number. This could be really long... but it would work. Other customizations are possible, but since the code isn't very well sorted, it can be hard to know what to change. I plan to add a customization tutorial with the most asked ones. Also, you can tell me if there some parts of the code you don't understand. |
Jan 4, 2017 5:54 PM
#56
Cateinya said: @uSourFox I'm glad it finally works. But still, I don't know what the problem was, and honestly, I've run out of ideas. I'll need to investigate further... @Shishio-kun Unfortunately, I don't think it will be easy to add auto resizing to this layout. In fact, I also wanted to have this feature at first, but it would not have worked with the layout. The main purpose of this layout was the overlay positioned either on the left or the right of the cover, depending on the free space around the latter. But it can't be set automatically with css, that's why I had to define the number of covers there will be per line, and then use the "nth-child" selector to position the first 3 overlays on the right of the cover and the last 2 on the left. You can understand now why it was impossible for me to implement the resizing of the list, because it would change the number of covers per line, and thus break the layout. However, here are 2 workarounds to allow this implementation : - Getting rid of the overlay. Since it only displays additional information, it can be removed and this will still make a complete working layout with basic components. - Manually coding the behaviour to adopt when resizing the list, using "media" selector. That is to say, adding code to set the first 2 on the left and the 2 last on the right when there are 4 covers on the row, 4 on the right and 2 on the left for 6 covers... and so on for every possible number. This could be really long... but it would work. Other customizations are possible, but since the code isn't very well sorted, it can be hard to know what to change. I plan to add a customization tutorial with the most asked ones. Also, you can tell me if there some parts of the code you don't understand. @cateinya: Ah nevermind! I got something going just now. Can you explain how the codes in red work please? I haven't seen something like this before. a img{ height: 300px !important; width: 200px !important; background-size: contain !important; display: block !important; border: solid gold 3px !important; } .data.image a[href*="/14751/"]:before{ background-image:url('https://myanimelist.cdn-dena.com/images/anime/11/60085.jpg'); } .data.image a:before{ height: 300px; width: 200px; background-size: contain; display: block; border: solid red 3px; content: ""; position: absolute; } .list-container { width: 100%; } .list-unit{ width: 90%; } .list-table tbody.list-item { float: left; padding-left: 33px; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; } .list-table > tbody:first-child { display: block; } The second workaround would be fine, I've used @media to resize layouts before, I have a template for it. It might even be used in that wide blue one I posted. Here is the template I've used for a while: /* Base styles here for below 1000px */ body {background: green;} /* Media query for devices above 1000px */ @media all and (min-device-width:1001px) { body {background: red;} } /* Media query for devices above 1024px */ @media all and (min-device-width:1025px) { body {background: black;} } /* Media query for devices above 1140px */ @media all and (min-device-width:1141px) { body {background: teal;} } /* Media query for devices above 1280px */ @media all and (min-device-width:1281px) { body {background: blue;} } /* Media query for devices above 1366px */ @media all and (min-device-width:1367px) { body {background: orange;} } /* Media query for devices above 1440px */ @media all and (min-device-width:1441px) { body {background: purple;} } /* Media query for devices above 1600px */ @media all and (min-device-width:1601px) { body {background: brown;} } /* Media query for devices above 1680px */ @media all and (min-device-width:1681px) { body {background: silver;} } /* Media query for devices above 1920px */ @media all and (min-device-width:1921px) { body {background: gold;} } Can you tell me what the selectors are who control the width of the list and number of covers per row please? (later I'll look into it myself on my own list as well) Basically I'm going to try to make a "takes up the full screen version" in addition to the normal "only shows 4 covers per row version". Oh and this is the current version of your CSS I'm working with: a img{ height: 300px !important; width: 200px !important; background-size: contain !important; display: block !important; border: solid gold 3px !important; } .data.image a[href*="/14751/"]:before{ background-image:url('https://myanimelist.cdn-dena.com/images/anime/11/60085.jpg'); } .data.image a:before{ height: 300px; width: 200px; background-size: contain; display: block; border: solid red 3px; content: ""; position: absolute; } /* BACKGROUND */ /* GRID BASICS*/ .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; } .list-table > tbody:first-child { background-color: teal; display: block; } .list-table tbody.list-item { background: orange; float: left; padding-left: 33px; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } |
Shishio-kunJan 4, 2017 11:02 PM
Jan 5, 2017 3:52 AM
#57
btw can you (or tell me how to) move the wheel to side like this? If you don't have the time I can look into later. |
Jan 5, 2017 9:56 AM
#58
Shishio-kun said: .list-table tbody.list-item { float: left; padding-left: 33px; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; } These are variables. They work like labels : they have a name and are attached to a value. You first declare the label (for example, --width-img: 178px links the value "178px" to the label "--width-img"), and then you can use the name anywhere in the code to refer to its value (for example in width: var(--width-img) the whole "var(--width-img)" will be replaced by 178px when the browser process it, so the width's value will be 178px). It reduces repetitions inside the code and is especially useful when computing the position of the overlay, as I explain it below. The following code position the overlay (with margin-left) using a specific variable for the two possible positions : --margin-left-data-std for right and --margin-left-data-last-in-row for left (nth-of-type(5n) and nth-of-type(5n + 1) selectors target the 2 last covers on each row). /* default position */ .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-std); z-index: 1; } /* information on the left (end of line) */ .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-last-in-row); } These 2 variables are computed using calc in following code. It is useful because it allows me to define a variable --margin-left-data-adjusted used inside the formula and I will just have to change its value for each data item. .data, .more-info { --margin-left-data-std: calc( var(--padding-h-img) + var(--margin-left-data-adjusted) ); --margin-left-data-last-in-row: calc(-1 * ( var(--width-img) + var(--width-info) + var(--padding-h-img) ) + var(--margin-left-data-adjusted) ); --margin-left-data-adjusted: 0px; border: none !important; color: black; } With the following code, the type is now positioned 60px from the top and 200px from the left of the overlay (which is pretty useful). .data.type { --margin-left-data-adjusted: 200px; margin-top: 60px; z-index: 2 !important; } So if you want to change the size of the covers, just change the value after --height-img and --width-img. That's how it works. Unfortunately, Internet Explorer doesn't support this (unlike most of modern browsers), so I added a fix at the end of the layout (~ l. 1177 after @supports not (margin-left:var(--checkvar)) ) which is basically the computation of all the formulas and all you need to add to get rid of all the lines with variables. So if you don't want to be bothered by it, just remove the lines with variables and move the code inside theses brackets into the main code of the layout. Shishio-kun said: btw can you (or tell me how to) move the wheel to side like this? If you don't have the time I can look into later. Here are the modifications you need to do to position it on the left of the list (~ l. 265). This is not the best way to do it (it's using transform), but it does the work. #status-menu { /* box with overflow:hidden for semicircle */ background: transparent; border-bottom: none; height: 16em; left: 88px; margin-left: -16em; margin-top: -16em; overflow: hidden; pointer-events: none; position: fixed; top:50%; transform: rotateZ(90deg); width: 32em; } |
Jan 17, 2017 2:09 PM
#59
Really weird that Firefox fails to load the cover images for me while it looks fine using Chrome. I'm using Firefox 50.1.0 currently. Anyone having the same issues or someone knows how to fix this? :/ |
(-.-)V |
Jan 17, 2017 5:39 PM
#60
Really weird that Firefox fails to load the cover images for me while it looks fine using Chrome. I'm using Firefox 50.1.0 currently. Anyone having the same issues or someone knows how to fix this? :/ @Cateinya This is happening because the covers import is in the DropBox import. It needs to be directly within the user's CSS to work properly |
Jan 17, 2017 8:43 PM
#61
@cateinya: Would you be ok with us updating the source code in the original post for this layout for all or any of these things: * notes are adjusted for user customization * there's a 4 columns version and full-page version (as in you see as many columns as possible for the page width). * Will use this for covers @import url(https://malcat-gen.appspot.com/series?preset=dataimagelinkbefore); * Default thumbnails show up what behind the high quality covers (so they will be visible if the cover import dies). * some extra customizations ppl can add which aren't in the source code (add on CSS) It's ok if not; what I would do is share you my updated version of the OP here and you can edit it, and we go back and forth until it's suitable. It would probably need your help anyhow. That would be awesome! Depends on what you want or is comfortable with you, I don't want to encroach. |
Jan 18, 2017 12:01 AM
#62
@Cateinya First of all great work! I really like how everything is set-up, all neat looking :) I've got a question for you though: I'm quite a newbie with the CSS but I've been wondering is it possible to add just one part of your theme to my list? I'd really like the hover option (the box the pops-up when you mouseover a specific anime) that shows: Anime information (Premiered, Type, rated, Studios, Licensors) on my list. Is that possible and if so could you tell me which parts of the code I'd need? Also would it be possible to add Tags to "Anime Information" box? Sorry to bother you with trivial matters but I'd really appreciate your answer :) Best of luck on your future projects! |
Jan 18, 2017 11:19 AM
#63
Doomcat55 said: Really weird that Firefox fails to load the cover images for me while it looks fine using Chrome. I'm using Firefox 50.1.0 currently. Anyone having the same issues or someone knows how to fix this? :/ @Cateinya This is happening because the covers import is in the DropBox import. It needs to be directly within the user's CSS to work properly @iamtaicho It's exactly as Doomcat55 said. You can still use dropbox to host the code, but for the cover import link to work, you have to put the link (~ l.10) at the same place than your dropbox link (in the "custom CSS" part of your theme), but before the dropbox link. @Shishio-kun I'm ok with you updating the original post to update the code and add these features. I'll then check the updated code so I can still help people having problems using it. Anyway I will update my works in progress to follow these rules as well. However, if I remember correctly, I had to split the tutorial into different parts because there weren't enough place in the first post. So if you plan to do the same with the customization part, I would rather post this part myself so I can add other items afterwards. @Lobnowow Thank you ! Regarding your question, yes, you can extract one part of my layout and use it as you like. Below is the extracted code used for the overlay. /* LIST TABLE */ .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; } /* Data rows */ .list-table tbody.list-item { margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } .data, .more-info { --margin-left-data-std: calc( var(--padding-h-img) + var(--margin-left-data-adjusted) ); --margin-left-data-last-in-row: calc(-1 * ( var(--width-img) + var(--width-info) + var(--padding-h-img) ) + var(--margin-left-data-adjusted) ); --margin-left-data-adjusted: 0px; } .data:not(.image), .more-info { /* All data cells hidden*/ position: absolute; visibility: hidden; } /* default position */ .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-std); z-index: 1; } /* information on the left (end of line) */ .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-last-in-row); } .data.title:hover ~ .data { visibility: visible !important; } .data.type:before { content:"Type:"; } .data.type { --margin-left-data-adjusted: 200px; margin-top: 60px; z-index: 2 !important; } /* different place for manga version */ body.manga .data.type { --margin-left-data-adjusted: 10px; margin-top: 65px; } .data.tags { /* white background behind informations */ background-color: rgba(255,255,255,0.9); border-radius: 5px 5px 0px 0px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: auto; min-height: 128px; padding: 0px !important; position: absolute; visibility: hidden; width: var(--width-info); } .data.tags > div { margin-bottom: 28px; margin-top: 100px; padding: 0px 5px 0px 5px; } .data.tags > div > span:first-child:before { border-bottom: 1px solid black; content: "Tags:"; display: block; left: 0; margin-bottom: 5px; padding: 5px; text-align: left; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags:before { /* anime title (generated) */ content: "Anime information"; font-size: 1.5em; height: 30px; left: 0; overflow: hidden; position: absolute; padding: 5px; width: calc(var(--width-info) - 10px); } .data.tags:after { /* anime genres (generated) */ border-bottom: 1px solid black; content:""; left: 0; margin-top: 35px; overflow: hidden; padding: 5px 5px 3px 5px; position: absolute; text-overflow: ellipsis; top: 0; white-space: nowrap; width: calc(var(--width-info) - 10px); } .data.tags > div:before { border-bottom: 1px solid black; content: "Synopsis:"; left: 0; position: absolute; margin-left: 5px; margin-top: -28px; padding: 5px; text-align: left; top: 100%; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags > div:after { /* anime synopsis (generated) */ background-color: rgba(255,255,255,0.9); border-radius: 0px 0px 5px 5px; box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.2), 0 20px 5px 0 rgba(0, 0, 0, 0.19); content: "Not updated... View it directly on anime page."; left: 0; line-height: 1.2em; padding: 5px 5px 10px 5px; position: absolute; text-align: justify; top: 100%; width: calc(var(--width-info) - 10px); } .data.rated:before { content:"Rated:"; } .data.rated { --margin-left-data-adjusted: 300px; margin-top: 60px; } .data.season:before { content: "Premiered:"; } .data.season { --margin-left-data-adjusted: 10px; margin-top: 60px; } .data.studio::before { content: "Studios:"; } .data.studio { --margin-left-data-adjusted: 10px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.licensor::before { content: "Licensors:"; } .data.licensor { --margin-left-data-adjusted: 200px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.magazine::before { content: "Serialized:"; } .data.magazine { --margin-left-data-adjusted: 120px; margin-top: 65px; max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } However, I think this code is really difficult to understand, and thus to reuse, even for a veteran. You can still look at this post where I tried to explain how it works. Since Shishio-kun is at the moment working on an update including a commented version of this layout, I suggest you to wait until it is published, as it may help you have a better understanding. The tag section is already present in the overlay, but is hidden if there is no tag. Try to add one for an entry, and reload the page. It will be displayed on top of the synopsis part. |
Jan 20, 2017 10:38 AM
#64
@Cateinya @Doomcat55 Thanks alot guys. This layout was my most preferred so i wanted it to work properly. Thanks for sharing the great layout Cateinya. :) |
(-.-)V |
Feb 8, 2017 7:40 PM
#65
Cateinya said: @Shishio-kun I'm ok with you updating the original post to update the code and add these features. I'll then check the updated code so I can still help people having problems using it. Anyway I will update my works in progress to follow these rules as well. However, if I remember correctly, I had to split the tutorial into different parts because there weren't enough place in the first post. So if you plan to do the same with the customization part, I would rather post this part myself so I can add other items afterwards. OK thanks for being so willing to work with me! I will try to get to this sometime in the future. It's our most popular one atm I think |
Feb 10, 2017 11:06 PM
#66
@cateinya: I've been thinking the best way to make this code more easy to customize and add more options would be to add sections to the top (notes for newbies) and bottom (other stuff) rather than rewriting any of the original code. edit: I've done my first revision; I added onto the original code without changing anything. How do you feel about this? I added easy cover size changing, the default covers are behind the hi res versions, and a background character can be added. This is NOT a replacement for the style of the original; what I was thinking would be very effective is the original should be updated with these codes after they have been changed to make the layout resemble the original again. So basically this revised version would be restyled to resemble the original layout, so it keeps the ability to change its cover size and add background characters easily. In another part of the topic, we can add notes on how to make use of the customizations so the layout gains new abilities without changing the default version's style. See it here: https://myanimelist.net/animelist/Shishio-kun?status=6 I'd like to add other features later when you're ok with this, thanks! The added codes are in purple. /* Endless Summer Layout by Cateinya Thanks to Syaoran3 (covers) and BurntJelly (genres, synopsis) for their generators */ /* GENERATED STUFF */ /* generated cover */ @import "https://mal-image.appspot.com/auto/?code=.list-item%20.data.image%20a%5Bhref*%3D%22%2F%5BID%5D%2F%22%5D%3Abefore%20%7Bbackground-image%3A%20url(%5BIMG%5D)%3B%7D"; /* generated informations (copy your generated CSS below) */ /* COVER AREA The area taken up by covers. */ .list-block { /* variables used in calc (explicit names) */ --height-img: 350px !important; --width-img: 225px !important; } /* HD COVER SIZE The size of covers seen. */ .data.image a:before{ background-size: cover !important; height: 350px !important; width: 225px !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: 200px !important; width: 129px !important;; } /* Character */ body:after{ background-color: transparent; background: url(http://i.imgur.com/CFaCBUr.png) no-repeat !important; background-position: center top; background-repeat: no-repeat; background-size: contain; content: ""; height: 100%; left: -10%; position: fixed; top: 0; width: 100%; z-index: -1; } /* BACKGROUND */ body:before { background-color: #9492C8; background-image: url(http://i.imgur.com/7JzFw1n.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; content: ""; filter: blur(1px); height: 100%; left: 0; position: fixed; top: 0; width: 100%; will-change: transform; z-index: -2; } /* LINKS */ a { color: black; text-decoration: none !important; } /* HEADER */ .header { margin-bottom: 200px; } .header .header-title { background-image: url("/img/pc/ownlist/logo_mal.png"); } .header .header-menu .btn-menu, .header .header-menu .btn-menu a, .header .header-menu .header-info, .header .header-menu .header-info a { color: white !important; } .header .header-menu .list-menu { /* link to other list */ background-color: rgba(0,0,0,0.5); border: none; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .header .header-menu .list-menu:hover { background-color: rgba(0,0,0,0.7); } .header .header-menu .list-menu .icon-menu { background: transparent !important; color: white !important; } /* LIST MENU */ @media screen and (max-width: 1060px) { /* absolute position for small screen */ .list-menu-float { left: 530px !important; } } .list-menu-float { background: rgba(0,0,0,0.5); border: none; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height:50px; left: 50%; margin-left: -25px; margin-top: 30px; opacity: 0.5; position: absolute; top: 0; transition: all 0.2s ease 0s; width: 50px; } body[data-owner="1"] .list-menu-float:hover { /* larger when viewer is owner (setting buttons) */ margin-left: -225px; width: 450px; } .list-menu-float:hover { margin-left: -175px; opacity: 1; width: 350px; } .list-menu-float:before { /* used for wave effect on hover */ border-radius: 50%; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.75); content: ""; height: 50px; margin-left: -25px; opacity: 0; position: absolute; top: 0; transition: all 0.2s; width: 50px; } .list-menu-float::after { /* fix for hover effect when picture becomes smaller */ border-radius: 50%; content: ""; height: 75px; margin-left: -37.5px; position: absolute; width: 75px; margin-top: -12.5px; } .list-menu-float:hover:before { animation-name: buttonAnimation; animation-duration: 0.2s; animation-timing-function: linear; animation-iteration-count: 1; } @keyframes buttonAnimation { /* wave animation */ 0% { opacity:1; transform:scale(1)} 100% { opacity:0; transform:scale(2); } } .list-menu-float .icon-menu.profile { transform: scale(1.5) translate3d(0px,0px,0px); -moz-backface-visibility: hidden; /* with translate3d above, fix for firefox shaking behaviour */ z-index: 2; } .list-menu-float:hover .icon-menu.profile { transform:scale(1) translate3d(0px,0px,0px); -moz-backface-visibility: hidden; } .list-menu-float .icon-menu, .list-menu-float form { /* All list menu buttons */ border-radius: 25px; display: inline-block; left: 50%; margin-left: -25px; position: absolute; top: 0; transition: all 0.2s ease 0s; width: 50px !important; z-index: 1; } .list-menu-float .icon-menu:not(.profile), .list-menu-float form { background: transparent !important; } .list-menu-float .icon-menu:not(.profile):hover, .list-menu-float form:hover { background: rgba(0,0,0,0.5) !important; } /* buttons positions */ .list-menu-float:hover .icon-menu:nth-child(2) { margin-left: -175px; } .list-menu-float:hover .icon-menu:nth-child(3) { margin-left: -125px; } .list-menu-float:hover .icon-menu:nth-child(4) { margin-left: -75px; } .list-menu-float:hover .icon-menu:nth-child(5) { margin-left: 25px; } .list-menu-float:hover .icon-menu:nth-child(6), .list-menu-float:hover form:nth-child(6) { margin-left: 75px; } .list-menu-float:hover form:nth-child(7) { margin-left: 125px; } .list-menu-float:hover .icon-menu:nth-child(8) { margin-left: 175px; } .list-menu-float .icon-menu .text { /* text display on button hover */ color: black; left: 50%; margin-left: -50px; margin-top: 55px; pointer-events: none; position: absolute; top: 0; transition: none; width: 100px !important; } .icon{ /* All list menu icons */ fill: white !important; } .icon-logout { left: 15px !important; top: 16px !important; } .list-menu-float .icon-menu.setting .text { /* setting button (owner only) */ height: 110px !important; margin-top: 45px; overflow: visible; padding-top: 10px; visibility: hidden; width: 115px !important; } .list-menu-float .icon-menu.setting:hover .text { pointer-events: all; visibility: visible; } .list-menu-float .icon-menu.setting .text a { background: rgba(0,0,0,0.5) !important; border: none !important; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .list-menu-float .icon-menu.setting .text a:first-child { top: 10px !important; } .list-menu-float .icon-menu.setting .text a:last-child { top: 65px !important; } .list-menu-float .icon-menu.setting .text a:hover { background: rgba(0,0,0,0.7) !important; } /* LIST CONTAINER */ #list-container { background-color: transparent !important; border: none; } /* IMAGE BLOCK */ .cover-block { display: none; } /* STATUS MENU */ #status-menu { /* box with overflow:hidden for semicircle */ background: transparent; border-bottom: none; height: 16em; left: 50%; margin-left: -16em; margin-top: -16em; overflow: hidden; pointer-events: none; position: absolute; width: 32em; } #status-menu:after { /* button used to display menu on hover */ background: rgba(0,0,0,0.5); border-radius: 60px 60px 0 0; bottom: 0; color: white; content:"\f0c9"; font-family: FontAwesome; font-size: 1.5em; height: 30px; left: 50%; line-height: 35px; margin-left: -30px; pointer-events: all; position:absolute; text-align: center; transition-delay: 0.35s; width: 60px; } #status-menu:hover:after { background: rgba(0,0,0,0.9); transition-delay: 0s; } .status-menu { /* category menu */ background: rgba(0,0,0,0.5) !important; border-radius: 50%; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: 26em; left: 50%; margin-left: -13em !important; margin-top: -13em !important; pointer-events: all; position: absolute; top: 100%; transform: scale(0.1); transition: all .3s ease; visibility: hidden; width: 26em; } #status-menu:hover .status-menu { transform: scale(1); visibility: visible; } .status-menu .status-button { /* category button */ color: rgba(0, 0, 0, 0) !important; position: absolute !important; font-size: 1.5em !important; width: 10em; height: 10em; transform-origin: 100% 100%; overflow: hidden; left: 0; margin-top: -1.3em !important; margin-left: -1.31em !important; padding: 0 !important; pointer-events: none; } .status-menu .status-button:before { /* category text on hover */ bottom: -8.25em !important; color: black; height: 15.5em !important; left: 1.19em !important; margin-bottom: 1.2em; position: absolute !important; transform: skew(-60deg) rotate(-75deg) scale(1); visibility: hidden; width: 15.5em !important; } .status-menu .status-button:hover:before { visibility: visible; } .status-menu .status-button:after { /* category icon */ background: transparent !important; border-radius: 50%; bottom: -7.25em !important; color: white; font-family: FontAwesome; font-size: 1.18em; height: 14.5em !important; left: 1.19em !important; line-height: 5em; opacity: 1 !important; pointer-events: all; transform: skew(-60deg) rotate(-75deg) scale(1); transition: none !important; width: 14.5em !important; } .status-menu .status-button.on:after, .status-menu .status-button:hover:after { background: rgba(0,0,0,0.5) !important; } .status-menu .status-button:first-child {transform: rotate(0deg) skew(60deg);} .status-menu .status-button:nth-child(2) {transform: rotate(30deg) skew(60deg);} .status-menu .status-button:nth-child(3) {transform: rotate(60deg) skew(60deg)} .status-menu .status-button:nth-child(4) {transform: rotate(90deg) skew(60deg);} .status-menu .status-button:nth-child(5) {transform: rotate(120deg) skew(60deg);} .status-menu .status-button:nth-child(6) {transform: rotate(150deg) skew(60deg);} .status-menu .status-button:first-child:before { content: "All entries"; } .status-menu .status-button:first-child:after { content: "\f03a"; } .status-menu .status-button:nth-child(2):before { content: "Ongoing"; } .status-menu .status-button:nth-child(2):after { content: "\f06e"; } .status-menu .status-button:nth-child(3):before { content: "Completed"; } .status-menu .status-button:nth-child(3):after { content: "\f00c"; } .status-menu .status-button:nth-child(4):before { content: "On hold"; } .status-menu .status-button:nth-child(4):after { content: "\f253"; } .status-menu .status-button:nth-child(5):before { content: "Dropped"; } .status-menu .status-button:nth-child(5):after { content: "\f00d"; } .status-menu .status-button:nth-child(6):before { content: "Planned"; } .status-menu .status-button:nth-child(6):after { content: "\f073"; } /* SEARCH */ .status-menu-container .search-container { display: none; } /* STATUS TITLE */ .list-unit .list-status-title { background: rgba(0,0,0,0.5); border-radius: 70px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); font-size: 2em; padding: 40px 0 40px 0; z-index: 1; } .list-unit .list-status-title .text, .list-unit .list-status-title .stats a { color: white !important; } /* STATS */ .stats { line-height: 2em !important; } .list-unit .list-stats { /* Stat bar */ background-color: transparent; color: white !important; height: 30px !important; margin-top: -35px !important; position: absolute; z-index: 1; } /* FILTER */ #advanced-options { /* fix for window out of screen*/ position: fixed; } /* LIST TABLE */ .status-menu-container.fixed + div.list-block { margin-top: 0px !important; } .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; padding-bottom: 200px; margin: 0 auto; } .list-table { border: none; } /* Sort row */ .list-table > tbody:first-child { background-color: transparent; display: block; margin-bottom: 50px; margin-top: 50px; } .list-table .list-table-header { display: table; text-align: center; width: 100%; } .list-table .list-table-header .header-title:not(.title):not(.score):not(.type):not(.progress):not(.chapters):not(.volumes):not(.rated) { /* hide not sortable headers */ display: none; } .list-table .list-table-header .header-title { background: transparent; border-bottom: none; display: inline-block; margin: 0 20px 0 20px; } .list-table .list-table-header .header-title .link { background: rgba(0,0,0,0.5); border-radius: 20px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); color: white !important; padding: 10px !important; text-align: center; transition: all 0.2s ease 0s !important; } .list-table .list-table-header .header-title .link:hover { background: rgba(0,0,0,0.7); } .list-table .list-table-header .header-title .link .sort-icon { color: white; } /* Data rows */ .list-table tbody.list-item { background: transparent; border: none; float: left; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } .list-table .list-table-data .data a, .list-table .list-table-data a:hover:not(.edit-disabled) { /* remove color conflicts with default themes */ color: unset !important; } .data, .more-info { --margin-left-data-std: calc( var(--padding-h-img) + var(--margin-left-data-adjusted) ); --margin-left-data-last-in-row: calc(-1 * ( var(--width-img) + var(--width-info) + var(--padding-h-img) ) + var(--margin-left-data-adjusted) ); --margin-left-data-adjusted: 0px; border: none !important; color: black; } .data:not(.image), .more-info { /* All data cells hidden*/ position: absolute; visibility: hidden; } .list-item:hover .data.title, .list-item:hover .data.title:after, .list-item:hover .data.score, .list-item:hover .data.progress, .list-item:hover .data.chapter, .list-item:hover .data.volume, .list-item:hover .more-info { /* visible when cover hovered */ visibility: visible; } .data.status { display: none !important; } /* categories colors */ .data.status.watching ~ .data:nth-of-type(n+4):first-letter, .data.status.watching ~ .data.score .link, .data.status.watching ~ .data.progress .link, .data.status.reading ~ .data:nth-of-type(n+4):first-letter, .data.status.reading ~ .data.score .link, .data.status.reading ~ .data.chapter .link, .data.status.reading ~ .data.volume .link { color: #B1C425 !important; font-weight: bold; } .data.status.watching ~ .data.title .link, .data.status.reading ~ .data.title .link { background: #B1C425; border-bottom: 15px solid #B1C425; } .data.status.watching ~ .data.title .link:before, .data.status.reading ~ .data.title .link:before { border-bottom-color: #697700; border-right-color: #697700; } .data.status.watching ~ .data.title .link:after, .data.status.reading ~ .data.title .link:after { border-right-color: #697700; border-top-color: #697700; } .data.status.completed ~ .data:nth-of-type(n+5):first-letter, .data.status.completed ~ .data.score .link, .data.status.completed ~ .data.progress .link, .data.status.completed ~ .data.progress span:first-child, .data.status.completed ~ .data.chapter .link, .data.status.completed ~ .data.chapter span:first-child, .data.status.completed ~ .data.volume .link, .data.status.completed ~ .data.volume span:first-child { color: #1BBCDB !important; font-weight: bold; } .data.status.completed ~ .data.title .link { background: #1BBCDB; border-bottom: 15px solid #1BBCDB; } .data.status.completed ~ .data.title .link:before { border-bottom-color: #027B91; border-right-color: #027B91; } .data.status.completed ~ .data.title .link:after { border-right-color: #027B91; border-top-color: #027B91; } .data.status.onhold ~ .data:nth-of-type(n+5):first-letter, .data.status.onhold ~ .data.score .link, .data.status.onhold ~ .data.progress .link, .data.status.onhold ~ .data.chapter .link, .data.status.onhold ~ .data.volume .link { color: #FA882D !important; font-weight: bold; } .data.status.onhold ~ .data.title .link { background: #FA882D; border-bottom: 15px solid #FA882D; } .data.status.onhold ~ .data.title .link:before { border-bottom-color: #AB4C00; border-right-color: #AB4C00; } .data.status.onhold ~ .data.title .link:after { border-right-color: #AB4C00; border-top-color: #AB4C00; } .data.status.dropped ~ .data:nth-of-type(n+5):first-letter, .data.status.dropped ~ .data.score .link, .data.status.dropped ~ .data.progress .link, .data.status.dropped ~ .data.chapter .link, .data.status.dropped ~ .data.volume .link { color: #B48A3D !important; font-weight: bold; } .data.status.dropped ~ .data.title .link { background: #B48A3D; border-bottom: 15px solid #B48A3D; } .data.status.dropped ~ .data.title .link:before { border-bottom-color: #654203; border-right-color: #654203; } .data.status.dropped ~ .data.title .link:after { border-right-color: #654203; border-top-color: #654203; } .data.status.plantowatch ~ .data:nth-of-type(n+5):first-letter, .data.status.plantowatch ~ .data.score .link, .data.status.plantowatch ~ .data.progress .link, .data.status.plantoread ~ .data:nth-of-type(n+5):first-letter, .data.status.plantoread ~ .data.score .link, .data.status.plantoread ~ .data.chapter .link, .data.status.plantoread ~ .data.volume .link { color: #FFD654 !important; font-weight: bold; } .data.status.plantowatch ~ .data.title .link, .data.status.plantoread ~ .data.title .link { background: #FFD654; border-bottom: 15px solid #FFD654; } .data.status.plantowatch ~ .data.title .link:before, .data.status.plantoread ~ .data.title .link:before { border-bottom-color: #BE9511; border-right-color: #BE9511; } .data.status.plantowatch ~ .data.title .link:after, .data.status.plantoread ~ .data.title .link:after { border-right-color: #BE9511; border-top-color: #BE9511; } /* not displayed data */ .data.number, .data.image .image, .data.title .icon-watch, .data.progress .icon-add-episode, .data.chapter .icon-add-chapter, .data.volume .icon-add-volume, .list-table .list-table-data .tags .edit, .data.started, .data.finished, .data.days, .data.airing-started, .data.airing-finished, .data.storage, .data.retail, .data.priority { display: none !important; } /* default position */ .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-std); z-index: 1; } /* information on the left (end of line) */ .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-last-in-row); } .data.image { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: var(--height-img); overflow: hidden; padding: 0 !important; pointer-events: none; width: var(--width-img); } .data.image a { height: 100%; left: 0px; position: relative; top: 0px; width: 100%; } .data.image a:before { /* anime cover (generated) */ background-position: center center; background-size: cover; content:""; display: block; height: 100%; transition: all 0.2s; width: 100%; } .list-item:hover .data.image a:before { transform: scale(1.2); } .data.title { height: 90px; margin-left: calc(var(--width-img) * -1 - 10px); margin-top: calc(var(--height-img) - 90px); padding: 0 !important; width: calc(var(--width-img) + 10px); } .data.title .link { /* Anime title */ background: #FD3E48; border-bottom: 15px solid #FD3E48; bottom: 0; box-sizing: border-box; color: black; font-size: 1.2em; font-weight: normal !important; margin-bottom: 0; max-height: 85px; padding: 2px 3px 2px 3px !important; position: absolute; text-align: center !important; transition: margin-bottom 0.2s ease 0s; width: 100%; } .data.title .link:before { border: 5px solid; border-top-color: transparent; border-right-color: #B71C1C; border-bottom-color: #B71C1C; border-left-color: transparent; content: ""; height: 0; left: 0; width: 0; margin-top: -10px; position: absolute; top: 0; } .data.title .link:after { border: 5px solid; bottom: 0; border-top-color: #B71C1C; border-right-color: #B71C1C; border-bottom-color: transparent; border-left-color: transparent; content: ""; height: 0; left: 0; margin-bottom: -25px; width: 0; position: absolute; visibility: hidden; } .data.title:hover .link, .data.title:hover .rewatching, .data.title:hover .content-status { margin-bottom: 20px; } .data.title:hover .link:before { visibility: hidden; } .data.title:hover .link:after { visibility: visible; transition-delay: 0.1s; } .data.title:after { bottom: 0; content: "\f0c9"; color: white; font-family: FontAwesome; height: 20px; line-height: 20px; pointer-events: none; position: absolute; right: 0; text-align: center; transition: margin-bottom 0.2s ease 0s, transform 0.2s ease 0s; width: 20px; } .data.title:hover:after { margin-bottom: 20px; transform: rotateZ(180deg) scale(1.5); } .data.title:hover ~ .data { visibility: visible !important; } .data.title .rewatching, .data.title .content-status { bottom: 0; color: black !important; font-size: 1em !important; position: absolute; text-align: center !important; transition: margin-bottom 0.2s ease 0s; width: 100%; } .add-edit-more { background-color: rgba(0,0,0,0.7); bottom: 0; color: white; display: block; height: 0px; margin-right: 0 !important; overflow: hidden; position: absolute; right: 0; text-align: center; transition: all 0.2s ease 0s; width: var(--width-img); } .data.title:hover .add-edit-more { height: 20px; } .add-edit-more a { color: white; } .data.score { background: #333333; border-radius: 50%; font-size: 1.5em; height: 35px; line-height: 35px; margin-left: -40px; margin-top: 5px; padding: 0 !important; text-align: center !important; width: 35px; } .data.score .edit-transition { background: rgba(0,0,0,0.7); color: white; float: left; margin-top:7px; width: 35px; } .data.type:before { content:"Type:"; } .data.type { --margin-left-data-adjusted: 200px; margin-top: 60px; z-index: 2 !important; } /* different place for manga version */ body.manga .data.type { --margin-left-data-adjusted: 10px; margin-top: 65px; } .data.progress, .data.chapter, .data.volume { font-size: 1.5em; margin-left: calc( -1 * var(--width-img) + 5px ); margin-top: 5px; padding: 0 !important; text-align: center !important; } .data.volume { margin-top: 45px; } .data.progress span:first-child, .data.chapter span:first-child, .data.volume span:first-child { background: #333333; border-radius: 50%; float: left; height: 35px; line-height: 35px; overflow: hidden; position: relative; width: 35px; } .data.status:not(.completed) ~ .data.progress span:first-child, .data.status:not(.completed) ~ .data.chapter span:first-child, .data.status:not(.completed) ~ .data.volume span:first-child { font-size: 0px; } .data.progress span:first-child a, .data.chapter span:first-child a, .data.volume span:first-child a { display: table; font-size: 16.5px; width: 100%; } .data.progress span:first-child input, .data.chapter span:first-child input, .data.volume span:first-child input { background: transparent; border: none; color: white; float: left; margin-top:7px; text-align: center; width: 35px; } .data.progress span:nth-of-type(2), .data.chapter span:nth-of-type(2), .data.volume span:nth-of-type(2) { background: #BBBBBB; border-radius: 0 18px 18px 0; float: left; line-height: 35px; margin-left: -17px; min-width: 15px; padding-left: 19px; padding-right: 5px; } .data.tags { /* white background behind informations */ background-color: rgba(255,255,255,0.9); border-radius: 5px 5px 0px 0px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: auto; min-height: 128px; padding: 0px !important; position: absolute; visibility: hidden; width: var(--width-info); } .data.tags > div { margin-bottom: 28px; margin-top: 100px; padding: 0px 5px 0px 5px; } .data.tags > div > span:first-child:before { border-bottom: 1px solid black; content: "Tags:"; display: block; left: 0; margin-bottom: 5px; padding: 5px; text-align: left; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags:before { /* anime title (generated) */ content: "Anime information"; font-size: 1.5em; height: 30px; left: 0; overflow: hidden; position: absolute; padding: 5px; width: calc(var(--width-info) - 10px); } .data.tags:after { /* anime genres (generated) */ border-bottom: 1px solid black; content:""; left: 0; margin-top: 35px; overflow: hidden; padding: 5px 5px 3px 5px; position: absolute; text-overflow: ellipsis; top: 0; white-space: nowrap; width: calc(var(--width-info) - 10px); } .data.tags > div:before { border-bottom: 1px solid black; content: "Synopsis:"; left: 0; position: absolute; margin-left: 5px; margin-top: -28px; padding: 5px; text-align: left; top: 100%; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags > div:after { /* anime synopsis (generated) */ background-color: rgba(255,255,255,0.9); border-radius: 0px 0px 5px 5px; box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.2), 0 20px 5px 0 rgba(0, 0, 0, 0.19); content: "Not updated... View it directly on anime page."; left: 0; line-height: 1.2em; padding: 5px 5px 10px 5px; position: absolute; text-align: justify; top: 100%; width: calc(var(--width-info) - 10px); } .data.rated:before { content:"Rated:"; } .data.rated { --margin-left-data-adjusted: 300px; margin-top: 60px; } .data.season:before { content: "Premiered:"; } .data.season { --margin-left-data-adjusted: 10px; margin-top: 60px; } .data.studio::before { content: "Studios:"; } .data.studio { --margin-left-data-adjusted: 10px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.licensor::before { content: "Licensors:"; } .data.licensor { --margin-left-data-adjusted: 200px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.magazine::before { content: "Serialized:"; } .data.magazine { --margin-left-data-adjusted: 120px; margin-top: 65px; max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .more-info { background-color: rgba(0,0,0,0.7); color: white !important; height: 150px; margin-left: 5px; margin-top: calc(-1 * var(--height-img) + 5px); overflow: auto; width: calc(var(--width-img) - 10px ); } .more-info a { color: white !important; } /* FOOTER */ #footer-block { background: transparent; } #copyright { color: white; } #copyright:after { /* Custom copyright text */ content: "Endless Summer Layout by Cateinya."; } /* OTHER */ /* fix for browsers that do not support variables (IE I'm looking at you) */ /* Note : those browsers seems to have dificulties with transform too (used in category menu). Fix not found yet */ @supports not (margin-left:var(--checkvar)) { .list-table tbody.list-item { margin: 7px 13px 7px 13px; width: 178px; } .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: 13px; } .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: -591px; } .data.image { height: 250px; width: 178px; } .data.title { margin-left: -188px; margin-top: 160px; width: 188px; } .add-edit-more { width: 178px; } .data.type { margin-left: 213px !important; } .list-item:nth-of-type(5n) .data.type, .list-item:nth-of-type(5n + 1) .data.type { margin-left: -391px !important; } body.manga .data.type { margin-left: 23px !important; } body.manga .list-item:nth-of-type(5n) .data.type, body.manga .list-item:nth-of-type(5n + 1) .data.type { margin-left: -581px !important; } .data.progress, .data.chapter, .data.volume { margin-left: -173px; } .data.tags { margin-left: 201px; width: 400px; } .list-item:nth-of-type(5n) .data.tags, .list-item:nth-of-type(5n + 1) .data.tags { margin-left: -403px; } .data.tags:before { width: 390px; } .data.tags > div > span:first-child:before { width: 380px; } .data.tags:after { width: 390px; } .data.tags > div:before { width: 380px; } .data.tags > div:after { width: 390px; } .data.rated { margin-left: 313px !important; } .list-item:nth-of-type(5n) .data.rated, .list-item:nth-of-type(5n + 1) .data.rated { margin-left: -291px !important; } .data.season { margin-left: 23px !important; } .list-item:nth-of-type(5n) .data.season, .list-item:nth-of-type(5n + 1) .data.season { margin-left: -581px !important; } .data.studio { margin-left: 23px !important; } .list-item:nth-of-type(5n) .data.studio, .list-item:nth-of-type(5n + 1) .data.studio { margin-left: -581px !important; } .data.licensor { margin-left: 213px !important; } .list-item:nth-of-type(5n) .data.licensor, .list-item:nth-of-type(5n + 1) .data.licensor { margin-left: -391px !important; } .data.magazine { margin-left: 133px !important; } .list-item:nth-of-type(5n) .data.magazine, .list-item:nth-of-type(5n + 1) .data.magazine { margin-left: -471px !important; } .more-info { margin-top: -245px; width: 168px; } .list-table:before { background: rgba(0,0,0,0.5); border-radius: 30px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); color: white; content: "It seems like your browser does not support some of the features of my layout. This may result in a bad experience while browsing my list ! Try viewing this page with another browser (Chrome or Firefox are fine)."; display: block; font-size: 1.5em; margin-top: 100px; padding: 10px; text-align: center; } } /* shishio changes*/ .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; } What do you think? |
Shishio-kunFeb 11, 2017 4:21 AM
Feb 11, 2017 4:15 AM
#67
OK and here's a second revision! This is the original style but with the default covers hidden behind the HD ones (for when the import fails) and this also has the ability to change the cover size and add a background character! So basically it's the same just with additional features if the user wishes to use them. I'd like to tell the user how to make those changes in additional posts after the original. https://myanimelist.net/animelist/Shishio-kun?status=6 Stuff that's been added in purple, everything else should be the same as the original source code. /* Endless Summer Layout by Cateinya Thanks to Syaoran3 (covers) and BurntJelly (genres, synopsis) for their generators */ /* GENERATED STUFF */ /* generated cover */ @import "https://mal-image.appspot.com/auto/?code=.list-item%20.data.image%20a%5Bhref*%3D%22%2F%5BID%5D%2F%22%5D%3Abefore%20%7Bbackground-image%3A%20url(%5BIMG%5D)%3B%7D"; /* generated informations (copy your generated CSS below) */ /* 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: 200px !important; width: 129px !important;; } /* CHARACTER */ body:after{ background-color: transparent; background: url() no-repeat !important; background-position: center top; background-repeat: no-repeat; background-size: contain; content: ""; height: 100%; left: -10%; position: fixed; top: 0; width: 100%; z-index: -1; } /* BACKGROUND */ body:before { background-color: #9492C8; background-image: url(http://i.imgur.com/7JzFw1n.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; content: ""; filter: blur(1px); height: 100%; left: 0; position: fixed; top: 0; width: 100%; will-change: transform; z-index: -2; } /* LINKS */ a { color: black; text-decoration: none !important; } /* HEADER */ .header { margin-bottom: 200px; } .header .header-title { background-image: url("/img/pc/ownlist/logo_mal.png"); } .header .header-menu .btn-menu, .header .header-menu .btn-menu a, .header .header-menu .header-info, .header .header-menu .header-info a { color: white !important; } .header .header-menu .list-menu { /* link to other list */ background-color: rgba(0,0,0,0.5); border: none; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .header .header-menu .list-menu:hover { background-color: rgba(0,0,0,0.7); } .header .header-menu .list-menu .icon-menu { background: transparent !important; color: white !important; } /* LIST MENU */ @media screen and (max-width: 1060px) { /* absolute position for small screen */ .list-menu-float { left: 530px !important; } } .list-menu-float { background: rgba(0,0,0,0.5); border: none; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height:50px; left: 50%; margin-left: -25px; margin-top: 30px; opacity: 0.5; position: absolute; top: 0; transition: all 0.2s ease 0s; width: 50px; } body[data-owner="1"] .list-menu-float:hover { /* larger when viewer is owner (setting buttons) */ margin-left: -225px; width: 450px; } .list-menu-float:hover { margin-left: -175px; opacity: 1; width: 350px; } .list-menu-float:before { /* used for wave effect on hover */ border-radius: 50%; box-shadow: 0px 0px 50px 10px rgba(0, 0, 0, 0.75); content: ""; height: 50px; margin-left: -25px; opacity: 0; position: absolute; top: 0; transition: all 0.2s; width: 50px; } .list-menu-float::after { /* fix for hover effect when picture becomes smaller */ border-radius: 50%; content: ""; height: 75px; margin-left: -37.5px; position: absolute; width: 75px; margin-top: -12.5px; } .list-menu-float:hover:before { animation-name: buttonAnimation; animation-duration: 0.2s; animation-timing-function: linear; animation-iteration-count: 1; } @keyframes buttonAnimation { /* wave animation */ 0% { opacity:1; transform:scale(1)} 100% { opacity:0; transform:scale(2); } } .list-menu-float .icon-menu.profile { transform: scale(1.5) translate3d(0px,0px,0px); -moz-backface-visibility: hidden; /* with translate3d above, fix for firefox shaking behaviour */ z-index: 2; } .list-menu-float:hover .icon-menu.profile { transform:scale(1) translate3d(0px,0px,0px); -moz-backface-visibility: hidden; } .list-menu-float .icon-menu, .list-menu-float form { /* All list menu buttons */ border-radius: 25px; display: inline-block; left: 50%; margin-left: -25px; position: absolute; top: 0; transition: all 0.2s ease 0s; width: 50px !important; z-index: 1; } .list-menu-float .icon-menu:not(.profile), .list-menu-float form { background: transparent !important; } .list-menu-float .icon-menu:not(.profile):hover, .list-menu-float form:hover { background: rgba(0,0,0,0.5) !important; } /* buttons positions */ .list-menu-float:hover .icon-menu:nth-child(2) { margin-left: -175px; } .list-menu-float:hover .icon-menu:nth-child(3) { margin-left: -125px; } .list-menu-float:hover .icon-menu:nth-child(4) { margin-left: -75px; } .list-menu-float:hover .icon-menu:nth-child(5) { margin-left: 25px; } .list-menu-float:hover .icon-menu:nth-child(6), .list-menu-float:hover form:nth-child(6) { margin-left: 75px; } .list-menu-float:hover form:nth-child(7) { margin-left: 125px; } .list-menu-float:hover .icon-menu:nth-child(8) { margin-left: 175px; } .list-menu-float .icon-menu .text { /* text display on button hover */ color: black; left: 50%; margin-left: -50px; margin-top: 55px; pointer-events: none; position: absolute; top: 0; transition: none; width: 100px !important; } .icon{ /* All list menu icons */ fill: white !important; } .icon-logout { left: 15px !important; top: 16px !important; } .list-menu-float .icon-menu.setting .text { /* setting button (owner only) */ height: 110px !important; margin-top: 45px; overflow: visible; padding-top: 10px; visibility: hidden; width: 115px !important; } .list-menu-float .icon-menu.setting:hover .text { pointer-events: all; visibility: visible; } .list-menu-float .icon-menu.setting .text a { background: rgba(0,0,0,0.5) !important; border: none !important; border-radius: 25px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); } .list-menu-float .icon-menu.setting .text a:first-child { top: 10px !important; } .list-menu-float .icon-menu.setting .text a:last-child { top: 65px !important; } .list-menu-float .icon-menu.setting .text a:hover { background: rgba(0,0,0,0.7) !important; } /* LIST CONTAINER */ #list-container { background-color: transparent !important; border: none; } /* IMAGE BLOCK */ .cover-block { display: none; } /* STATUS MENU */ #status-menu { /* box with overflow:hidden for semicircle */ background: transparent; border-bottom: none; height: 16em; left: 50%; margin-left: -16em; margin-top: -16em; overflow: hidden; pointer-events: none; position: absolute; width: 32em; } #status-menu:after { /* button used to display menu on hover */ background: rgba(0,0,0,0.5); border-radius: 60px 60px 0 0; bottom: 0; color: white; content:"\f0c9"; font-family: FontAwesome; font-size: 1.5em; height: 30px; left: 50%; line-height: 35px; margin-left: -30px; pointer-events: all; position:absolute; text-align: center; transition-delay: 0.35s; width: 60px; } #status-menu:hover:after { background: rgba(0,0,0,0.9); transition-delay: 0s; } .status-menu { /* category menu */ background: rgba(0,0,0,0.5) !important; border-radius: 50%; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: 26em; left: 50%; margin-left: -13em !important; margin-top: -13em !important; pointer-events: all; position: absolute; top: 100%; transform: scale(0.1); transition: all .3s ease; visibility: hidden; width: 26em; } #status-menu:hover .status-menu { transform: scale(1); visibility: visible; } .status-menu .status-button { /* category button */ color: rgba(0, 0, 0, 0) !important; position: absolute !important; font-size: 1.5em !important; width: 10em; height: 10em; transform-origin: 100% 100%; overflow: hidden; left: 0; margin-top: -1.3em !important; margin-left: -1.31em !important; padding: 0 !important; pointer-events: none; } .status-menu .status-button:before { /* category text on hover */ bottom: -8.25em !important; color: black; height: 15.5em !important; left: 1.19em !important; margin-bottom: 1.2em; position: absolute !important; transform: skew(-60deg) rotate(-75deg) scale(1); visibility: hidden; width: 15.5em !important; } .status-menu .status-button:hover:before { visibility: visible; } .status-menu .status-button:after { /* category icon */ background: transparent !important; border-radius: 50%; bottom: -7.25em !important; color: white; font-family: FontAwesome; font-size: 1.18em; height: 14.5em !important; left: 1.19em !important; line-height: 5em; opacity: 1 !important; pointer-events: all; transform: skew(-60deg) rotate(-75deg) scale(1); transition: none !important; width: 14.5em !important; } .status-menu .status-button.on:after, .status-menu .status-button:hover:after { background: rgba(0,0,0,0.5) !important; } .status-menu .status-button:first-child {transform: rotate(0deg) skew(60deg);} .status-menu .status-button:nth-child(2) {transform: rotate(30deg) skew(60deg);} .status-menu .status-button:nth-child(3) {transform: rotate(60deg) skew(60deg)} .status-menu .status-button:nth-child(4) {transform: rotate(90deg) skew(60deg);} .status-menu .status-button:nth-child(5) {transform: rotate(120deg) skew(60deg);} .status-menu .status-button:nth-child(6) {transform: rotate(150deg) skew(60deg);} .status-menu .status-button:first-child:before { content: "All entries"; } .status-menu .status-button:first-child:after { content: "\f03a"; } .status-menu .status-button:nth-child(2):before { content: "Ongoing"; } .status-menu .status-button:nth-child(2):after { content: "\f06e"; } .status-menu .status-button:nth-child(3):before { content: "Completed"; } .status-menu .status-button:nth-child(3):after { content: "\f00c"; } .status-menu .status-button:nth-child(4):before { content: "On hold"; } .status-menu .status-button:nth-child(4):after { content: "\f253"; } .status-menu .status-button:nth-child(5):before { content: "Dropped"; } .status-menu .status-button:nth-child(5):after { content: "\f00d"; } .status-menu .status-button:nth-child(6):before { content: "Planned"; } .status-menu .status-button:nth-child(6):after { content: "\f073"; } /* SEARCH */ .status-menu-container .search-container { display: none; } /* STATUS TITLE */ .list-unit .list-status-title { background: rgba(0,0,0,0.5); border-radius: 70px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); font-size: 2em; padding: 40px 0 40px 0; z-index: 1; } .list-unit .list-status-title .text, .list-unit .list-status-title .stats a { color: white !important; } /* STATS */ .stats { line-height: 2em !important; } .list-unit .list-stats { /* Stat bar */ background-color: transparent; color: white !important; height: 30px !important; margin-top: -35px !important; position: absolute; z-index: 1; } /* FILTER */ #advanced-options { /* fix for window out of screen*/ position: fixed; } /* LIST TABLE */ .status-menu-container.fixed + div.list-block { margin-top: 0px !important; } .list-block { /* variables used in calc (explicit names) */ --height-img: 250px; --height-info: 130px; --margin-left-bg-std: calc( var(--padding-h-img) + var(--width-img) + 10px ); --margin-left-bg-last-in-row: calc(-1 * ( var(--width-info) + var(--padding-h-img) ) + 10px ); --padding-h-img: 13px; --padding-v-img: 7px; --width-img: 178px; --width-info: 400px; padding-bottom: 200px; margin: 0 auto; } .list-table { border: none; } /* Sort row */ .list-table > tbody:first-child { background-color: transparent; display: block; margin-bottom: 50px; margin-top: 50px; } .list-table .list-table-header { display: table; text-align: center; width: 100%; } .list-table .list-table-header .header-title:not(.title):not(.score):not(.type):not(.progress):not(.chapters):not(.volumes):not(.rated) { /* hide not sortable headers */ display: none; } .list-table .list-table-header .header-title { background: transparent; border-bottom: none; display: inline-block; margin: 0 20px 0 20px; } .list-table .list-table-header .header-title .link { background: rgba(0,0,0,0.5); border-radius: 20px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); color: white !important; padding: 10px !important; text-align: center; transition: all 0.2s ease 0s !important; } .list-table .list-table-header .header-title .link:hover { background: rgba(0,0,0,0.7); } .list-table .list-table-header .header-title .link .sort-icon { color: white; } /* Data rows */ .list-table tbody.list-item { background: transparent; border: none; float: left; margin: var(--padding-v-img) var(--padding-h-img) var(--padding-v-img) var(--padding-h-img); width: var(--width-img); } .list-table .list-table-data .data a, .list-table .list-table-data a:hover:not(.edit-disabled) { /* remove color conflicts with default themes */ color: unset !important; } .data, .more-info { --margin-left-data-std: calc( var(--padding-h-img) + var(--margin-left-data-adjusted) ); --margin-left-data-last-in-row: calc(-1 * ( var(--width-img) + var(--width-info) + var(--padding-h-img) ) + var(--margin-left-data-adjusted) ); --margin-left-data-adjusted: 0px; border: none !important; color: black; } .data:not(.image), .more-info { /* All data cells hidden*/ position: absolute; visibility: hidden; } .list-item:hover .data.title, .list-item:hover .data.title:after, .list-item:hover .data.score, .list-item:hover .data.progress, .list-item:hover .data.chapter, .list-item:hover .data.volume, .list-item:hover .more-info { /* visible when cover hovered */ visibility: visible; } .data.status { display: none !important; } /* categories colors */ .data.status.watching ~ .data:nth-of-type(n+4):first-letter, .data.status.watching ~ .data.score .link, .data.status.watching ~ .data.progress .link, .data.status.reading ~ .data:nth-of-type(n+4):first-letter, .data.status.reading ~ .data.score .link, .data.status.reading ~ .data.chapter .link, .data.status.reading ~ .data.volume .link { color: #B1C425 !important; font-weight: bold; } .data.status.watching ~ .data.title .link, .data.status.reading ~ .data.title .link { background: #B1C425; border-bottom: 15px solid #B1C425; } .data.status.watching ~ .data.title .link:before, .data.status.reading ~ .data.title .link:before { border-bottom-color: #697700; border-right-color: #697700; } .data.status.watching ~ .data.title .link:after, .data.status.reading ~ .data.title .link:after { border-right-color: #697700; border-top-color: #697700; } .data.status.completed ~ .data:nth-of-type(n+5):first-letter, .data.status.completed ~ .data.score .link, .data.status.completed ~ .data.progress .link, .data.status.completed ~ .data.progress span:first-child, .data.status.completed ~ .data.chapter .link, .data.status.completed ~ .data.chapter span:first-child, .data.status.completed ~ .data.volume .link, .data.status.completed ~ .data.volume span:first-child { color: #1BBCDB !important; font-weight: bold; } .data.status.completed ~ .data.title .link { background: #1BBCDB; border-bottom: 15px solid #1BBCDB; } .data.status.completed ~ .data.title .link:before { border-bottom-color: #027B91; border-right-color: #027B91; } .data.status.completed ~ .data.title .link:after { border-right-color: #027B91; border-top-color: #027B91; } .data.status.onhold ~ .data:nth-of-type(n+5):first-letter, .data.status.onhold ~ .data.score .link, .data.status.onhold ~ .data.progress .link, .data.status.onhold ~ .data.chapter .link, .data.status.onhold ~ .data.volume .link { color: #FA882D !important; font-weight: bold; } .data.status.onhold ~ .data.title .link { background: #FA882D; border-bottom: 15px solid #FA882D; } .data.status.onhold ~ .data.title .link:before { border-bottom-color: #AB4C00; border-right-color: #AB4C00; } .data.status.onhold ~ .data.title .link:after { border-right-color: #AB4C00; border-top-color: #AB4C00; } .data.status.dropped ~ .data:nth-of-type(n+5):first-letter, .data.status.dropped ~ .data.score .link, .data.status.dropped ~ .data.progress .link, .data.status.dropped ~ .data.chapter .link, .data.status.dropped ~ .data.volume .link { color: #B48A3D !important; font-weight: bold; } .data.status.dropped ~ .data.title .link { background: #B48A3D; border-bottom: 15px solid #B48A3D; } .data.status.dropped ~ .data.title .link:before { border-bottom-color: #654203; border-right-color: #654203; } .data.status.dropped ~ .data.title .link:after { border-right-color: #654203; border-top-color: #654203; } .data.status.plantowatch ~ .data:nth-of-type(n+5):first-letter, .data.status.plantowatch ~ .data.score .link, .data.status.plantowatch ~ .data.progress .link, .data.status.plantoread ~ .data:nth-of-type(n+5):first-letter, .data.status.plantoread ~ .data.score .link, .data.status.plantoread ~ .data.chapter .link, .data.status.plantoread ~ .data.volume .link { color: #FFD654 !important; font-weight: bold; } .data.status.plantowatch ~ .data.title .link, .data.status.plantoread ~ .data.title .link { background: #FFD654; border-bottom: 15px solid #FFD654; } .data.status.plantowatch ~ .data.title .link:before, .data.status.plantoread ~ .data.title .link:before { border-bottom-color: #BE9511; border-right-color: #BE9511; } .data.status.plantowatch ~ .data.title .link:after, .data.status.plantoread ~ .data.title .link:after { border-right-color: #BE9511; border-top-color: #BE9511; } /* not displayed data */ .data.number, .data.image .image, .data.title .icon-watch, .data.progress .icon-add-episode, .data.chapter .icon-add-chapter, .data.volume .icon-add-volume, .list-table .list-table-data .tags .edit, .data.started, .data.finished, .data.days, .data.airing-started, .data.airing-finished, .data.storage, .data.retail, .data.priority { display: none !important; } /* default position */ .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-std); z-index: 1; } /* information on the left (end of line) */ .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: var(--margin-left-data-last-in-row); } .data.image { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: var(--height-img); overflow: hidden; padding: 0 !important; pointer-events: none; width: var(--width-img); } .data.image a { height: 100%; left: 0px; position: relative; top: 0px; width: 100%; } .data.image a:before { /* anime cover (generated) */ background-position: center center; background-size: cover; content:""; display: block; height: 100%; transition: all 0.2s; width: 100%; } .list-item:hover .data.image a:before { transform: scale(1.2); } .data.title { height: 90px; margin-left: calc(var(--width-img) * -1 - 10px); margin-top: calc(var(--height-img) - 90px); padding: 0 !important; width: calc(var(--width-img) + 10px); } .data.title .link { /* Anime title */ background: #FD3E48; border-bottom: 15px solid #FD3E48; bottom: 0; box-sizing: border-box; color: black; font-size: 1.2em; font-weight: normal !important; margin-bottom: 0; max-height: 85px; padding: 2px 3px 2px 3px !important; position: absolute; text-align: center !important; transition: margin-bottom 0.2s ease 0s; width: 100%; } .data.title .link:before { border: 5px solid; border-top-color: transparent; border-right-color: #B71C1C; border-bottom-color: #B71C1C; border-left-color: transparent; content: ""; height: 0; left: 0; width: 0; margin-top: -10px; position: absolute; top: 0; } .data.title .link:after { border: 5px solid; bottom: 0; border-top-color: #B71C1C; border-right-color: #B71C1C; border-bottom-color: transparent; border-left-color: transparent; content: ""; height: 0; left: 0; margin-bottom: -25px; width: 0; position: absolute; visibility: hidden; } .data.title:hover .link, .data.title:hover .rewatching, .data.title:hover .content-status { margin-bottom: 20px; } .data.title:hover .link:before { visibility: hidden; } .data.title:hover .link:after { visibility: visible; transition-delay: 0.1s; } .data.title:after { bottom: 0; content: "\f0c9"; color: white; font-family: FontAwesome; height: 20px; line-height: 20px; pointer-events: none; position: absolute; right: 0; text-align: center; transition: margin-bottom 0.2s ease 0s, transform 0.2s ease 0s; width: 20px; } .data.title:hover:after { margin-bottom: 20px; transform: rotateZ(180deg) scale(1.5); } .data.title:hover ~ .data { visibility: visible !important; } .data.title .rewatching, .data.title .content-status { bottom: 0; color: black !important; font-size: 1em !important; position: absolute; text-align: center !important; transition: margin-bottom 0.2s ease 0s; width: 100%; } .add-edit-more { background-color: rgba(0,0,0,0.7); bottom: 0; color: white; display: block; height: 0px; margin-right: 0 !important; overflow: hidden; position: absolute; right: 0; text-align: center; transition: all 0.2s ease 0s; width: var(--width-img); } .data.title:hover .add-edit-more { height: 20px; } .add-edit-more a { color: white; } .data.score { background: #333333; border-radius: 50%; font-size: 1.5em; height: 35px; line-height: 35px; margin-left: -40px; margin-top: 5px; padding: 0 !important; text-align: center !important; width: 35px; } .data.score .edit-transition { background: rgba(0,0,0,0.7); color: white; float: left; margin-top:7px; width: 35px; } .data.type:before { content:"Type:"; } .data.type { --margin-left-data-adjusted: 200px; margin-top: 60px; z-index: 2 !important; } /* different place for manga version */ body.manga .data.type { --margin-left-data-adjusted: 10px; margin-top: 65px; } .data.progress, .data.chapter, .data.volume { font-size: 1.5em; margin-left: calc( -1 * var(--width-img) + 5px ); margin-top: 5px; padding: 0 !important; text-align: center !important; } .data.volume { margin-top: 45px; } .data.progress span:first-child, .data.chapter span:first-child, .data.volume span:first-child { background: #333333; border-radius: 50%; float: left; height: 35px; line-height: 35px; overflow: hidden; position: relative; width: 35px; } .data.status:not(.completed) ~ .data.progress span:first-child, .data.status:not(.completed) ~ .data.chapter span:first-child, .data.status:not(.completed) ~ .data.volume span:first-child { font-size: 0px; } .data.progress span:first-child a, .data.chapter span:first-child a, .data.volume span:first-child a { display: table; font-size: 16.5px; width: 100%; } .data.progress span:first-child input, .data.chapter span:first-child input, .data.volume span:first-child input { background: transparent; border: none; color: white; float: left; margin-top:7px; text-align: center; width: 35px; } .data.progress span:nth-of-type(2), .data.chapter span:nth-of-type(2), .data.volume span:nth-of-type(2) { background: #BBBBBB; border-radius: 0 18px 18px 0; float: left; line-height: 35px; margin-left: -17px; min-width: 15px; padding-left: 19px; padding-right: 5px; } .data.tags { /* white background behind informations */ background-color: rgba(255,255,255,0.9); border-radius: 5px 5px 0px 0px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); height: auto; min-height: 128px; padding: 0px !important; position: absolute; visibility: hidden; width: var(--width-info); } .data.tags > div { margin-bottom: 28px; margin-top: 100px; padding: 0px 5px 0px 5px; } .data.tags > div > span:first-child:before { border-bottom: 1px solid black; content: "Tags:"; display: block; left: 0; margin-bottom: 5px; padding: 5px; text-align: left; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags:before { /* anime title (generated) */ content: "Anime information"; font-size: 1.5em; height: 30px; left: 0; overflow: hidden; position: absolute; padding: 5px; width: calc(var(--width-info) - 10px); } .data.tags:after { /* anime genres (generated) */ border-bottom: 1px solid black; content:""; left: 0; margin-top: 35px; overflow: hidden; padding: 5px 5px 3px 5px; position: absolute; text-overflow: ellipsis; top: 0; white-space: nowrap; width: calc(var(--width-info) - 10px); } .data.tags > div:before { border-bottom: 1px solid black; content: "Synopsis:"; left: 0; position: absolute; margin-left: 5px; margin-top: -28px; padding: 5px; text-align: left; top: 100%; width: calc(var(--width-info) - 20px); z-index: 1; } .data.tags > div:after { /* anime synopsis (generated) */ background-color: rgba(255,255,255,0.9); border-radius: 0px 0px 5px 5px; box-shadow: 0 5px 4px 0 rgba(0, 0, 0, 0.2), 0 20px 5px 0 rgba(0, 0, 0, 0.19); content: "Not updated... View it directly on anime page."; left: 0; line-height: 1.2em; padding: 5px 5px 10px 5px; position: absolute; text-align: justify; top: 100%; width: calc(var(--width-info) - 10px); } .data.rated:before { content:"Rated:"; } .data.rated { --margin-left-data-adjusted: 300px; margin-top: 60px; } .data.season:before { content: "Premiered:"; } .data.season { --margin-left-data-adjusted: 10px; margin-top: 60px; } .data.studio::before { content: "Studios:"; } .data.studio { --margin-left-data-adjusted: 10px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.licensor::before { content: "Licensors:"; } .data.licensor { --margin-left-data-adjusted: 200px; margin-top: 80px; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .data.magazine::before { content: "Serialized:"; } .data.magazine { --margin-left-data-adjusted: 120px; margin-top: 65px; max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .more-info { background-color: rgba(0,0,0,0.7); color: white !important; height: 150px; margin-left: 5px; margin-top: calc(-1 * var(--height-img) + 5px); overflow: auto; width: calc(var(--width-img) - 10px ); } .more-info a { color: white !important; } /* FOOTER */ #footer-block { background: transparent; } #copyright { color: white; } #copyright:after { /* Custom copyright text */ content: "Endless Summer Layout by Cateinya."; } /* OTHER */ /* fix for browsers that do not support variables (IE I'm looking at you) */ /* Note : those browsers seems to have dificulties with transform too (used in category menu). Fix not found yet */ @supports not (margin-left:var(--checkvar)) { .list-table tbody.list-item { margin: 7px 13px 7px 13px; width: 178px; } .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: 13px; } .list-item:nth-of-type(5n) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume), .list-item:nth-of-type(5n + 1) .data:not(.title):not(.status):not(.score):not(.progress):not(.chapter):not(.volume) { margin-left: -591px; } .data.image { height: 250px; width: 178px; } .data.title { margin-left: -188px; margin-top: 160px; width: 188px; } .add-edit-more { width: 178px; } .data.type { margin-left: 213px !important; } .list-item:nth-of-type(5n) .data.type, .list-item:nth-of-type(5n + 1) .data.type { margin-left: -391px !important; } body.manga .data.type { margin-left: 23px !important; } body.manga .list-item:nth-of-type(5n) .data.type, body.manga .list-item:nth-of-type(5n + 1) .data.type { margin-left: -581px !important; } .data.progress, .data.chapter, .data.volume { margin-left: -173px; } .data.tags { margin-left: 201px; width: 400px; } .list-item:nth-of-type(5n) .data.tags, .list-item:nth-of-type(5n + 1) .data.tags { margin-left: -403px; } .data.tags:before { width: 390px; } .data.tags > div > span:first-child:before { width: 380px; } .data.tags:after { width: 390px; } .data.tags > div:before { width: 380px; } .data.tags > div:after { width: 390px; } .data.rated { margin-left: 313px !important; } .list-item:nth-of-type(5n) .data.rated, .list-item:nth-of-type(5n + 1) .data.rated { margin-left: -291px !important; } .data.season { margin-left: 23px !important; } .list-item:nth-of-type(5n) .data.season, .list-item:nth-of-type(5n + 1) .data.season { margin-left: -581px !important; } .data.studio { margin-left: 23px !important; } .list-item:nth-of-type(5n) .data.studio, .list-item:nth-of-type(5n + 1) .data.studio { margin-left: -581px !important; } .data.licensor { margin-left: 213px !important; } .list-item:nth-of-type(5n) .data.licensor, .list-item:nth-of-type(5n + 1) .data.licensor { margin-left: -391px !important; } .data.magazine { margin-left: 133px !important; } .list-item:nth-of-type(5n) .data.magazine, .list-item:nth-of-type(5n + 1) .data.magazine { margin-left: -471px !important; } .more-info { margin-top: -245px; width: 168px; } .list-table:before { background: rgba(0,0,0,0.5); border-radius: 30px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); color: white; content: "It seems like your browser does not support some of the features of my layout. This may result in a bad experience while browsing my list ! Try viewing this page with another browser (Chrome or Firefox are fine)."; display: block; font-size: 1.5em; margin-top: 100px; padding: 10px; text-align: center; } } /* shishio changes*/ .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-kunFeb 11, 2017 4:18 AM
Feb 11, 2017 9:25 AM
#68
@Shishio-kun Good job! I looked at the code and the added possibility to display a character seems great. I think it will be easier to customize this way. However I'm not sure to understand what kind of code you want to have at the end. Do you want to keep the default code like this and add customization code at the top with !important to override the default one? Or do you want to split the already existing code into specific parts with comments on how to customize it? The first one would definitely be easier to do, but it will also bring issues for example concerning custom font colors because they are already set using !important in the original code. So maybe a mix of both solutions would be better... When all of this is done, should we make another topic in order to have all the posts together at the begining? PS: I'm sorry I could not answer earlier (I'm quite busy at the moment), but feel free to ask me anything and I'll answer as soon as possible. |
Apr 13, 2017 11:44 AM
#69
This layout is beyond awesome (i'm using it) but I have one question: 1. Why did you add - filter: blur(1px); This made all backgrounds unable to be HD or clear. (I removed it, soz) I also removed the synopsis since I can't be bothered to do the advanced part - I'm just really lazy. |
Apr 13, 2017 2:42 PM
#70
@3ccentricity I used the filter code to blur the background image because it gives a nice effect with the default one used in this layout, and since I wanted to keep the focus on the list itself and not the background image. That being said, if you want your background to be displayed clearly, you can of course remove it. You've got a point. Now that I look back at this layout, I think I should have made 2 different versions: the classic one and the one specially designed to display the synopses. I'll keep it in mind for my next layouts. |
Apr 13, 2017 4:53 PM
#71
Thanks for your quick response. |
May 4, 2017 9:08 AM
#72
Actually before and after installing the theme, the "Modern only" section is still grayed out and so I'm unable to tick the boxes. What could be the reason behind it? And it's showing two different images when I save and submit the code |
May 4, 2017 7:06 PM
#73
@FinalFlash18 It looks like you are still using the classic design, that's why the modern settings are disabled and the list does not display correctly. To switch from classic to modern, you have to follow these steps (first spoiler). Don't forget to click the "save" button under the theme list after switching to modern and selecting the correct theme. |
May 5, 2017 7:40 AM
#74
Cateinya said: @FinalFlash18 It looks like you are still using the classic design, that's why the modern settings are disabled and the list does not display correctly. To switch from classic to modern, you have to follow these steps (first spoiler). Don't forget to click the "save" button under the theme list after switching to modern and selecting the correct theme. Thanks, it worked out. Seems I didn't save the modern style. Also, is it possible to display the completed/dropped/plantowatch anime from a new row under "All anime"? It just gets confusing, that's all. |
May 6, 2017 5:51 PM
#75
FinalFlash18 said: Cateinya said: @FinalFlash18 It looks like you are still using the classic design, that's why the modern settings are disabled and the list does not display correctly. To switch from classic to modern, you have to follow these steps (first spoiler). Don't forget to click the "save" button under the theme list after switching to modern and selecting the correct theme. Thanks, it worked out. Seems I didn't save the modern style. Also, is it possible to display the completed/dropped/plantowatch anime from a new row under "All anime"? It just gets confusing, that's all. I guess what you are asking for is to have a blank space between the different categories while on the "All anime" page, so you can differentiate them because they form more understandable blocks? If yes, unfortunately it is really difficult right now since it is not implemented by MAL. You can have a look at Doomcat55's generator (link here) which provides a workaround. I haven't tried it yet, but I think it will be ok, as long as you do not sort your list or use the search system (which could result in headers being randomly placed in the list). |
May 12, 2017 11:02 AM
#76
Cateinya said: I guess what you are asking for is to have a blank space between the different categories while on the "All anime" page, so you can differentiate them because they form more understandable blocks? If yes, unfortunately it is really difficult right now since it is not implemented by MAL. You can have a look at Doomcat55's generator (link here) which provides a workaround. I haven't tried it yet, but I think it will be ok, as long as you do not sort your list or use the search system (which could result in headers being randomly placed in the list). Oh thanks for the reply. I'll think about it. |
Jun 4, 2017 1:00 PM
#77
I feel kind of stupid being the only one asking this but... Is there a way to change the status title's font or maybe change it for an image? Or am I asking for too much? :S By the way I love this layout :) and that Everlasting Summer's background lol <3 |
"If you wish so ardently for your life to disappear then give it to me!" |
Jun 5, 2017 12:08 PM
#78
@Myrga It's not stupid at all. It rather shows that you want to customize the layout in a way that was never done before =) If you want to change the font of the status title, you have to add this piece of code (preferably at the beginning of the code, immediately after the other import links, otherwise it may not work): /* import font */ @import url('https://fonts.googleapis.com/css?family=Roboto'); /* set font to status title */ .list-unit .list-status-title .text { font-family: 'Roboto', sans-serif; } If you want to use an image instead, then use this code: .list-unit .list-status-title .text { height: 50px; background-image: url('YOUR_IMAGE_URL_HERE'); background-position: center center; background-repeat: no-repeat; background-size: contain; font-size: 0 !important; font-color: transparent !important; } |
Jun 6, 2017 2:18 PM
#79
Cateinya said: @Myrga It's not stupid at all. It rather shows that you want to customize the layout in a way that was never done before =) If you want to change the font of the status title, you have to add this piece of code (preferably at the beginning of the code, immediately after the other import links, otherwise it may not work): /* import font */ @import url('https://fonts.googleapis.com/css?family=Roboto'); /* set font to status title */ .list-unit .list-status-title .text { font-family: 'Roboto', sans-serif; } If you want to use an image instead, then use this code: .list-unit .list-status-title .text { height: 50px; background-image: url('YOUR_IMAGE_URL_HERE'); background-position: center center; background-repeat: no-repeat; background-size: contain; font-size: 0 !important; font-color: transparent !important; } It worked perfectly! Thank you so much!! :') Now I just need to decide on a background image I like hahaha |
"If you wish so ardently for your life to disappear then give it to me!" |
Jun 7, 2017 2:55 PM
#80
Hi, i recently noticed that the covers aren't showing on anyone's lists (even yours). This is a pity since i really like this layout. Is there a possible fix for this? |
Jun 7, 2017 4:07 PM
#81
Skrind said: Took a quick peek at their list and could confirm that the covers are working, seems to be something on your end...Hi, i recently noticed that the covers aren't showing on anyone's lists (even yours). This is a pity since i really like this layout. Is there a possible fix for this? |
Jun 7, 2017 4:10 PM
#82
Oh, weird.... so what could it be then? i tried pressing CTRL + F5 but it didn't work. Any advice? |
Jun 8, 2017 8:13 AM
#83
@Skrind Covers are also working for me, so you are the only one having this issue. My guess is that it is caused by your browser. Which one are you using? For stater, try clearing you cookies and cache. Also check that you are using the latest version of your browser and update it if necessary. If it still does not work, try viewing the pages using another browser. Can you post a screenshot of one of the pages as well? |
Jun 8, 2017 8:52 AM
#84
Jun 8, 2017 12:16 PM
#85
oh it must be caused by chrome because i tried viewing it on MS Edge and i could see the covers, i also tried clearing the cache and the cookies and it didnt make any difference. it looks like this: https://prnt.sc/fhj57t |
GiansanJun 8, 2017 12:27 PM
Jun 8, 2017 3:31 PM
#86
Ok, then try the steps 3 and 4 of this guide. If it does not work, open the inspector (Ctrl + Shift + I), go to the "Network" tab, and reload the page. Check if you see the lines corresponding to the images, and that the number under the "status" column is 200. If it is not, can you send a screenshot of the inspector? |
Jun 8, 2017 4:12 PM
#87
i see the lines corresponding to the images, but instead of being jpeg they are webp, and the number under the status column is 200. |
Jun 8, 2017 5:54 PM
#88
Actually, I have them too. It seems like lines with webp correspond to the thumbnails (by default for the lists) and the jpeg ones are the big covers (which are missing). Do you have any of these lines or do you only have webp lines? |
Jun 8, 2017 6:12 PM
#90
The first line in the "Network" tab list should be named after the owner of the list you are viewing, then the second one should be "?code=.list-item.........." (if you do not see it, try searching for it using the "filter" field at the top). If you have this second line, is the status 200? If it is, click on the name, it should open tabs on the right, go to "preview". It should look like this:/* Skrind */ /* Requested from: https://myanimelist.net/animelist/Skrind */ /* Type: anime */ /* Style: .list-item .data.image a[href*="/[ID]/"]:before {background-image: url([IMG]);} */ /* Encoded Style: ".list-item+.data.image+a%5Bhref%2A%3D%22%2F%5BID%5D%2F%22%5D%3Abefore+%7Bbackground-image%3A+url%28%5BIMG%5D%29%3B%7D" */ /* Anime */ .list-item .data.image a[href*="/1/"]:before {background-image: url(https://myanimelist.cdn-dena.com/images/anime/4/19644.jpg);} .... |
Jun 8, 2017 8:29 PM
#91
the status is 200, but it's actually the third line. The second one says "header-3f624289c4.js" |
Jun 8, 2017 8:31 PM
#92
i just previewed the ?code line and it looks like this: /* ?code=.list-item%20.data.image%20a%5Bhref*%3D%22%2F%5BID%5D%2F%22%5D%3Abefore%20%7Bbackground-image%3A%20url(%5BIMG%5D)%3B%7D */ /* Requested from: */ // Invalid username |
Jun 9, 2017 11:08 AM
#93
Ok, so the issue is that the generation does not work because it does not have the required information (in this case, it needs the username of the list's owner). In the "headers" tab, when you scroll down, you have the "request headers". It should look like this (some things can be different, but make sure that there is a "referer" line and that it contains the URL of the list). |
Jun 9, 2017 6:03 PM
#95
For some reason, your browser is set to prevent the referer from being passed in the request headers. I honestly have no idea why it became like this... There are various ways to solve this, but I think the easiest one is to reinstall Chrome (by doing this, the browser's settings will be reset to default and it should work again). Try to see if it works before and after connecting your google account (if you are using one), since the browser's settings could be saved with your profile and restored after connecting it. |
Jun 9, 2017 7:56 PM
#96
is there another easy way that doesn't involve uninstalling anything? |
Jun 10, 2017 3:18 AM
#97
0 Skrind said: well, the charm of reinstallations is the you usually bypass all the bug fixing. It is almost always a surefire way of fixing problems caused by unknown settings. I would though, in the case that your chrome is not installed in your appdata folder (assuming you are using Windows), advise you to delete the contents of this folder instead. This will clear all your settings and history, just like reinstalling, but it is quicker. is there another easy way that doesn't involve uninstalling anything? |
Jun 10, 2017 11:56 AM
#98
i reinstalled chrome and the covers still don't show up, it must be an account problem then? |
Jun 10, 2017 4:35 PM
#99
I guess it is, yes. But since I never saw this kind of issue, and even though we now know what the exact problem is, I am running out of ideas to try to solve it. Maybe you can have a look at this chrome extension, and see if you can use it to enable the referer headers for every page of MAL... |
Jun 15, 2017 7:13 PM
#100
Skrind said: Hi, i recently noticed that the covers aren't showing on anyone's lists (even yours). This is a pity since i really like this layout. Is there a possible fix for this? I'm having this problem as well! I don't think any of my account's settings and extensions are doing this either. I tried to download the referer extension you linked but I have no idea what it is or how it's supposed to work. I hope a solution can be found soon >.< |
More topics from this board
» ✳️ Bunkasai 2024 List Design and Graphic Design contests are OPENShishio-kun - Nov 18 |
2 |
by Shishio-kun
»»
Nov 18, 5:01 AM |
|
Sticky: » [ SIGNATURES ~ PROFILES] All guides, generators, and templatesShishio-kun - Feb 16, 2023 |
29 |
by floral_sacrifice
»»
Nov 15, 10:24 AM |
|
» [CSS - Modern] 🍰 Clarified by V.L — a responsive table-based design ( 1 2 )Valerio_Lyndon - Aug 1, 2022 |
94 |
by ddaruu
»»
Nov 13, 9:18 AM |
|
Sticky: » [ BBCODE ] All 2023 BBcodes, Guides, and Templates ( 1 2 )Shishio-kun - Feb 16, 2023 |
55 |
by _cjessop19_
»»
Nov 12, 4:45 AM |
|
» Load all entries at once in modern style?tirafesi - Nov 3 |
1 |
by Shishio-kun
»»
Nov 7, 1:44 AM |