com web/php: Slight styling improvements for ug listing: styles/theme-medium.css ug.php

From: Date: Fri, 27 Dec 2013 05:12:46 +0000
Subject: com web/php: Slight styling improvements for ug listing: styles/theme-medium.css ug.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17831@lists.php.net to get a copy of this message
Commit: ceeff7b76c6a4dc1a5950ef60c3d3233f9c84b42 Author: Hannes Magnusson <bjori@mongodb.com> Thu, 26 Dec 2013 21:12:46 -0800 Parents: c207d032d77d6e0b3fa0affea7b28be0a650f79b Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ceeff7b76c6a4dc1a5950ef60c3d3233f9c84b42 Log: Slight styling improvements for ug listing Changed paths: M styles/theme-medium.css M ug.php Diff: diff --git a/styles/theme-medium.css b/styles/theme-medium..css index 8a2a92f..1da38df 100755 --- a/styles/theme-medium.css +++ b/styles/theme-medium.css @@ -489,5 +489,12 @@ div.elephpants img:focus { text-align: center; color: #fff; } +.country { + position: relative; +} +.country .title img { + position: absolute; + right: 0px; +} // vim: set ts=2 sw=2 et: diff --git a/ug.php b/ug.php index 32fe2dc..12ee85e 100644 --- a/ug.php +++ b/ug.php @@ -59,10 +59,10 @@ foreach($groupped as $country => $events) { $SIDEBAR .= '<p class="panel"><a href="#' . $country . '">' . $countrycode . '</p>'; $entry = ""; - $entry .= '<div class="mirror" id="' . $country. '">'; - $entry .= '<div class="title">' . $countrycode; + $entry .= '<div class="country" id="' . $country.. '">'; + $entry .= '<h2 class="title">' . $countrycode; $entry .= '<img alt="' . $countrycode . '" height="25" width="45" src="' . $_SERVER['STATIC_ROOT'] . '/images/flags/beta/' . strtolower($country) . '.png">'; - $entry .= '</div>'; + $entry .= '</h2>'; if ($events["ug"]) { $entry .= "<h2>User Groups in $countrycode</h2>"; }

« previous php.webmaster (#17831) next »