Changeset 21


Ignore:
Timestamp:
Dec 26, 2018, 12:03:43 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Page title to use less vertical empty space.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r20 r21  
    6464  function ShowDanceList()
    6565  {
    66     $Output = '<h4 style="text-align: center;">Tance:</h4>';
     66    $Output = '<div class="title">Tance</div>';
    6767    $Output .= '<table class="WideTable">';
    6868    $Output .= '<tr><th>Název</th><th>Skupina</th>';
     
    9797  function ShowSchoolList()
    9898  {
    99     $Output = '<h4 style="text-align: center;">Taneční školy:</h4>';
     99    $Output = '<div class="title">Taneční školy</div>';
    100100    $Output .= '<table class="WideTable">';
    101101    $Output .= '<tr><th>Název</th><th>Webové stránky</th><th>Adresa</th>';
     
    185185   }'.
    186186      '</script>';
    187     $Output .= '<h4 style="text-align: center;">Inzeráty:</h4>';
     187    $Output .= '<div class="title">Inzeráty</div>';
    188188    $Output .= '<div class="btn-group ma3">'.
    189189      '<div class="label-box">Pohlaví</div>'.
  • trunk/style.css

    r20 r21  
    11body,td{font-size:14px;font-family:Arial}
     2
     3.title
     4{
     5  text-align: center;
     6  font-weight: bold;
     7  padding-bottom: 4px;
     8}
    29
    310.WideTable
     
    3744.btn-filter:hover{background-color:#ccc;border:none;margin:0}
    3845.btn-filter.active{background-color:#ffd803;border:none;margin:0}
    39 .btn-group .btn-filter{border-left:1px solid #e6e6e6}
     46.btn-group .btn-filter{border-left:1px solid #e6e6e6;line-height:28px;}
    4047.btn-group .btn-filter:first-child{border-left:none}
    4148.btn-group div.label-box{display:inline-block;line-height:28px;font-size:13px;margin:0 4px;vertical-align:middle}
Note: See TracChangeset for help on using the changeset viewer.