New
May 20, 2012 11:11 PM
#1
This topic is part of our CSS Tutorials and Add-ons section: http://myanimelist.net/forum/?topicid=419405 This is also a gallery topic for CSS layouts, a preview list of all premade layouts in the club can be found here: http://myanimelist.net/forum/?topicid=318587 My list styles I shared with all: http://hlcss.ml/ Dropbox tutorial: Go to Dropbox website. If you don't have a Dropbox account then register. After your registration: 1. Go to the Public folder. 2. Drop a CSS file (by dragging the file icon onto the opened Dropbox page at your browser) into the Public folder. 3. Click the Copy Public Link button to get a link to your CSS file. 4. Put the copied link into your CSS Hint 10. Hide a scrollbar with saving scrollablity Hint 9. SVG effects in CSS Hint 8. Category menu guide Hint 7. How to create own animation with cycling slideshow pictures Hint 6. Top bar menu guide (premade icon-style menu) Hint 5. Aligning anime/manga titles Hint 4. Extra comments Hint 3. Extra fonts Hint 2. Put a cover image into a list line Hint 1. Animation Meet the transition! Specifications: transition: transition-property, transition-delay, transition-duration, transition-timing-function transition-property specifies the name of the CSS properties: all height width color font-size background-size etc. transition-timing-function: ease linear ease-in ease-out ease-in-out Put following code into your CSS: .td1, .td2 { /* your code */ line-height:15px; /* determines initial height for the lines in a table with titles */ transition: line-height .5s ease; /* CSS3 reference */ -o-transition: line-height .5s ease; /* for Opera compatibility */ -moz-transition: line-height .5s ease; /* for Firefox compatibility */ -webkit-transition: line-height .5s ease; /* for Chrome, Safari compatibility */ /* your code */ } tr:hover .td1, tr:hover .td2 { /* your code */ line-height: 350px; /* determines final height for the lines in a table with titles */ /* your code */ } note: .1s .2s .3s etc = 0.1s 0.2s 0.3s etc |
Shishio-kunDec 16, 2015 10:02 PM
May 22, 2012 12:30 PM
#2
OK after actually trying these codes out... > appears to become > when you use it in the CSS edit box on MAL, which is what almost everyone does here. It works for you since you imported this CSS. Few people import their CSS. Also I get that the grey and red text needs to be cut out on my own, but a passerby who tries to copy and use that code might not know that. |
Shishio-kunMay 22, 2012 12:34 PM
May 23, 2012 11:13 PM
#3
Is it necessary to upload the codes on dropbox then import to the CSS?? |
May 24, 2012 1:51 AM
#4
It isn't. But check up your CSS: #list_surround:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-position: right !important; background-repeat: no-repeat !important; background-size: 225px 320px !important; position: relative: !important; margin-right: 100px !important; } Must be: #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-position: right !important; background-repeat: no-repeat !important; background-size: 225px 320px !important; position: relative: !important; margin-right: 100px !important; } |
May 24, 2012 2:05 AM
#5
Done!!!!! Just final tweaks before i start experimenting over the next edits! |
HinayaMay 24, 2012 2:25 AM
May 24, 2012 3:03 AM
#6
May 27, 2012 5:19 AM
#7
Hint 3. Extra fonts 1. Go to Google Web Fonts 2. Click Quick-use below the font you want to ![]() 3. At the next page click @import tab and copy the link in the textbox ![]() 4. Scroll down and copy the CSS code ![]() 5. Put the copied link at the step 3 and the copied code at the step 4 into your CSS ![]() * if new font is too small or big to resize it: font-size: 14px; /* change the value in px for best result */ * if the characters of the new font are too thin or thick to change it weight: font-weight: normal; /* also use bold, bolder, lighter or numeric equivalent from 100 to 900 instead of normal */ P. S. all users who view your list will be able to see the fonts that you use |
HahaidoAug 30, 2012 1:50 AM
May 27, 2012 10:50 AM
#8
Hahaido said: Hint 3. Extra fonts 1. Go to Google Web Fonts 2. Click Quick-use below the font you want to ![]() 3. At the next page click @import tab and copy the link in the textbox ![]() 4. Scroll down and copy the CSS code ![]() 5. Put the copied link at the step 3 and the copied code at the step 4 into your CSS ![]() * if new font is too small or big to resize it: font-size: 14px; /* change the value in px for best result */ * if the characters of the new font are too thin or thick to change it weight: font-weight: normal; /* also use bold, bolder, lighter or numeric equivalent from 100 to 900 instead of normal */ If someone viewing my page doesn't have the font installed on their computer, will they be able to see the font anyways? |
May 27, 2012 12:04 PM
#9
Of course! That feature is provided by font-face. Example CSS: @font-face { font-family: 'font_name'; font-style: normal; font-weight: 400; src: local('font_name'), url('path_to_font') format('font_format'); } This code is checking your system for a font installed. If you don't have then it download a font. First I wanted to make a hint how to use font-face. But I've decided that using a special service is much easier way. |
HahaidoMay 27, 2012 12:24 PM
May 29, 2012 3:19 AM
#10
Hahaido said: Of course! That feature is provided by font-face. Example CSS: @font-face { font-family: 'font_name'; font-style: normal; font-weight: 400; src: local('font_name'), url('path_to_font') format('font_format'); } This code is checking your system for a font installed. If you don't have then it download a font. First I wanted to make a hint how to use font-face. But I've decided that using a special service is much easier way. Wow it really worked! Thanks. I'm using a couple of your tips for a Touhou layout. I've always wanted one in this club. |
May 31, 2012 2:29 AM
#11
When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? for example: ![]() |
May 31, 2012 10:07 AM
#12
Ano san, I'm not a CSS code expert but I didn't like the fact that the name of the anime overlaps the cover pic in your list. I compared it with mine but the pic and the name were apart. Your whole list was great but that overlapping didn't seem right with such a classy design. I apologize priorly if you don't like me making a remark on your design ^_^" |
May 31, 2012 11:44 AM
#13
I like the idea of having the covers with the list, but like Hinaya says the overlapping is not for me. I do want to ask if theres a way to, instead of having the covers appear on the line with the title, can the covers appear in a fixed position elsewhere? like for example off the list and apart of the background as you scroll down. I'm making a new list, and I wanted to ask ahead of time so you guys have time to ponder about it. :] As always thanks for your help. |
May 31, 2012 12:48 PM
#14
LordSilen said: I do want to ask if theres a way to, instead of having the covers appear on the line with the title, can the covers appear in a fixed position elsewhere? Something like this? ![]() Shishio-kun said: When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? At the moment I don't know how |
May 31, 2012 1:04 PM
#15
Hahaido said: LordSilen said: I do want to ask if theres a way to, instead of having the covers appear on the line with the title, can the covers appear in a fixed position elsewhere? Something like this? ![]() Yeah, is it easy to position? I'm not done editing my list enough, to add this yet, but at least I know its possible. thanks! |
Jun 1, 2012 1:39 AM
#16
Hinaya said: Ano san, I'm not a CSS code expert but I didn't like the fact that the name of the anime overlaps the cover pic in your list. I compared it with mine but the pic and the name were apart. Your whole list was great but that overlapping didn't seem right with such a classy design. I apologize priorly if you don't like me making a remark on your design ^_^" Its because you have enough list width, but if you get an anime with a really long name it might overlap but that won't happen. Whats does ano san mean? |
Jun 1, 2012 1:41 AM
#17
Hahaido said: LordSilen said: I do want to ask if theres a way to, instead of having the covers appear on the line with the title, can the covers appear in a fixed position elsewhere? Something like this? ![]() Shishio-kun said: When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? At the moment I don't know how Its ok, I found some ways, and got some cool varying styles to go with this Touhou premade! btw can I have the code you fixed the image with? It seems like with hover you'd get the flickering if you moved it out there. |
Jun 1, 2012 2:25 AM
#18
Shishio-kun said: btw can I have the code you fixed the image with? It seems like with hover you'd get the flickering if you moved it out there. #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle span { display: none !important; } #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: relative !important; margin-top: 4px !important; width: 180px !important; height: 256px !important; margin-left: auto !important; margin-right: auto !important; } tr:hover .td1, tr:hover .td2 { filter: alpha(opacity=100) important; -moz-opacity: 1 !important; opacity: 1 !important; background-color: #FFFFFF !important; line-height: 295px; } |
HahaidoJun 3, 2012 12:08 AM
Jun 2, 2012 8:06 PM
#19
Ok, I installed it and the covers show, kinda. the cover seems to be obscured because it appears within the text space? So it appears to highlight the anime title for some reason. Also how did you separate it from the list and affix the cover art somewhere else. I wanted to be able to place the cover in one fixed position. The list: http://myanimelist.net/animelist/LordSilen&status=1&order=0 Heres my whole code, (your code specifically is just before the "#list_surround .status_selected" text block.) @import url("http://dl.dropbox.com/u/83004742/LIST1.css"); @import url("http://dl.dropbox.com/u/61796201/css/menu.css") all; body { background-attachment: fixed; background-color: black; background-image: url("http://i45.tinypic.com/2lizwap.png"); background-position: right top; background-repeat: no-repeat; background-size: cover; } .header_cw{ background-image: url("http://i47.tinypic.com/2r6lipy.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: original; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 1250px; z-index: -1; } .header_completed { background: url("http://i47.tinypic.com/1qiqsy.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: ; padding-top: 200px; position: fixed; right: 0; top: 0px; width: 1250px; z-index: -1; } .header_onhold { background-image: url("http://i45.tinypic.com/hturg5.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: ; padding-top: 200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_dropped { background: url("http://i45.tinypic.com/t7c3s4.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: ; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } .header_ptw { background: url("http://i50.tinypic.com/2uf3ozo.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: ; padding-top: 1200px; position: fixed; right: 0; top: 0px; width: 2000px; z-index: -1; } #list_surround { left: 15px !important; position:absolute !important; } #list_surround { background: url("http://i47.tinypic.com/es2d0x.png") repeat scroll 0 0 transparent; font-size: 81.25%; line-height: 1; margin: 0 auto; padding-bottom: 50px; padding-top: 154px; width: 725px; } [cellspacing="0"] { border-collapse: collapse; line-height: 17px; } a { -moz-transition: all 0.25s ease-in-out 0s; color: #EEEEEE; text-decoration: none; text-shadow: none; } a:hover { color: #201C3A; text-shadow: 0 1px rgba(255, 255, 255, 0.15); } td.table_header, td.td1, td.td2, td.status_selected, td.status_not_selected, td.category_totals { -moz-box-sizing: border-box; border: 2px none #000000; height: 35px; padding: 8px; text-align: center; vertical-align: middle; } td.table_header { background-color: rgba(0, 0, 0, 0.9); } td.table_header:nth-of-type(1) { border-radius: 3px 0 0 0; } td.table_header:nth-of-type(2) { text-align: left; } td.table_header:nth-of-type(4) { border-radius: 0 3px 0 0; } td.table_header:nth-of-type(5) { border-color: transparent; } td.td1 { -moz-transition: all 0.25s ease-in-out 0s; background-color: rgba(0, 0, 0, 0.6); } td.td2 { -moz-transition: all 0.25s ease-in-out 0s; background-color: rgba(0, 0, 0, 0.6); } tr:hover td.td1, tr:hover td.td2 { background-color: rgba(0, 0, 0, 0.3); font-size: 15px; } td.td1:nth-of-type(2), td.td2:nth-of-type(2) { text-align: left; } td.td1:nth-of-type(3), td.td2:nth-of-type(3) { font-size: 16px; } tr:hover td.td1:nth-of-type(3), tr:hover td.td2:nth-of-type(3) { color: white; font-size: 18px; } td.td1:nth-of-type(5), td.td2:nth-of-type(5) { border-color: transparent; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle span { display: none !important; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: fixed: !important; margin-top: 4px !important; width: 180px !important; height: 256px !important; left: 500px !important; margin-left: auto !important; margin-right: auto !important; } #list_surround .status_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected, #list_surround .status_not_selected + .status_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected, #list_surround .status_not_selected + .status_not_selected + .status_selected + .status_not_selected + .status_not_selected + .status_not_selected, #list_surround .status_not_selected + .status_not_selected + .status_not_selected + .status_selected + .status_not_selected + .status_not_selected, #list_surround .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_selected + .status_not_selected, #list_surround .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_selected, #list_surround .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected + .status_not_selected { display:none; } td.status_not_selected a:hover, td.status_selected a:hover { background-color: #403C5A; background-image: -moz-linear-gradient(#403C5A, #383450); border-color: #201C3A; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); text-shadow: 0 1px rgba(0, 0, 0, 0.3); } td.status_selected a:hover { background-color: ffffff; background-image: -moz-linear-gradient(#B42030, #AC1828); border-color: rgba(0, 0, 0, 0.7); } td.category_totals { -moz-transition: all 0.25s ease-in-out 0s; background-color: transparent; border-radius: 0 0 3px 3px; color: rgba(51, 51, 51, 0); text-align: center; } td.category_totals:hover { background-color: rgba( 0, 47, 72, 0.6); color: #EEEEEE; } .header_cw *, .header_completed *, .header_onhold *, .header_dropped *, .header_ptw * { height: 2000px; line-height: 24px; padding-bottom: 4px; text-align: right; vertical-align: bottom; } .header_title { border-radius: 4px 4px 4px 4px; display: inline-block; font-style: italic; height: auto; padding: 0 8px 0 0; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.15); } #grand_totals { -moz-transition: all 0.25s ease-in-out 0s; 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(0, 0, 0, 0.6); border-radius: 3px 3px 3px 3px; color: #EEEEEE; line-height: 17px; margin-top: 10px; padding: 8px; text-align: center; } #inlineContent { background-image: url("http://i50.tinypic.com/2ntgrow.png"); top: 0; bottom: 0; right: 0; left: 0; display: block !important; height: 194px; margin-left: auto; margin-right: auto; position: fixed; z-index: 4 !important; width: 2000px; background-size: original; background-repeat: no-repeat; } >:first-of-type { background: url("http://img4.imageshack.us/img4/5885/iconmenu1.png") 100% 0px no-repeat transparent; display: block; height: 32px !important; overflow: hidden; padding-top: 32px !important; position: fixed; right: 4px; -layout: fixed; text-align: center; top: 4px; width: 64px !important; z-index: 6; } >:first-of-type:hover { box-sizing: border-box; -moz-box-sizing: border-box; -moz-transition: all 0.4s ease 0s; -webkit-transition: all 0.4s ease 0s; -o-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s; background: url("http://img23.imageshack.us/img23/3290/iconmenuhover1.png") 100% 0px no-repeat transparent !important; height: auto !important; width: auto !important; } >:first-of-type tbody { height: 32px !important; overflow: hidden; } >:first-of-type tr { background: rgba(255, 255, 255, 0.6); border-radius: 3px 0px 3px 3px; display: block; padding: 8px 0px 4px; } >:first-of-type td { display: block; width: 100%; } >:first-of-type a { background-color: rgba(64, 60, 90, 0.6); border-radius: 3px; color: #FFFFFF; display: block; font: 13px/17px 'Arial', sans-serif; margin: 0px 12px 4px; padding: 3px 16px 3px; text-decoration: none; } >:first-of-type a:hover { background-color: #403C5A; } /* Icon-style Top Bar */ #mal_cs_listinfo, #mal_cs_links, #mal_cs_otherlinks, #mal_cs_powered { box-sizing: border-box; -moz-box-sizing: border-box; -moz-transition: all 0.4s ease 0s; -webkit-transition: all 0.4s ease 0s; -o-transition: all 0.4s ease 0s; transition: all 0.4s ease 0s; background: none no-repeat scroll 100% 0 transparent; border: 0 none; display: block; height: 32px !important; overflow: hidden; padding: 32px 0 0 !important; position: fixed !important; right: 4px; text-align: center; top: 4px; width: 32px !important; z-index: 10; } #mal_cs_listinfo:hover, #mal_cs_links:hover, #mal_cs_otherlinks:hover, #mal_cs_powered:hover { height: auto !important; padding-top: 32px !important; width: 150px !important; } #mal_cs_listinfo div, #mal_cs_links div, #mal_cs_otherlinks div, #mal_cs_powered div, #mal_cs_powered dd { -moz-transition: opacity 0.4s ease-in-out 0s; -webkit-transition: opacity 0.4s ease-in-out 0s; -o-transition: opacity 0.4s ease-in-out 0s; transition: opacity 0.4s ease-in-out 0s; background-color: rgba(255, 255, 255, 0.6); border-radius: 3px 0 0 0; font-size: 0 !important; line-height: 0; margin: 0 !important; opacity: 0; padding: 8px 0 0 !important; } #mal_cs_listinfo:hover div, #mal_cs_links:hover div, #mal_cs_otherlinks:hover div, #mal_cs_powered:hover div, #mal_cs_powered:hover dd { opacity: 1; } #mal_cs_listinfo div:nth-of-type(2), #mal_cs_links div:nth-of-type(2), #mal_cs_otherlinks div:nth-of-type(2), #mal_cs_powered div:nth-of-type(2) { border-radius: 0 0 3px 3px; padding: 4px 0 8px !important; } #mal_cs_listinfo a, #mal_cs_links a, #mal_cs_otherlinks a, #mal_cs_powered a { background-color: rgba(64, 60, 90, 0.6) !important; border-radius: 3px 3px 3px 3px; display: block; font: 13px/17px 'Arial', sans-serif !important; margin: 4px 12px 0; padding: 3px 0 !important; text-decoration: none !important; } #mal_cs_listinfo a:nth-of-type(1), #mal_cs_links a:nth-of-type(1), #mal_cs_otherlinks a:nth-of-type(1), #mal_cs_powered a:nth-of-type(1) { margin-top: 0; } #mal_cs_listinfo a:hover, #mal_cs_links a:hover, #mal_cs_otherlinks a:hover { background-color: #403C5A !important; } #mal_cs_listinfo strong a strong { font-weight: normal; } #mal_cs_otherlinks strong { color: #EEEEEE; display: block; font: bold 13px/17px 'Arial',sans-serif !important; padding: 0 4px 4px; text-shadow: 1px 1px 1px #333333; } #mal_cs_otherlinks strong a { background: none transparent !important; border-radius: 0 0 0 0; color: #333333; display: inline; font: bold 13px/17px 'Arial',sans-serif !important; margin: 0; padding: 0; text-shadow: 0 1px 1px #FFFFFF; } #mal_cs_powered a { background-color: rgba(255, 255, 255, 0.6) !important; border-radius: 3px 0 0 0 !important; display: block !important; margin: 0 !important; opacity: 0; padding: 8px 0 0 !important; } #mal_cs_powered:hover a { opacity: 1; } #mal_cs_powered a img { -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: url("http://img708.imageshack.us/img708/4322/malzc.png") no-repeat scroll 50% 6px rgba(64, 60, 90, 0.6); border-radius: 3px 3px 3px 3px; display: block; height: 0; margin: 0 12px; padding: 23px 0 0 126px; width: 0; } #mal_cs_powered a img:hover { background-color: #403C5A; } #mal_cs_powered #search { border-radius: 0 0 3px 3px; padding: 8px !important; position: relative; } #searchBox { box-sizing: border-box; -moz-box-sizing: border-box; border-color: #BCBCBC #D6D6D6 #D6D6D6; border-radius: 2px 2px 2px 2px; border-style: solid; border-width: 1px; color: #333333; display: inline-block; font-family: arial,sans-serif; font-size: 13px; height: 28px; padding-left: 6px !important; padding-right: 24px !important; vertical-align: top; width: 100px; } #searchBox:hover, #searchBox:focus { border-color: #ACACAC #C6C6C6 #C6C6C6; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; } #searchListButton { background: url("http://imageshack.us/photo/my-images/832/icongo.png/") no-repeat scroll 0 0 transparent; border-radius: 3px 3px 3px 3px; display: none; height: 0; margin: 0; padding: 16px 0 0 16px !important; right: 12px !important; top: 14px !important; width: 0; } #mal_cs_listinfo { background-image: url("http://img18.imageshack.us/img18/2899/icon1db.png"); right: 174px; } #mal_cs_listinfo:hover { background-image: url("http://img809.imageshack.us/img809/9025/icon1over.png"); } #mal_cs_links { background-image: url("http://img822.imageshack.us/img822/7759/icon2wx.png"); right: 140px !important; z-index: 9; } #mal_cs_links:hover { background-image: url("http://img834.imageshack.us/img834/5844/icon2over.png"); } #mal_cs_otherlinks { background-image: url("http://img18.imageshack.us/img18/246/icon3tt.png"); right: 106px !important; z-index: 8; } #mal_cs_otherlinks:hover { background-image: url("http://img716.imageshack.us/img716/6956/icon3over.png"); } #mal_cs_powered { background-image: url("http://img821.imageshack.us/img821/1820/icon4i.png"); right: 72px !important; z-index: 7; } #mal_cs_powered:hover { background-image: url("http://img696.imageshack.us/img696/1994/icon4over.png"); } #mal_control_strip { background: transparent !important; } #mal_cs_pic img { display: none; } #mal_cs_pic, #mal_cs_listinfo, #mal_cs_links { border-right: 0 none !important; } /* FIX MENU BAR TO THE TOP Keep this on the bottom if you want to keep the top bar fixed to the top. If you add another menu bar code below this which positions the bar, that one might override this one. */ #mal_control_strip { position: fixed !important; } .td1, .td2 { background: url("...") repeat scroll 0 0 transparent; padding-top: 8px; .td1 a:hover, .td2 a:hover { text-shadow: -1px -1px 3px red, 1px 1px 3px blue; } # { background: transparent !important; } td#mal_cs_pic a img { display: none; } #mal_cs_pic, #mal_cs_listinfo, #mal_cs_links { border-right: 0 none !important; } td.table_header:nth-of-type(4) { border-radius: 0 0 0 0 !important; } Beware though its really messy due to recent customization. |
_SilenJun 2, 2012 8:13 PM
Jun 3, 2012 12:21 AM
#20
LordSilen said: the cover seems to be obscured because it appears within the text space? Add to your CSS: .animetitle { background-size: 0px 0px; width: 0px !important; height: 0px !important; } Edit following code: #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: absolute !important; margin-top: 4px !important; // Insert your value width: 180px !important; height: 256px !important; margin-left: 786px !important; // Insert your value } Shishio-kun said: When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? I've found the way out! #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle:before { display: block !important; content: ' '; width: 100% !important; height: 50% !important; } Preview: ![]() |
HahaidoJun 3, 2012 2:02 AM
Jun 3, 2012 12:55 AM
#21
Hahaido said: Shishio-kun said: When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? I've found the way out! #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle:before { display: block !important; content: ' '; width: 100% !important; height: 50% !important; } Preview: ![]() Wow I love that, just in time it should be useful for new premade layouts. Is there a way to move it to the top? I have my own methods but yours is much simpler and should be less prone to bugs. |
Shishio-kunJun 3, 2012 1:30 AM
Jun 3, 2012 1:28 AM
#22
Hahaido said: LordSilen said: the cover seems to be obscured because it appears within the text space? Add to your CSS: .animetitle { background-size: 0px 0px; width: 0px !important; height: 0px !important; } Edit following code: #list_surround:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: absolute !important; margin-top: 4px !important; // Insert your value width: 180px !important; height: 256px !important; margin-left: 786px !important; // Insert your value } Shishio-kun said: When I use Tip 1 with an anime title CSS hover (like on my current anime list), is there a way for you to move the text part of the title above the pic, instead of in the middle, and without disturbing the pic? I've found the way out! #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle:before { display: block !important; content: ' '; width: 100% !important; height: 50% !important; } Preview: ![]() Strange, when i edited it like you said, none of the covers show anywhere, on or off the list. Sorry if i'm just failing to notice something obvious, this code is a little beyond my understanding. |
Jun 3, 2012 1:33 AM
#23
Shishio-kun said: Is there a way to move it to the top? #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle:before { display: block !important; content: ' '; width: 100% !important; height: 5% !important; margin-bottom: -95% !important; } LordSilen said: Strange, when i edited it like you said, none of the covers show anywhere, on or off the list. #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: absolute !important; margin-top: 10px !important; width: 180px !important; height: 256px !important; margin-left: 786px !important; } |
HahaidoJun 3, 2012 2:01 AM
Jun 3, 2012 9:15 AM
#24
No luck, its same as before. Are the covers trying to display one the left side of the list? if so it would go off screen since my list in on the extreme left. heres the code i have in there. .animetitle { background-size: 0px 0px; width: 0px !important; height: 0px !important; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle span { display: none !important; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: absolute !important; margin-top: 10px !important; width: 180px !important; height: 256px !important; margin-right: 786px !important; } every time i put in "#list_surround table:nth-of-type(1n+4) tbody:hover .animetitle" it reverts back to "#list_surround:nth-of-type(1n+4) tbody:hover .animetitle"? |
_SilenJun 3, 2012 9:24 AM
Jun 3, 2012 11:32 AM
#25
LordSilen said: No luck, its same as before. Are the covers trying to display one the left side of the list? if so it would go off screen since my list in on the extreme left. heres the code i have in there. every time i put in "#list_surround table:nth-of-type(1n+4) tbody:hover .animetitle" it reverts back to "#list_surround:nth-of-type(1n+4) tbody:hover .animetitle"? I recomend you to use all the script in the dropbox, and use import lines, cuz this is one of the problems I found when using the MAL css box, some codes can't save right, and with the css in your dropbox you can modify the code in notepad(I use Notepad++) and save it, and reload the page to see the changes, its much easier and faster than have the theme code in css box in MAL. |
Jun 3, 2012 12:36 PM
#26
LordSilen said: No luck, its same as before. Are the covers trying to display one the left side of the list? if so it would go off screen since my list in on the extreme left. heres the code i have in there. .animetitle { background-size: 0px 0px; width: 0px !important; height: 0px !important; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle span { display: none !important; } #list_surround:nth-of-type(1n+4) tbody:hover .animetitle { display: block !important; background-repeat: no-repeat !important; background-size: 180px 256px !important; position: absolute !important; margin-top: 10px !important; width: 180px !important; height: 256px !important; margin-right: 786px !important; } every time i put in "#list_surround table:nth-of-type(1n+4) tbody:hover .animetitle" it reverts back to "#list_surround:nth-of-type(1n+4) tbody:hover .animetitle"? If you find the codes change its because MAL filtered them out on save with the CSS edit box. You have to import those codes. It filters out some specific words completely ("script" is one I believe). Some get by when you add \ to the underscore but on their second save the \ are removed. |
Jun 3, 2012 2:45 PM
#27
ahhh, ok i get it now. I knew that you could import but i didn't really see the importance of it until now. Its weird that MAL would try to filter that. It works now to try to separate the text and the cover if possible and move it over. time to fiddle with some numbers. Thanks by the way al_exs i didnt realize that i could do that, :) and to Hahaido for putting up with my ignorance. |
Jun 24, 2012 10:57 PM
#28
Hint 4. Extra comments Preview: ![]() Code: #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle:before { pointer-events: none; position: absolute; visibility: hidden; content: ' '; /* Comments position */ margin-top: 0px; margin-left: 114%; width: 160%; /* Comments size */ padding: .2em; font-size: 14px !important; border: solid 1px rgba(137,130,48,.2); /* Border around comments */ /* The form of comments border */ border-radius: 10px; -o-border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; } Download the NEW version of Covers Uploder Follow the screenshot steps: Add a comment ![]() Generate comments ![]() After the work is done upload an extracted CSS to Dropbox*. Or put directly into your CSS. * - how to use Dropbox in tutorial. Or use any other file sharing service |
HahaidoJun 26, 2012 1:24 AM
Jun 25, 2012 9:17 PM
#29
Hint 5. Aligning anime/manga titles (for the lists that have pictures instead of titles - see Hint 2. Put a cover image into a list line) Code: #list_surround table:nth-of-type(n+4) tbody:hover .animetitle span { position: relative; display: table !important; /* titles size */ width: 110%; height: 25px; /* titles position */ top: 5%; left: -5%; padding: 2px; color: #FFFFFF !important; /* titles color */ border: solid 1px rgba(137,130,48,.2); /* Border around titles */ /* The form of titles border */ border-radius: 5px; /* for cross-browser support */ -o-border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; /* you might to add some effects to give your titles unusual look */ transform: rotate(-3deg); /* change the value in deg from -360 to 360 to manipulate the angle of rotation */ /* for cross-browser support */ -o-transform: rotate(-3deg); -moz-transform: rotate(-3deg); -webkit-transform: rotate(-3deg); /* add a gradient background */ background: linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(0,0,0,.7) 100%); /* 0% and 100% are points where gradient is starts and ends 255,255,255 or 0,0,0 are colors .7 (0.7) is opacity level (change it from 0 to 1) */ /* for cross-browser support */ background: -moz-linear-gradient(top, rgba(255,255,255,.7) 0%,rgba(0,0,0,.7) 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.7)), color-stop(100%,rgba(0,0,0,.7))); } |
HahaidoJun 26, 2012 12:34 AM
Aug 28, 2012 4:56 PM
#30
For hint 2. I tried something like this at the top when I watched to try different fonts, but it doesn't seem to work. Am I doing something wrong or can I only have 1 font? @import url(http://fonts.googleapis.com/css?family=Life+Savers); @import url(http://fonts.googleapis.com/css?family=Headland+One); Everything with font family #1 works, but when I try "font family:Headland One;", I think it changes to Arial or some default font. |
Aug 28, 2012 9:23 PM
#31
@MM-Rosiie You are allowed to use as many as you want (I'm using two in my WIP and it works in all browsers) so you're probably doing something wrong. Right now I don't see @import url(http://fonts.googleapis.com/css?family=Headland+One); in your code so I can't check what is wrong. |
![]() |
Aug 28, 2012 10:03 PM
#32
MM-Rosiie said: For hint 2. Lets leave questions about fonts and look at your code. The covers of anime titles are appearing below the titles. So, you miss the code: .animetitle { /* your code */ background-size: 0px 0px; /* your code */ } #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { /* your code */ position: relative: !important; display: block !important; background-repeat: no-repeat !important; background-size: 225px 320px !important; /* determines a cover size */ margin-right: 100px !important; /* determines a cover aligning */ /* use for center align*/ margin-left: auto !important; margin-right: auto !important; /* use for center align*/ /* your code */ } that corresponds for the covers aligning and should be imported as well. To simplify the work with covers use CSS Generator |
HahaidoAug 28, 2012 10:10 PM
Aug 28, 2012 10:55 PM
#33
Maybe if you add the quotes: @import url("http://fonts.googleapis.com/css?family=Life+Savers"); @import url("http://fonts.googleapis.com/css?family=Headland+One"); at least for me your list works well when I add the quotes(Adding first the font and change Arial to Headline One in the header). I don't really know, but I think that sometimes the font api did not work properly. |
Aug 28, 2012 11:12 PM
#34
Aug 29, 2012 7:39 AM
#35
Thanks for the help. Adding quotes doesn't seem to change anything though. Hahaido said: Lets leave questions about fonts and look at your code. The covers of anime titles are appearing below the titles. So, you miss the code: .animetitle { /* your code */ background-size: 0px 0px; /* your code */ } #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle { /* your code */ position: relative: !important; display: block !important; background-repeat: no-repeat !important; background-size: 225px 320px !important; /* determines a cover size */ margin-right: 100px !important; /* determines a cover aligning */ /* use for center align*/ margin-left: auto !important; margin-right: auto !important; /* use for center align*/ /* your code */ } Hm. I added that and it didn't do anything? |
Aug 29, 2012 8:01 AM
#36
@ MM-Rosiie You won't see Headland One on sort links. Somewhere in your code look for .td1, .td2, a, a:visited, .category_totals, .table_header, #grand_totals, #copyright { color: white; font-family: Arial; } as you may see, at first a and a:visited selectors set the font to Arial, and at second .table_header is also set to Arial so it will override your Headland One code (because this piece is below), it's easily seen in Dragonfly or Firebug. A simple solution if you don't care about code neatness would be: .table_headerLink { font-family: 'Headland One'; } |
![]() |
Aug 29, 2012 8:31 AM
#37
@VeriTi Oh thanks! How do I adjust text sizes (other than the header) though? And for Hint 2. I added the import link for my list, @import url(https://dl.dropbox.com/u/101477602/animelist.css); but there have been no visible changes - there's still no picture(at least on my computer). And I've also tried to get rid of the overlapping of the picture and titles, but haven't been able to either (I've managed to have it overlap text on the right side now...) Is there a way to stop it breaking between the anime title and "airing"? Even if I expand the list width (say to like 1000px), it still puts Airing on the bottom. Example: ![]() |
MirorinAug 29, 2012 5:31 PM
Aug 30, 2012 1:06 AM
#38
if i use this trick, will all users who view my list able to see the font i use? like those unusual fonts that not all users have it installed on their system? |
Aug 30, 2012 1:47 AM
#39
Yes, I already answered MM-Rosiie said: Is there a way to stop it breaking between the anime title and "airing"? Experiment with: #list_surround table:nth-of-type(1n+4) tbody:hover .animetitle + small { position: relative !important; display: block !important; margin-top: -334px !important; /* 'airing' position */ } |
HahaidoAug 30, 2012 2:57 AM
Aug 30, 2012 6:28 AM
#40
Aug 30, 2012 7:06 AM
#41
MM-Rosiie said: @Hahaido: It doesn't seem to be affecting it. Even if I put it to 0px, 1000px, -1000px, nothing changes. You should to import that code And I'm still missing pictures for some of my titles, and I can't figure out why? Bug in the program. Fixed. Download the program again and regenerate CSS |
HahaidoAug 30, 2012 7:10 AM
Aug 30, 2012 10:03 AM
#42
Hahaido said: You should to import that code ... uh I imported it to https://dl.dropbox.com/u/101477602/code.css but still not affecting anything. Bug in the program. Fixed. Download the program again and regenerate CSS This one is still not showing even after doing that though. (But the rest have.) ![]() |
Aug 30, 2012 10:28 AM
#43
@MM-Rosiie To fix pic use text editor. Look for: http://cdn.myanimelist.net/images/anime/4/37937.jpg replace with: http://cdn.myanimelist.net/images/anime/10/39429.jpg |
![]() |
Aug 30, 2012 11:13 AM
#44
MM-Rosiie said: This one is still not showing even after doing that though. (But the rest have.) ![]() In your source: @import "http://dl.dropbox.com/u/78340470/CSSforCatgirls.css"; @import "http://dl.dropbox.com/u/78340470/animetitle.css"; @import url(http://fonts.googleapis.com/css?family=Life+Savers); @import url(http://fonts.googleapis.com/css?family=Raleway:100); @import url(http://veriti.opendrive.com/files/OV81MjgxODdfcXZZMkg/mal_top_bar.css); @import "https://dl.dropbox.com/u/101477602/myanimelist.css"; @import "https://dl.dropbox.com/u/101477602/code.css"; delete @import "http://dl.dropbox.com/u/78340470/animetitle.css"; line. And when importing a code delete 's' char in 'https' |
HahaidoAug 30, 2012 11:17 AM
Aug 30, 2012 11:39 AM
#45
Deleted the import (and s's) and replaced the image link, but it's still the same with no picture. |
Aug 30, 2012 5:07 PM
#46
uwinaako said: if i use this trick, will all users who view my list able to see the font i use? like those unusual fonts that not all users have it installed on their system? If you referring to Hint 3, I used it for the Touhou premade layout it works. |
Aug 30, 2012 5:19 PM
#47
MM-Rosiie said: Deleted the import (and s's) and replaced the image link, but it's still the same with no picture. Is the CSS below one you created from an animetitle CSS generator? If so which generator, and did you add that title very recently? @import "http://dl.dropbox.com/u/101477602/myanimelist.css"; |
Shishio-kunAug 30, 2012 5:26 PM
Aug 30, 2012 6:31 PM
#48
@Shishio-kun: I probably added that anime the day it came out, so about the start of July. I created the CSS with the cover uploader (link provided in link 2). Oh and I've also tried putting it directly into the CSS box and same result. |
Aug 30, 2012 8:12 PM
#49
Shishio-kun said: MM-Rosiie said: @Shishio-kun: I probably added that anime the day it came out, so about the start of July. I created the CSS with the cover uploader (link provided in link 2). Oh and I've also tried putting it directly into the CSS box and same result. OK. I ask cuz I think that it somehow missed that anime for some reason, or the CSS was made before you added that show to your list. Everytime you add a new show you need to update the generator CSS so its current from now on. Anyhow I made an updated file for you, hosted it from my dropbox (it will be there temporarily to see if this fixes it), and tested it out on your list and that show comes up. Just replace the top import lines and only that. Save your current code before you add these, then replace them with these and save, then see if it works. Give the list a second and refresh to make sure it had time to load the CSS and covers. @import "http://dl.dropbox.com/u/78340470/CSSforCatgirls.css"; @import url(http://fonts.googleapis.com/css?family=Life+Savers); @import url(http://fonts.googleapis.com/css?family=Raleway:100); @import url(http://veriti.opendrive.com/files/OV81MjgxODdfcXZZMkg/mal_top_bar.css); @import "http://dl.dropbox.com/u/78340470/MM-Rosiie_animetitle.css"; Also I took out two dead import links you had. Let us know here how this works out. The reason it didn't imo is the cover CSS you had were dead links and not for your specific anime titles, at least atm, but the one I added is for your covers. Also later you'll need to replace that import with your own anime title CSS later since I won't host forever, if you don't know how to replace it let us know and we'll show you. Phew! |
Shishio-kunAug 30, 2012 9:48 PM
Aug 30, 2012 9:49 PM
#50
@Shishio-kun: Thanks! Import link works (some of the pictures are different - SAO and a few others changed o.o). I'll copy this one for now. But I'm not sure why the one I made didn't work. :( And now to remove the break between the anime title and "airing". I've been testing it but to no avail. |
More topics from this board
» 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 |
|
Sticky: » 💚 [REPAIR STICKY] Repair/speed up layouts + Request layout fixes ( 1 2 )Shishio-kun - Nov 17, 2023 |
52 |
by LucaBalsa
»»
Jul 6, 2:02 PM |