Changeset 277

Show
Ignore:
Timestamp:
08/10/07 00:45:52 (3 years ago)
Author:
eevee
Message:

Fixed the weird and dumb overflow problems with the top long-boxes on dex pages. Hopefully it floats and wraps a little more reasonably now.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • veekun/trunk/templates/style/dex.tt

    r252 r277  
    3535 
    3636/* main layout chunks */ 
    37 .dex-summary { width: 15em; float: left; height: 16em; text-align: center; } 
     37.dex-summary { width: 16em; height: 12em; float: left; text-align: center; } 
    3838  .dex-summary .sprite img { padding: /* EXTERNAL */ 7px; background: url(/dex-images/gameui/sprite-frame.png); } 
    3939  .dex-summary .sprite img.mel { background: url(/dex-images/gameui/sprite-frame-mel.png); } 
    4040  .dex-summary .name { font-size: 250%; } 
    4141  .dex-summary-half.dex-summary { height: 8em; } 
    42 .dex-long-box { height: 8em; padding: 0 0.25em; overflow: hidden; } 
     42.dex-long-box { -height: 6em; min-height: 6em; padding: 0 0.25em; overflow: hidden; /* h2 is clear: both; overflow creates a new block formatting context, 9.4.1 */ } 
    4343  .dex-long-box ul { margin: 0 0.5em; padding: 0; } 
    4444  .dex-long-box ul li { float: left; width: 16.5%; margin: 0; padding: 0.1em 0; list-style: none; }