User:CDB-Man/CDBstyle: Difference between revisions

Jump to navigation Jump to search
Added additional optional features
(→‎File related: update for new mydb)
(Added additional optional features)
Line 4: Line 4:
Support forum thread here: http://anidb.net/perl-bin/animedb.pl?show=cmt&id=52076
Support forum thread here: http://anidb.net/perl-bin/animedb.pl?show=cmt&id=52076


Last Updated: [[User:CDB-Man|CDB-Man]] ([[User talk:CDB-Man|talk]]) 07:38, 1 October 2014 (CEST)
Last Updated: [[User:CDB-Man|CDB-Man]] ([[User talk:CDB-Man|talk]]) 11:18, 3 October 2014 (CEST)


= Improvements: =
= Improvements: =
Line 150: Line 150:
{
{
display: none;
display: none;
}</pre>
= Additional Optional Features =
You can enable each feature by adding it to your UserCSS.
==== Force-show info blocks on main page that are hidden (likely due to resolution being too small): ====
<pre>#layout-main div.main_all #hotanime,
#layout-main div.main_all #latestended,
#layout-main div.main_all #similaranime,
#layout-main div.main_all #randrecom,
#layout-main div.main_all #randanime,
#layout-main div.main_all #latestaired,
#layout-main div.main_all #randchar,
#layout-main div.main_all #randcreator
{
  display: block !important;
}</pre>
Likewise, if you want to hide blocks you find useless:
<pre>display: none !important;</pre>
==== Rearrange the order of the blocks.  For illustration, below`s the order that I`ve set for myself: ====
<pre>#layout-main div.main_all #hotanime {order: 1;}
#layout-main div.main_all #latestended {order: 2;}
#layout-main div.main_all #similaranime {order: 3;}
#layout-main div.main_all #randrecom {order: 4;}
#layout-main div.main_all #randanime {order: 5;}
#layout-main div.main_all #latestaired {order: 6;}
#layout-main div.main_all #randcreator {order: 7;}
#layout-main div.main_all #randchar {order: 8;}</pre>
==== Hide images from quicksearch popup menu: ====
<pre>#layout-search ul.quicksearch li.g_bubble.stripe div.image {
  display: none;
}
#layout-search ul.quicksearch .g_bubble.stripe {
  min-height: 4.4em;
}
#layout-search ul.quicksearch .g_bubble.stripe div.data {
  margin: 0.5em 0.5em 0.5em 0.5em;
}</pre>
}</pre>
staff
1,114

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.