New
Aug 8, 2012 8:44 AM
#251
Hokay! Is it even possible to make buttons that link other sites and pages from our mal list? I thought i could add two new button that would link elsewhere and that would fade blue to gray as you hovered over them, but i can figure out how or if its even possible This is the code i was thinking of using: body:before { pointer-events: none; position: fixed; bottom: 11px; margin-left: -212px; content: url(""); z-index: 2; } body:after { position: fixed; bottom: 11px; width: inherit; min-width: inherit; max-width: inherit; margin-left: 212px; content: url(""); text-align: right; z-index: 1; } Thanks again for all the help guys/girls ---- Also, is it possible to see you list as someone else would see it (anime shared, etc etc), without being someone else? |
ofx360Aug 8, 2012 8:48 AM
Aug 8, 2012 8:49 AM
#252
Aug 8, 2012 9:56 AM
#253
ofx360 said: Also, is it possible to see you list as someone else would see it (anime shared, etc etc), without being someone else? You can go on this page: http://myanimelist.net/editprofile.php?go=listpreferences and check "Style Override", then go on someone else's list and see how the anime shared thingy looks like |
Aug 8, 2012 11:04 AM
#254
VeriTi said: @ofx360 No, it's impossible to create new hyperlinks using just CSS. You are only allowed to restyle already existing ones. oh...dang. Gonna have to rethink somethings! I was thinking it may be something along the lines of using an @import with some funky code in it - kinda like importing fonts from different sources. u531355 said: You can go on this page: http://myanimelist.net/editprofile.php?go=listpreferences and check "Style Override", then go on someone else's list and see how the anime shared thingy looks like Thanks. |
Aug 9, 2012 10:00 PM
#255
Got to toy around a bit more, and now i got another question: Ok, so i started moving around the part of the top bar that changes depending on what state you're in. I kinda hacked together away to move the # of anime shared and i figured that since it disappears depending on your state(signed out), anything i put in the :before would desappear too, but it didn't... Here's the chunk of code i'm working with: #mal_cs_otherlinks { background: transparent; } #mal_cs_otherlinks div:last-of-type{ background: none repeat scroll 0 0 !important; color: #e07cf2 !important; width: auto !important; position: absolute !important; right:50%; margin-right: 95px; top: 480px !important; font-family: "Courgette", "Verdana"; font-size: 12px; font-weight: 100; } #mal_cs_otherlinks div:last-of-type:before{ content: "+ The grand total of anime we share is: "; color: rgba(255, 255, 255, 0.7) !important; } #mal_cs_otherlinks div:last-of-type a:nth-of-type(1){ display:none; /*temp*/ } #mal_cs_otherlinks div:last-of-type a:nth-of-type(2){ background: none repeat scroll 0 0 !important; color: rgba(255, 255, 255, 0.7) !important; width: 100 !important; position: absolute !important; right:50%; margin-right: 80px; top: -380px !important; font-family: "Courgette", "Verdana"; font-size: 15px; font-weight: 100; } #mal_cs_otherlinks div:last-of-type a:nth-of-type(3){ display:none; /*temp*/ } Signed in: "+ The grand total of anime we share is: 34" Signing out: "+ The grand total of anime we share is:" ^Don't want that to be there at all. Ideally, i'd like to select the number individually and move it, but i can't think of a way to do that. So am i overreaching on this one? I really don't know the limitations of this CSS business. One minute i thought i was stuck, then the next i find out about :before and :after. So who knows if i'm missing out on something simple :/ |
Aug 9, 2012 10:11 PM
#256
@ofx360 There is actually no mistake since the same div in hierarchy is used for different stuff when you're logged in or out. You can try to override it for logged out with something like this: #mal_cs_pic + #mal_cs_otherlinks div:nth-of-type(2):before{display:none} It should work because there is no #mal_cs_pic when you're logged in. But maybe somebody will come up with better solution. |
![]() |
Aug 10, 2012 8:47 AM
#257
Oh awesome, i didn't know about that "+" thing! And yeah, it works - thanks again I when i ahead and tried something a little different: #mal_cs_otherlinks span + #mal_cs_otherlinks div:last-of-type:before{ content: "+ The grand total of anime we share is: "; color: rgba(255, 255, 255, 0.7) !important; } Since otherlinks span is only available when logged in and viewing someone else's account, i believe. But that ended up not working at all and just removed all the content from ever state. Whats wrong with my thinking here T__T ---------- Another issue i just realized i'm having is that when i move links from the top bar, i can no longer select them. So when i move "Shared Anime" for instance, i can no longer click it to be linked elsewhere...what have i done I'm assuming its this: ![]() if so, i how do i fix that? |
ofx360Aug 10, 2012 9:39 AM
Aug 11, 2012 5:16 AM
#258
Add the following code to understand the problem: .status_selected, .status_not_selected { background: red; } You sized .status_selected and .status_not_selected in a very weird way. The best solution would be to resize them to their actual size. But if you're lazy and want an easy patchwork here it is: #mal_control_strip a { z-index: 1; } |
Aug 11, 2012 9:53 AM
#259
I took the easy way out for now :P Here is how its looking so far - myanimelist.net/animelist/ofx360 - i still want to adjust a few things but i'm just gonna move on for now. I got the basic stuff done, so i can touch it up later. If you look at it in chrome, the category bar will probably be all muffed up because i was moving everything in FF...but if you look at it in FF or IE, the top bar stuff will be unaligned because i aligned it in Chrome....*sigh* but i'll also worry about that later. What's really bothering me is when i hit "more", that whole more drop down thing looks tragic...i have no idea what i did. I see that everything for "more" is controlled by .borderRBL, but its pretty much empty and i don't know what else is could be destroying this thing. I would like it to just function like this it normally does, nothing fancy - yet :P Here's my Frankenstein code again (.borderRBL is towards the bottom): /* MAIN BACKGROUND COLOR AND IMAGE By default, there's no image in this part of the code. Its just a background color- silver. (the default image of Black Rock Shooter is in the next code #inlineContent) Change the color to what you want or add an image for a backdrop here. For more info or questions on this code: http://myanimelist.net/forum/?topicid=412787 background: url("http://img94.imageshack.us/img94/4530/11thj.png") silver; #292929 */ body { background:url("http://dl.dropbox.com/u/68627640/MAL/BG/Fade.png") center top repeat-x, url("http://dl.dropbox.com/u/68627640/MAL/Pics/hyouka_31.jpg") center top no-repeat, url("http://dl.dropbox.com/u/68627640/MAL/BG/weave.jpg"); Background-color: silver; } body:before { pointer-events: none; background: none repeat scroll 0 0 !important; color: rgba(255, 255, 255, 0.7) !important; content: "Welcome to My Anime List, " !important; width: auto !important; position: absolute !important; right:50%; margin-right: 167px; top: 450px !important; font-family: "Courgette", "Verdana"; font-size: 13px; font-weight: 100; border-bottom: dotted; z-index: 2; } /* SECOND BACKGROUND (with render) The background behind the list but in front of the main background. By default, for its own image it has the render of Black Rock Shooter (girl). You can change her with another render or even background image here! Make sure you leave the width as large as the image's width. The positioning of the background can be controlled with the % numbers after the background url, but you may need to exapnd the width for more positioning options. All the other codes should be left alone. */ #inlineContent { background: #c0c0c2; display: inline-block !important; height: 40px !important; left: 0px !important; margin: auto !important; position: absolute !important; right: 0 !important; top: 565px !important; width: 100% !important; z-index: -1 !important; } /* TITLE The List header which by default says My Anime List can be changed out here. */ #list_surround { background: url("") no-repeat scroll 50% 1px transparent; font-size: 81.25%; line-height: 12; margin: 0 auto; padding-bottom: 10px; padding-top: 283px; max-width: 720px; min-width: 700px; } /* FONT Font used across the whole list. */ body { font-family: Verdana, arial; font-size: 80%; font-weight: 550; } #list_surround table:first-of-type td:nth-of-type(1){ width: 125px !important; position: absolute; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(2){ width: 80px !important; position: absolute; margin-left:130px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(3){ width: 80px !important; position: absolute; margin-left:215px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(4){ width: 80px !important; position: absolute; margin-left:300px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(5){ width: 100px !important; position: absolute; margin-left:385px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(6){ width: 80px !important; position: absolute; margin-left:490px; font-size: 90%; font-weight: normal; } /* LINK COLOR */ a { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; color: #F0EBEB; text-decoration: none; text-shadow: none; } a:hover { color: #FFFFFF; text-shadow: 0 1px rgba(255, 255, 255, 0.15); } /* CATEGORY LINKS c0c0c2*/ .status_not_selected, .status_selected { border: 0 none !important; height: auto !important; text-align: center !important; } .status_not_selected a, .status_selected a { background-color: rgba(138, 138, 169, 0.6); border-color: rgba(48, 44, 64, 0.0); border-radius: 0px 0px 0px 0px; border-style: dotted; border-width: 1px; color: #FFFFFF; display: block !important; padding: 8px; text-shadow: 0 1px rgba(0, 0, 0, 0.1); margin-top: 150px; } .status_selected a { background-color: #c0c0c2; border-bottom-color: #d60c0c; border-bottom-width: 1px; color: black; } .status_not_selected a { background-color: rgba(98, 171, 216, 0.5); } .status_not_selected a:hover { background-color: #59b70b; } .status_selected a:hover { background-color: #c0c0c2; border-bottom-color: #75ff02; border-bottom-width: 1.2px; color: #183005; } /* HEADER */ .table_header { background-color: #343434; } .table_header:first-of-type { border-radius: 3px 0 0 0; } .table_header:nth-of-type(2) { text-align: left; } .table_header:last-of-type { border-radius: 0 3px 0 0; } /* ROWS COLOR */ .td1 { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; background-color: rgba(130, 1, 0, 0.0); } .td2 { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; background-color: rgba(171, 201, 212, 0.0); } .td1, .td2{ border-color: white; border-style: dotted; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px !important; border-top-width: 0 !important; } /* ROWS HOVER */ tr:hover [class^="td"] { background-color: rgba(13, 53, 79, 0.1); } .td1:nth-of-type(2), .td2:nth-of-type(2) { text-align: left; } /* ROW FONT SIZE TRANSITION (FIREFOX ONLY) */ noindex:-moz-any-link, tr:hover td.td1, tr:hover td.td2 { font-size: 10px; font-weight: 600; } /* LIST SETTINGS */ .table_header, .td1, .td2, .status_selected, .status_not_selected, .category_totals { padding: 4px; text-align: center; vertical-align: middle; } .table_header, .td1, .td2, .category_totals { line-height: 20px; } .borderRBL{ line-height: normal !important; } [cellspacing="0"] { line-height: 17px; } [class^="header_"] +{ border-collapse: separate !important; } /* CATEGORY TOTALS */ .category_totals { background-color: rgba(130, 1, 0, 0.5); border-radius: 0 0 3px 3px; color: #EEEEEE; text-align: center; } /* CURRENTLY WATCHING/READING HEADER The image and font above your currently watched and read animes/mangas. Color is the color of the font. Font-family is the type of font. Font-size is the pixel size of the font. You can change all these! */ .header_cw { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* COMPLETED HEADER The image and font of the header above your completed animes/mangas. */ .header_completed { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* ON-HOLD HEADER The image and font of the header above your animes/mangas on-hold. */ .header_onhold { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* DROPPED HEADER The image and font of the header above your dropped animes/mangas. */ .header_dropped { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* PLAN TO WATCH/READ HEADER The image and font of the header above the anime/manga you plan to see or read on your list. */ .header_ptw { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } #mal_control_strip a { z-index: 1; } /* BOTTOM OF LIST */ #grand_totals { background-color: rgba(72, 64, 87, 0.6); border: 0 none; border-radius: 3px 3px 3px 3px; color: #EEEEEE; line-height: 20px; min-height: 20px; padding: 8px; text-align: center; vertical-align: middle; } #copyright { background-color: rgba(180, 32, 48, 0.6); border-radius: 3px 3px 3px 3px; color: #EEEEEE; line-height: 17px; margin-top: 10px; padding: 8px; text-align: center; } #copyright:after { content: " CSS by Kyouhansha. Edits by Shishio-kun and Veriti. Google 'Shishio's Custom Lists' for more designs and info."; } Also, you've been an enormous amount of help! |
Aug 11, 2012 11:55 AM
#260
ofx360 said: I took the easy way out for now :P Here is how its looking so far - myanimelist.net/animelist/ofx360 - i still want to adjust a few things but i'm just gonna move on for now. I got the basic stuff done, so i can touch it up later. If you look at it in chrome, the category bar will probably be all muffed up because i was moving everything in FF...but if you look at it in FF or IE, the top bar stuff will be unaligned because i aligned it in Chrome....*sigh* but i'll also worry about that later. What's really bothering me is when i hit "more", that whole more drop down thing looks tragic...i have no idea what i did. I see that everything for "more" is controlled by .borderRBL, but its pretty much empty and i don't know what else is could be destroying this thing. I would like it to just function like this it normally does, nothing fancy - yet :P Here's my Frankenstein code again (.borderRBL is towards the bottom): /* MAIN BACKGROUND COLOR AND IMAGE By default, there's no image in this part of the code. Its just a background color- silver. (the default image of Black Rock Shooter is in the next code #inlineContent) Change the color to what you want or add an image for a backdrop here. For more info or questions on this code: http://myanimelist.net/forum/?topicid=412787 background: url("http://img94.imageshack.us/img94/4530/11thj.png") silver; #292929 */ body { background:url("http://dl.dropbox.com/u/68627640/MAL/BG/Fade.png") center top repeat-x, url("http://dl.dropbox.com/u/68627640/MAL/Pics/hyouka_31.jpg") center top no-repeat, url("http://dl.dropbox.com/u/68627640/MAL/BG/weave.jpg"); Background-color: silver; } body:before { pointer-events: none; background: none repeat scroll 0 0 !important; color: rgba(255, 255, 255, 0.7) !important; content: "Welcome to My Anime List, " !important; width: auto !important; position: absolute !important; right:50%; margin-right: 167px; top: 450px !important; font-family: "Courgette", "Verdana"; font-size: 13px; font-weight: 100; border-bottom: dotted; z-index: 2; } /* SECOND BACKGROUND (with render) The background behind the list but in front of the main background. By default, for its own image it has the render of Black Rock Shooter (girl). You can change her with another render or even background image here! Make sure you leave the width as large as the image's width. The positioning of the background can be controlled with the % numbers after the background url, but you may need to exapnd the width for more positioning options. All the other codes should be left alone. */ #inlineContent { background: #c0c0c2; display: inline-block !important; height: 40px !important; left: 0px !important; margin: auto !important; position: absolute !important; right: 0 !important; top: 565px !important; width: 100% !important; z-index: -1 !important; } /* TITLE The List header which by default says My Anime List can be changed out here. */ #list_surround { background: url("") no-repeat scroll 50% 1px transparent; font-size: 81.25%; line-height: 12; margin: 0 auto; padding-bottom: 10px; padding-top: 283px; max-width: 720px; min-width: 700px; } /* FONT Font used across the whole list. */ body { font-family: Verdana, arial; font-size: 80%; font-weight: 550; } #list_surround table:first-of-type td:nth-of-type(1){ width: 125px !important; position: absolute; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(2){ width: 80px !important; position: absolute; margin-left:130px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(3){ width: 80px !important; position: absolute; margin-left:215px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(4){ width: 80px !important; position: absolute; margin-left:300px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(5){ width: 100px !important; position: absolute; margin-left:385px; font-size: 90%; font-weight: normal; } #list_surround table:first-of-type td:nth-of-type(6){ width: 80px !important; position: absolute; margin-left:490px; font-size: 90%; font-weight: normal; } /* LINK COLOR */ a { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; color: #F0EBEB; text-decoration: none; text-shadow: none; } a:hover { color: #FFFFFF; text-shadow: 0 1px rgba(255, 255, 255, 0.15); } /* CATEGORY LINKS c0c0c2*/ .status_not_selected, .status_selected { border: 0 none !important; height: auto !important; text-align: center !important; } .status_not_selected a, .status_selected a { background-color: rgba(138, 138, 169, 0.6); border-color: rgba(48, 44, 64, 0.0); border-radius: 0px 0px 0px 0px; border-style: dotted; border-width: 1px; color: #FFFFFF; display: block !important; padding: 8px; text-shadow: 0 1px rgba(0, 0, 0, 0.1); margin-top: 150px; } .status_selected a { background-color: #c0c0c2; border-bottom-color: #d60c0c; border-bottom-width: 1px; color: black; } .status_not_selected a { background-color: rgba(98, 171, 216, 0.5); } .status_not_selected a:hover { background-color: #59b70b; } .status_selected a:hover { background-color: #c0c0c2; border-bottom-color: #75ff02; border-bottom-width: 1.2px; color: #183005; } /* HEADER */ .table_header { background-color: #343434; } .table_header:first-of-type { border-radius: 3px 0 0 0; } .table_header:nth-of-type(2) { text-align: left; } .table_header:last-of-type { border-radius: 0 3px 0 0; } /* ROWS COLOR */ .td1 { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; background-color: rgba(130, 1, 0, 0.0); } .td2 { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; background-color: rgba(171, 201, 212, 0.0); } .td1, .td2{ border-color: white; border-style: dotted; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px !important; border-top-width: 0 !important; } /* ROWS HOVER */ tr:hover [class^="td"] { background-color: rgba(13, 53, 79, 0.1); } .td1:nth-of-type(2), .td2:nth-of-type(2) { text-align: left; } /* ROW FONT SIZE TRANSITION (FIREFOX ONLY) */ noindex:-moz-any-link, tr:hover td.td1, tr:hover td.td2 { font-size: 10px; font-weight: 600; } /* LIST SETTINGS */ .table_header, .td1, .td2, .status_selected, .status_not_selected, .category_totals { padding: 4px; text-align: center; vertical-align: middle; } .table_header, .td1, .td2, .category_totals { line-height: 20px; } .borderRBL{ line-height: normal !important; } [cellspacing="0"] { line-height: 17px; } [class^="header_"] +{ border-collapse: separate !important; } /* CATEGORY TOTALS */ .category_totals { background-color: rgba(130, 1, 0, 0.5); border-radius: 0 0 3px 3px; color: #EEEEEE; text-align: center; } /* CURRENTLY WATCHING/READING HEADER The image and font above your currently watched and read animes/mangas. Color is the color of the font. Font-family is the type of font. Font-size is the pixel size of the font. You can change all these! */ .header_cw { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* COMPLETED HEADER The image and font of the header above your completed animes/mangas. */ .header_completed { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* ON-HOLD HEADER The image and font of the header above your animes/mangas on-hold. */ .header_onhold { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* DROPPED HEADER The image and font of the header above your dropped animes/mangas. */ .header_dropped { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } /* PLAN TO WATCH/READ HEADER The image and font of the header above the anime/manga you plan to see or read on your list. */ .header_ptw { text-align: center; font-size:25px; font-weight:800; color: #ffffff; } #mal_control_strip a { z-index: 1; } /* BOTTOM OF LIST */ #grand_totals { background-color: rgba(72, 64, 87, 0.6); border: 0 none; border-radius: 3px 3px 3px 3px; color: #EEEEEE; line-height: 20px; min-height: 20px; padding: 8px; text-align: center; vertical-align: middle; } #copyright { background-color: rgba(180, 32, 48, 0.6); border-radius: 3px 3px 3px 3px; color: #EEEEEE; line-height: 17px; margin-top: 10px; padding: 8px; text-align: center; } #copyright:after { content: " CSS by Kyouhansha. Edits by Shishio-kun and Veriti. Google 'Shishio's Custom Lists' for more designs and info."; } Also, you've been an enormous amount of help! lol my personal CSS is a Frankenstein code too I will use that term from now on. The code #list_surround table:first-of-type td:nth-of-type(1) affects the more panel too. I don't know what you want the panel to look like but it doesn't look good covering the list like that, so try this at bottom, looks more like it might have been intended to be: .borderRBL { position: relative !important; } Did you try using Chrome hack to make different changes to Chrome? Under Advanced: http://myanimelist.net/forum/?topicid=419405 Also seems you're using the Firefox inspect element thingie, try the Firebug add-on it still seems better (don't know why they don't make it a part of Firefox already). edit: Also from my perspective Shishio-kun username link is off-center. May need to be adjusted for "other users" state |
Aug 12, 2012 4:31 PM
#261
I'm in need of help with my css on my page. Let me first explain that I am using a layout designed by another user that I have 'stolen' for personal use which is to learn by example. I'm brand new to CSS, so perhaps I have dived directly to the deep end, but to be honest, this type of design is ideal for me which is why I can't quit. This is what it is meant to look like... http://myanimelist.net/animelist/1NZ3RU and this is what mines looks like... http://myanimelist.net/animelist/RyanSharp note that the browser may confuse the imports, or at least it does on mine... >.> BTW, only look at the 'watching', as that is the only page I have edited the list to be compatible with what I have on that part of my list. Don't be troubled by the fact that it is exactly the same as I've actually just begun. I need to make it look exactly the same for me to adjust it and learn what the changes have done. Though you will probably understand. Anyway, what is wrong with what what I have? The only changes I have made is edit the @import link to import my own list of watched anime series with the links to the covers. Is it perhaps that I haven't altered the rest that is causing this problem? Or instead, have I set the wrong columns to be shown? Please, I can't even begin learning this design until I actually get it to work. I appreciate your help. PS: If what I am doing is wrong or against the wishes of the creator, then I will immediately stop and take down anything I have relating to it. I am not using it for anything other than learning. |
DeusRexMachinaAug 12, 2012 4:37 PM
meh |
Aug 12, 2012 11:30 PM
#262
This might be no help, but this is also my first rodeo with CSS and i first started with u531355's Square Layout first (http://myanimelist.net/forum/?topicid=459189), and after about an hour or two of working on it, i realized i needed to start in a place that was FAR less complicated, lol. I started here - http://myanimelist.net/forum/?topicid=412787, and it allowed me to better take apart the code and understand what each part, and what every addition to the code did. Now i'm here - http://myanimelist.net/animelist/ofx360 i'd say i made progress :P. Though, Idk when i'm gonna get time to continue to work on my layout :< ---- Also thanks for the help and advice Shishio! I'll take into consideration everything you've said next time i start pecking at my layout again. |
ofx360Aug 12, 2012 11:38 PM
Aug 13, 2012 5:15 AM
#263
ofx360 said: This might be no help, but this is also my first rodeo with CSS and i first started with u531355's Square Layout first (http://myanimelist.net/forum/?topicid=459189), and after about an hour or two of working on it, i realized i needed to start in a place that was FAR less complicated, lol. I started here - http://myanimelist.net/forum/?topicid=412787, and it allowed me to better take apart the code and understand what each part, and what every addition to the code did. Now i'm here - http://myanimelist.net/animelist/ofx360 i'd say i made progress :P. Though, Idk when i'm gonna get time to continue to work on my layout :< ---- Also thanks for the help and advice Shishio! I'll take into consideration everything you've said next time i start pecking at my layout again. Yeah it looks exceptionally good. You used the code I gave so is that satisfactory for what you were trying to fix/ |
Aug 13, 2012 5:24 AM
#264
RyanSharp said: I'm in need of help with my css on my page. Let me first explain that I am using a layout designed by another user that I have 'stolen' for personal use which is to learn by example. I'm brand new to CSS, so perhaps I have dived directly to the deep end, but to be honest, this type of design is ideal for me which is why I can't quit. This is what it is meant to look like... http://myanimelist.net/animelist/1NZ3RU and this is what mines looks like... http://myanimelist.net/animelist/RyanSharp note that the browser may confuse the imports, or at least it does on mine... >.> BTW, only look at the 'watching', as that is the only page I have edited the list to be compatible with what I have on that part of my list. Don't be troubled by the fact that it is exactly the same as I've actually just begun. I need to make it look exactly the same for me to adjust it and learn what the changes have done. Though you will probably understand. Anyway, what is wrong with what what I have? The only changes I have made is edit the @import link to import my own list of watched anime series with the links to the covers. Is it perhaps that I haven't altered the rest that is causing this problem? Or instead, have I set the wrong columns to be shown? Please, I can't even begin learning this design until I actually get it to work. I appreciate your help. PS: If what I am doing is wrong or against the wishes of the creator, then I will immediately stop and take down anything I have relating to it. I am not using it for anything other than learning. You are not importing parts of the CSS that needs to be imported in order to work. The code you have hosted here on this site has crucial codes like #list_surround table:nth-of-type(n+4) etc that need to be hosted and imported from somewhere other than the MAL CSS edit box as the site filters out certain codes, like that I believe. The filtering is the reason people started importing in the first place, tho there are many other benefits. So try importing the CSS which you host here, if you want to learn it edit it with Firebug is your best bet imo. |
Aug 13, 2012 6:06 AM
#265
I'm trying to modify the script for the MAL themes, but every time I change the image URL it turns out like this : http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Untitled-10.jpg What do I need to change for it to fit the entire background like this : http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Tenshi-Wallpaper-angel-beats-31411404-1600-900-1.jpg Please help needed |
Aug 13, 2012 6:24 AM
#266
Gouko_Tenrou said: I'm trying to modify the script for the MAL themes, but every time I change the image URL it turns out like this : http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Untitled-10.jpg What do I need to change for it to fit the entire background like this : http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Tenshi-Wallpaper-angel-beats-31411404-1600-900-1.jpg Please help needed I haven't worked with this for a while, so I don't really remember it well but looks like the backgrounds too small. If you post the entire Mal theme code here I can try to modify it so it expands, tho it might not look very good since you need the angel to come in the side. What are your computer dimensions btw? |
Aug 13, 2012 6:42 AM
#267
The code for the script is : // ==UserScript== // @name MAL 1366px Miku/Horo Theme [by Shishio] // @namespace http://myanimelist.net/profile/Shishio-kun" target="_blank">http://www.myanimelist.net/profile/http://myanimelist.net/profile/Shishio-kun // @include http://*myanimelist.net/* // @exclude http://*myanimelist.net/animelist/* // @exclude http://*myanimelist.net/mangalist/* // @exclude http://*myanimelist.net/rss.php* // ==/UserScript== // bodybg = "http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Tenshi-Wallpaper-angel-beats-31411404-1600-900-1.jpg"; // CSS function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } // background shortcut (don't remove) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('body { background: transparent url(" '+bodybg+' ") no-repeat top center fixed !important; }'); } // Remove MAL Logo (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#headerSmall{ display: none !important; }'); } // Lower MAL menu from top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#menu{ margin-top:40px !important; }'); } // Remove space between menus at top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#roadblock{ padding:0px !important; }'); } |
Aug 13, 2012 7:07 AM
#268
I need help @_@ I recently change my list styles and I have some basic CSS, I think.. so my problem is that, I want to put an image, particularly render in my manga list just like my anime list look. The thing is, I use the Yoko render layout in my anime list so there's no problem there but in my manga list, I used a different layout but I wanted to try and add renders. I've tried copying the code of the whole render section in the anime list but the render didn't appear. I've also tried using the new trick which puts multiple images on the line of the background.. and it didn't work either.. I've also tried putting !important on the render code but it failed. T_T Help please? |
Aug 13, 2012 8:29 AM
#269
xEru said: I need help @_@ I recently change my list styles and I have some basic CSS, I think.. so my problem is that, I want to put an image, particularly render in my manga list just like my anime list look. The thing is, I use the Yoko render layout in my anime list so there's no problem there but in my manga list, I used a different layout but I wanted to try and add renders. I've tried copying the code of the whole render section in the anime list but the render didn't appear. I've also tried using the new trick which puts multiple images on the line of the background.. and it didn't work either.. I've also tried putting !important on the render code but it failed. T_T Help please? You're using the Black Layout on the ani list, not the Yoko one. Your manga list has no custom CSS from this club, its the default MAL code, so maybe its not set for whatever custom CSS you tried to put on there hence there will be no visible results. I don't see any codes you mentioned on there atm. Also if you take a single part of a code and try to put it in other layout it often won't be successful without patching it up cuz a lot of functions need other parts of the layout code to look right, and the layout you're adding to might interfere with it. |
Aug 13, 2012 8:42 AM
#270
Gouko_Tenrou said: The code for the script is : // ==UserScript== // @name MAL 1366px Miku/Horo Theme [by Shishio] // @namespace http://myanimelist.net/profile/Shishio-kun" target="_blank">http://www.myanimelist.net/profile/http://myanimelist.net/profile/Shishio-kun // @include http://*myanimelist.net/* // @exclude http://*myanimelist.net/animelist/* // @exclude http://*myanimelist.net/mangalist/* // @exclude http://*myanimelist.net/rss.php* // ==/UserScript== // bodybg = "http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Tenshi-Wallpaper-angel-beats-31411404-1600-900-1.jpg"; // CSS function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } // background shortcut (don't remove) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('body { background: transparent url(" '+bodybg+' ") no-repeat top center fixed !important; }'); } // Remove MAL Logo (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#headerSmall{ display: none !important; }'); } // Lower MAL menu from top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#menu{ margin-top:40px !important; }'); } // Remove space between menus at top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#roadblock{ padding:0px !important; }'); } Hmm ok your screen resolution is the same as mine and the background pic isn't cropped for the MAL layout. It needs to be something like this: http://img217.imageshack.us/img217/8840/ddn6a9.png with Tenshi in the same place as Horo and something else where Miku is. The blue in the middle of them is where the site content goes. You can actually make that in the same way you made your profile. Just find a big wallpaper background and paste it over mine, and put renders where I put my original ones. It can be a fun project, you can also just patch backgrounds over those parts till you get something to your liking, and there's other premade themes. |
Aug 13, 2012 11:01 AM
#271
Thanks for all the help |
Aug 13, 2012 12:39 PM
#272
Shishio-kun said: Yeah it looks exceptionally good. You used the code I gave so is that satisfactory for what you were trying to fix/ Yes, that was enough! I have a little time now, so i'm gonna see what it takes or if its even possible to get anime box art to appear inside the "more" drop down. |
Aug 13, 2012 2:02 PM
#273
Shishio-kun said: Gouko_Tenrou said: The code for the script is : // ==UserScript== // @name MAL 1366px Miku/Horo Theme [by Shishio] // @namespace http://myanimelist.net/profile/Shishio-kun" target="_blank">http://www.myanimelist.net/profile/http://myanimelist.net/profile/Shishio-kun // @include http://*myanimelist.net/* // @exclude http://*myanimelist.net/animelist/* // @exclude http://*myanimelist.net/mangalist/* // @exclude http://*myanimelist.net/rss.php* // ==/UserScript== // bodybg = "http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/Tenshi-Wallpaper-angel-beats-31411404-1600-900-1.jpg"; // CSS function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } // background shortcut (don't remove) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('body { background: transparent url(" '+bodybg+' ") no-repeat top center fixed !important; }'); } // Remove MAL Logo (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#headerSmall{ display: none !important; }'); } // Lower MAL menu from top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#menu{ margin-top:40px !important; }'); } // Remove space between menus at top (optional) if ( !document.location.href.match('info.php|hidenav|hideheader') ) { addGlobalStyle('#roadblock{ padding:0px !important; }'); } Hmm ok your screen resolution is the same as mine and the background pic isn't cropped for the MAL layout. It needs to be something like this: http://img217.imageshack.us/img217/8840/ddn6a9.png with Tenshi in the same place as Horo and something else where Miku is. The blue in the middle of them is where the site content goes. You can actually make that in the same way you made your profile. Just find a big wallpaper background and paste it over mine, and put renders where I put my original ones. It can be a fun project, you can also just patch backgrounds over those parts till you get something to your liking, and there's other premade themes. Problem was that I was using photobucket for the image, when i switched to imageshack it just fitted perfectly |
Aug 13, 2012 2:12 PM
#274
So my issue was that I was not importing? That makes sense, thanks! Well, I was unaware of this rule, but I'm thankful for you teaching me this. Now my issue is that whenever I post something in the Advanced CSS box and hit apply, going back and reading what was posted, I find out that everything has been duplicated... So using this as the CSS: "@import url(http://code.google.com/p/sharp-mal/source/browse/trunk/css.css);" results with this when I look back and check what was posted: "@import url(http://code.google.com/p/sharp-mal/source/browse/trunk/css.css)@import url(http://code.google.com/p/sharp-mal/source/browse/trunk/css.css);" If I just leave it as is and check my page with the above, I just get a bare looking list. Look at my anime page currently as I'll leave it like that so you can see. Even if I remove it, it is duplicated again. I've tried it on different browsers, and even on my phone, I can't understand why it does so. To be honest, this is the reason why I wasn't importing from the beginning. Any help? |
meh |
Aug 13, 2012 3:03 PM
#275
Gouko_Tenrou said: Problem was that I was using photobucket for the image, when i switched to imageshack it just fitted perfectly You might have your settings on Photobucket set to automatically shrink the image. You can avoid that by going to: ![]() and selecting the biggest option available. ------ I have the same issue as Ryan. My Editor box duplicates my code: /*Fonts*/ @import url(http://fonts.googleapis.com/css?family=Lovers+Quarrel); @import url(http://fonts.googleapis.com/css?family=Italianno); @import url(http://fonts.googleapis.com/css?family=Courgette); /*Layout*/ @import url(http://dl.dropbox.com/u/68627640/MAL/Top%20Bar.css); @import url(http://dl.dropbox.com/u/68627640/MAL/EntireLayout.css); @import url(http://dl.dropbox.com/u/78340470/animetitle.css)/*Fonts*/ @import url(http://fonts.googleapis.com/css?family=Lovers+Quarrel); @import url(http://fonts.googleapis.com/css?family=Italianno); @import url(http://fonts.googleapis.com/css?family=Courgette); /*Layout*/ @import url(http://dl.dropbox.com/u/68627640/MAL/Top%20Bar.css); @import url(http://dl.dropbox.com/u/68627640/MAL/EntireLayout.css); @import url(http://dl.dropbox.com/u/78340470/animetitle.css); That middle bit is not my creation, MAL does it on its own for some reason after i update it. But nothing seems to be affected in my case, just a minor annoyance (and maybe slower loading). ------ Ok, where do i even start un-hiding the anime box arts to when i hit the "more" tab. I want it to appear on the right side of the drop down, but looking at the .animetitles or #more stuff provided here (http://myanimelist.net/forum/?topicid=436031) is even more confusing o.0 |
ofx360Aug 13, 2012 3:25 PM
Aug 13, 2012 5:27 PM
#276
Hmm lol I don't know why both of you are getting import repeats as that never happened on my premade layouts with imports (I think?) but the one thing you have in common is you both have no CSS code below the imports, so maybe if you put something that won't affect anything like: body{ background-color: transparent; } or this but not sure if this will work or is the most efficient way to end/break code (would like info on that) /* Layout by etc credits to etc Stop looking at my code! */ Try to put one of them right after your imports in the CSS edit box on the next lines, and maybe it will stop it from repeating? |
Shishio-kunAug 13, 2012 5:30 PM
Aug 13, 2012 10:05 PM
#278
Shishio-kun said: xEru said: I need help @_@ I recently change my list styles and I have some basic CSS, I think.. so my problem is that, I want to put an image, particularly render in my manga list just like my anime list look. The thing is, I use the Yoko render layout in my anime list so there's no problem there but in my manga list, I used a different layout but I wanted to try and add renders. I've tried copying the code of the whole render section in the anime list but the render didn't appear. I've also tried using the new trick which puts multiple images on the line of the background.. and it didn't work either.. I've also tried putting !important on the render code but it failed. T_T Help please? You're using the Black Layout on the ani list, not the Yoko one. Your manga list has no custom CSS from this club, its the default MAL code, so maybe its not set for whatever custom CSS you tried to put on there hence there will be no visible results. I don't see any codes you mentioned on there atm. Also if you take a single part of a code and try to put it in other layout it often won't be successful without patching it up cuz a lot of functions need other parts of the layout code to look right, and the layout you're adding to might interfere with it. Now that makes a lot of sense. So what do I have to do if I want the render to work? Without removing the layout because I kinda like the interface of it.. Or can you patched the code for custom CSS? sorry for asking too much T~T |
Aug 14, 2012 10:13 AM
#279
I can also confirm that adding css content below the imports stopped the duplication. Now the list looks exactly as designed. Thank you. |
meh |
Aug 14, 2012 11:36 AM
#280
xEru said: Now that makes a lot of sense. So what do I have to do if I want the render to work? Without removing the layout because I kinda like the interface of it.. Or can you patched the code for custom CSS? sorry for asking too much T~T Hmm do you have a style ID on your manga list to customize it, this is what I see: ![]() If you want to keep that interface add this code to the bottom of the CSS edit box for the style ID of your manga list: /* YOKO RENDERS */ .header_cw { background-image: url("http://img189.imageshack.us/img189/7070/yokowaitress1.png"); background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_completed { background: url("http://img26.imageshack.us/img26/1462/yokogunholdreplace2.png") no-repeat fixed right top transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_onhold { background-image: url("http://img444.imageshack.us/img444/7811/yokogunholdreplace1.png"); background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_dropped { background: url("http://img341.imageshack.us/img341/2625/yokoliftup5.png") no-repeat fixed right top transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_ptw { background: url("http://img690.imageshack.us/img690/9247/yokotanreplace5.png") no-repeat fixed right bottom transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } Then switch the image links with the renders you want. |
Aug 14, 2012 10:08 PM
#281
Shishio-kun said: xEru said: Now that makes a lot of sense. So what do I have to do if I want the render to work? Without removing the layout because I kinda like the interface of it.. Or can you patched the code for custom CSS? sorry for asking too much T~T Hmm do you have a style ID on your manga list to customize it, this is what I see: ![]() If you want to keep that interface add this code to the bottom of the CSS edit box for the style ID of your manga list: /* YOKO RENDERS */ .header_cw { background-image: url("http://img189.imageshack.us/img189/7070/yokowaitress1.png"); background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_completed { background: url("http://img26.imageshack.us/img26/1462/yokogunholdreplace2.png") no-repeat fixed right top transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_onhold { background-image: url("http://img444.imageshack.us/img444/7811/yokogunholdreplace1.png"); background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_dropped { background: url("http://img341.imageshack.us/img341/2625/yokoliftup5.png") no-repeat fixed right top transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_ptw { background: url("http://img690.imageshack.us/img690/9247/yokotanreplace5.png") no-repeat fixed right bottom transparent; background-attachment: fixed; background-clip: border-box; background-color: transparent; background-origin: padding-box; background-position: right top; background-repeat: no-repeat; background-size: cover; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } Then switch the image links with the renders you want. Ooh, well for the manga list I used a style ID.. There's already code for that current layout.. I'll try pasting the code you wrote after all the other codes.. |
Aug 14, 2012 11:12 PM
#282
For the manga layout, how do I edit the name and replace it with my own:![]() ![]() I tried editing them but turned out to not look so good. I'm also not sure exactly where to input the image in the section for the Advanced Style CSS Editor section @ the style ID section. Any help is appreciated, thanks. |
Aug 15, 2012 8:26 AM
#283
kk, so i figured the #more for anime box arts would put them in the "more" drop down, and it worked! But now i have the anime box art and it looks like this:![]() in the drop down and i don't know how to modify it (un-tile, move around, round edges). I attempted to move it around like this: .borderRBL { background-size: contain; height: 310px; margin-left: 0px; background-position: right top; background-repeat: no-repeat; margin-top: 5px; width: 245px !important; } but that didn't work...What do i do? Edit: No wait, i think i might have it |
ofx360Aug 15, 2012 8:45 AM
Aug 15, 2012 10:44 AM
#284
xEru said: Ooh, well for the manga list I used a style ID.. There's already code for that current layout.. I'll try pasting the code you wrote after all the other codes.. Looks like it worked, now you just have to switch the render's URLs with the URLs from uploaded renders you want as you did with your anime list. |
Aug 15, 2012 11:17 AM
#285
kk, a few things - http://myanimelist.net/animelist/ofx360 Looking at my list now, you see a little faint blue circle thing surrounding "more" (provided you're not color blind :P). Hover over it, it gets less transparent, cool. Click it, it turns a reddish color, nice. Un-click it, it stay the reddish color till you click elsewhere, not cool. I'd like it to fade back to the light blue once its not in use. i've used all the pseudo code i could think of, the one i'm using now is ":focus", and its giving me half the results i want. Is there something i'm over looking? Or am i doing the best i can here? Looking at the "more" drop down, you can see the anime box art towards the right - that's fine. But i did want the box art to look more like: http://dl.dropbox.com/u/49469857/MAL/premade/square/themes/light/preview.jpg Where do i start with that? |
Aug 15, 2012 11:20 AM
#286
Stark700 said: For the manga layout, how do I edit the name and replace it with my own: ![]() ![]() I tried editing them but turned out to not look so good. I'm also not sure exactly where to input the image in the section for the Advanced Style CSS Editor section @ the style ID section. Any help is appreciated, thanks. Easiest way to is to use the dropper tool in the program you made your profile to simulate the exact color from the background behind and around the text. Now just paint that over the text. Look for the codes that start with .header_cw in the CSS, the url for the headers are right there you just replace those with your newly edited images URLs after you upload them. |
Aug 15, 2012 4:27 PM
#287
Alright, thanks :> |
Aug 15, 2012 9:06 PM
#288
ofx360 said: kk, a few things - http://myanimelist.net/animelist/ofx360 Looking at my list now, you see a little faint blue circle thing surrounding "more" (provided you're not color blind :P). Hover over it, it gets less transparent, cool. Click it, it turns a reddish color, nice. Un-click it, it stay the reddish color till you click elsewhere, not cool. I'd like it to fade back to the light blue once its not in use. i've used all the pseudo code i could think of, the one i'm using now is ":focus", and its giving me half the results i want. Is there something i'm over looking? Or am i doing the best i can here? Looking at the "more" drop down, you can see the anime box art towards the right - that's fine. But i did want the box art to look more like: http://dl.dropbox.com/u/49469857/MAL/premade/square/themes/light/preview.jpg Where do i start with that? Try #list_surround table tbody tr td.td1 div small a:last-of-type:focus:hover, #list_surround table tbody tr td.td2 div small a:last-of-type:focus:hover instead of #list_surround table tbody tr td.td1 div small a:last-of-type:focus, #list_surround table tbody tr td.td2 div small a:last-of-type:focus Let me know how it works out. It should make the button only the color on click and hover. |
Aug 15, 2012 9:48 PM
#289
ofx360 said: kk, a few things - http://myanimelist.net/animelist/ofx360 Looking at the "more" drop down, you can see the anime box art towards the right - that's fine. But i did want the box art to look more like: http://dl.dropbox.com/u/49469857/MAL/premade/square/themes/light/preview.jpg Where do i start with that? Forgot this. Um, not sure exactly but you can inspect a list that does that with Firebug (you're severly handicapping yourself not using it imo), and try to see if you can find the code to control it. If you can't, use the slash and burn method: go to source edit, then cut out swaths of code until you see the thing you want to understand the code for change on screen (since it edits in real time) then take back the last cut you made and narrow down what the codes are in that part. Hope that makes sense lol. I think it looks better this way tho, for that paticular part. |
Aug 16, 2012 11:42 AM
#290
Aww, none of that ended up working out :< (and i am using Firebug!) So i guess i'll just leave it as is, looks fine enough i think. Gonna move on to one more thing, fix browser compatibility with the Chrome hack, and then attempt to clean up my code! So close to being done Thanks for all the help so far! |
Aug 16, 2012 1:35 PM
#291
ofx360 said: Aww, none of that ended up working out :< (and i am using Firebug!) So i guess i'll just leave it as is, looks fine enough i think. Gonna move on to one more thing, fix browser compatibility with the Chrome hack, and then attempt to clean up my code! So close to being done Thanks for all the help so far! OK I did a little investigating and found something that should work for you so try this instead. I think this is what you were goin for with the hover/focus, the button turns red only on click and goes back to blue when cursor off. @import "http://fonts.googleapis.com/css?family=Lovers+Quarrel"; @import "http://fonts.googleapis.com/css?family=Italianno"; @import "http://fonts.googleapis.com/css?family=Courgette"; @import "http://dl.dropbox.com/u/68627640/MAL/Top%20Bar.css"; @import "http://dl.dropbox.com/u/68627640/MAL/EntireLayout.css"; @import "http://dl.dropbox.com/u/49469857/MAL/premade/anime.css"; #copyright:after { content: " CSS by Kyouhansha. Edits by Shishio-kun and Veriti. Google \'Shishio\'s Custom Lists\' for more designs and info."; } #list_surround small a:focus:hover{ background: none repeat scroll 0 0 red !important; } |
Aug 16, 2012 1:44 PM
#292
ofx360 said: Aww, none of that ended up working out :< (and i am using Firebug!) So i guess i'll just leave it as is, looks fine enough i think. Gonna move on to one more thing, fix browser compatibility with the Chrome hack, and then attempt to clean up my code! So close to being done Thanks for all the help so far! I think the codes you want from to make the anime cover thumbnail look more like the square layout are under: /* 2) Base layout */ @import url(http://dl.dropbox.com/u/49469857/MAL/premade/square/style.css); and are #list_surround > table:nth-of-type(n+4):not(.header_cw):not(.header_completed):not(.header_onhold):not(.header_dropped):not(.header_ptw), .hide { border-radius: 13px 13px 13px 13px; float: left; height: 220px; margin: 11px; position: relative; width: 220px; } .hide { background-position: center -20px; display: inline-block !important; margin-left: -231px; } These appear to control the thumbnail look by limiting the width and height, then changing the background position in the second set to move the thumbnail "view". I don't think you can just add that to your CSS and they'll look like that, but it should give you an idea of how its done. |
Aug 16, 2012 2:03 PM
#293
Shishio-kun said: #list_surround small a:focus:hover{ background: none repeat scroll 0 0 red !important; } Na, what i wanted it to do was stay the color red when the "more" drop down is open, but then turn back to it normal state when the "more" drop down is closed. Shishio-kun said: These appear to control the thumbnail look by limiting the width and height, then changing the background position in the second set to move the thumbnail "view". I don't think you can just add that to your CSS and they'll look like that, but it should give you an idea of how its done. I'm gonna have to look into that when i get to working on it again. See if i can fit that into my code somehow. Thanks for the tip. |
Aug 16, 2012 5:52 PM
#294
ofx360 said: Shishio-kun said: #list_surround small a:focus:hover{ background: none repeat scroll 0 0 red !important; } Na, what i wanted it to do was stay the color red when the "more" drop down is open, but then turn back to it normal state when the "more" drop down is closed. Shishio-kun said: These appear to control the thumbnail look by limiting the width and height, then changing the background position in the second set to move the thumbnail "view". I don't think you can just add that to your CSS and they'll look like that, but it should give you an idea of how its done. I'm gonna have to look into that when i get to working on it again. See if i can fit that into my code somehow. Thanks for the tip. Ok :active won't work for that either, maybe someone else can think of a way to. What I would do in this case is just create a color button that pops up with the more panel and have it positioned over the button's place. You can simulate the button with the color, screencap it, render it out, then make it that way. |
Aug 16, 2012 7:34 PM
#295
Shishio-kun said: xEru said: Ooh, well for the manga list I used a style ID.. There's already code for that current layout.. I'll try pasting the code you wrote after all the other codes.. Looks like it worked, now you just have to switch the render's URLs with the URLs from uploaded renders you want as you did with your anime list. Yes it did! Thank you so much, your a big help! :D |
Aug 16, 2012 7:37 PM
#296
Shishio-kun said: Ok :active won't work for that either, maybe someone else can think of a way to. What I would do in this case is just create a color button that pops up with the more panel and have it positioned over the button's place. You can simulate the button with the color, screencap it, render it out, then make it that way. Same idea but without the need of a picture: .hide:before { pointer-events: none; position: absolute; margin-top: -25px; margin-left: 487px; background: red; border-radius: 15px; width: 40px; line-height: 20px; text-align: center; content: "More"; color: #F0EBEB; } |
Aug 16, 2012 9:51 PM
#298
Aug 17, 2012 5:24 AM
#299
Ok, i think i'm just about done here. Its definitely not perfect, browser compatability is still wonky, viewing the list in different states (offline, online) isn't the best...etc, but i think for a first go at this, i did ok! My initial idea didn't exactly come together on account of lofty ideas, but i like this layout just the same. But i do have two (hopefully) last questions. Is it possible to hide this: ![]() Without hiding this: ![]() If i do display:hide on the parent, everything gets hidden, no matter how !important the :before and :after are. And i just can't think around the issue :< Second problem is that i don't understand how animations and transitions work...i attempted to do it with what i thought i knew, but it ended up not working out...or at least i don't think it worked... Here's a snippet of the code i am using: #mal_cs_links div:first-of-type a:first-of-type { -moz-transition: all 0.25s ease-in-out 0s; -webkit-transition: all 0.25s ease-in-out 0s; -o-transition: all 0.25s ease-in-out 0s; transition: all 0.25s ease-in-out 0s; } #mal_cs_links div:first-of-type a:first-of-type:after { background-attachment: scroll; background-clip: border-box; background-color: transparent; background-image: url("Icons/Gray_Add.png"); background-origin: padding-box; background-position: center center; background-repeat: no-repeat; background-size: 20px auto; content: ""; height: 64px; left: 50%; margin-left: 310px; position: absolute; top: 590px; width: 64px; } #mal_cs_links div:first-of-type a:first-of-type:hover:after { background-image: url("Icons/Color_Add.png"); } #mal_cs_links div:first-of-type a:first-of-type:before { background: none repeat scroll 0 0 rgba(250, 11, 204, 0) !important; border-radius: 0 0 0 0; color: #808080; content: "Add New Anime"; font-size: 10px; font-weight: 100; height: 26px; left: 50%; margin-left: 220px; padding: 8px 0 0 15px; position: absolute !important; top: 605px; width: 125px; } #mal_cs_links div:first-of-type a:first-of-type:hover:before { background: none repeat scroll 0 0 rgba(250, 11, 204, 0.4) !important; color: white; content: "Add New Anime"; } |
Aug 17, 2012 6:12 AM
#300
Arex said: On my anime list, my cursor only changes when its on the list, i want it to be the cursor for the whole background too, anyone have an idea why its doing this>.>? Try adding this to your CSS : Only copy the code between {}, don't copy the Body overall, that will break your list. BODY { cursor: url(http://i1243.photobucket.com/albums/gg544/Gouko_Tenrou/basic1222.png) 1 2, auto; } Then just replace my url with your cursor's url |
More topics from this board
» [CSS - MODERN] ⚡️ Fully-Customizable Layouts (2024 updates!) ( 1 2 3 4 5 ... Last Page )Shishio-kun - Jul 21, 2017 |
381 |
by KabukiChouNights
»»
Sep 13, 10:56 AM |
|
» theme helpthreat - Jul 5 |
5 |
by Zaryf
»»
Aug 21, 5:46 AM |
|
» [CSS - Modern] 🍰 Clarity by V.L ( 1 2 3 4 5 ... Last Page )Valerio_Lyndon - Apr 19, 2018 |
1261 |
by KiranaStarr
»»
Aug 16, 5:48 PM |
|
» [CSS] ⭐️ Customize your List Cursor + Cursor FixesShishio-kun - Mar 8, 2021 |
30 |
by Shishio-kun
»»
Jul 28, 3:17 AM |
|
» How To Have Different Banner/Cover image & Background Image For Manga & Anime ListsYasminaRegina - Jul 25 |
2 |
by YasminaRegina
»»
Jul 26, 1:02 AM |