Browse Source

Make geneviv stylesheet better at displaying collection tags

spaghetti 7 years ago
parent
commit
cc63db358b
2 changed files with 4 additions and 7 deletions
  1. 3
    3
      sections/collages/torrent_collage.php
  2. 1
    4
      static/styles/genaviv/style.css

+ 3
- 3
sections/collages/torrent_collage.php View File

243
 <?  if (!$WikiImage) {
243
 <?  if (!$WikiImage) {
244
       $WikiImage = STATIC_SERVER.'common/noartwork/nocover.png';
244
       $WikiImage = STATIC_SERVER.'common/noartwork/nocover.png';
245
     } ?>
245
     } ?>
246
-            <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, true)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <?=$Tags?>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
246
+            <img class="tooltip_interactive" src="<?=ImageTools::process($WikiImage, true)?>" alt="<?=$DisplayName?>" title="<?=$DisplayName?> <br /> <div class='tags'><?=$Tags?></div>" data-title-plain="<?="$DisplayName ($PlainTags)"?>" width="100%" />
247
           </a>
247
           </a>
248
         </div>
248
         </div>
249
 <?
249
 <?
410
     </div>
410
     </div>
411
     <div class="box box_tags">
411
     <div class="box box_tags">
412
       <div class="head"><strong>Top Tags</strong></div>
412
       <div class="head"><strong>Top Tags</strong></div>
413
-      <div class="pad">
414
-        <ol style="padding-left: 5px;">
413
+      <div class="pad tags">
414
+        <ol style="padding-left: 5px">
415
 <?
415
 <?
416
         Tags::format_top(5, 'collages.php?action=search&amp;tags=');
416
         Tags::format_top(5, 'collages.php?action=search&amp;tags=');
417
 ?>
417
 ?>

+ 1
- 4
static/styles/genaviv/style.css View File

918
 blockquote div[style="margin:20px; margin-top:5px"] {
918
 blockquote div[style="margin:20px; margin-top:5px"] {
919
   margin:5px 0 0!important;
919
   margin:5px 0 0!important;
920
 }
920
 }
921
-table#collage_table td {
922
-  min-width:20%!important;display:table-cell;float:left
923
-}
924
 table#collage_table {
921
 table#collage_table {
925
-  max-width:100%;display:table;position:relative;margin:0 auto;text-align:center;width:100%
922
+  max-width:100%;text-align:center;width:100%
926
 }
923
 }
927
 table#collage_table img {
924
 table#collage_table img {
928
   min-width:100%
925
   min-width:100%

Loading…
Cancel
Save