com web/php: twitter link visually separated from "special thanks" section on homepage: index.php styles/home.css styles/theme-medium.css
| From: | Peter Cowburn | Date: | Fri, 17 Apr 2015 08:25:03 +0000 |
| Subject: | com web/php: twitter link visually separated from "special thanks" section on homepage: index.php styles/home.css styles/theme-medium.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-21072@lists.php.net to get a copy of this message | ||
Commit: 964d4a3812a044d953ed95eb651bc8f873348f00
Author: Peter Cowburn <salathe@php.net> Fri, 17 Apr 2015 09:25:03 +0100
Parents: 3349af1f52e6a92392c81ee88a1ab486eb5d3d60
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=964d4a3812a044d953ed95eb651bc8f873348f00
Log:
twitter link visually separated from "special thanks" section on homepage
Changed paths:
M index.php
M styles/home.css
M styles/theme-medium.css
Diff:
diff --git a/index.php b/index.php
index 8ac56ee..f720918 100644
--- a/index.php
+++ b/index.php
@@ -172,9 +172,17 @@ $announcements
<p class='panel'><a href='/cal.php'>User Group
Events</a></p>
<p class='panel'><a href='/thanks.php'>Special
Thanks</a></p>
<p class='panel social-media'>
- <a class='headline' href="https://twitter.com/official_php">
- <i class="icon-twitter"></i>
- </a>
+ <span class='headline'>Social media</span>
+ <div class='body'>
+ <ul>
+ <li>
+ <a href="https://twitter.com/official_php">
+ <i class="icon-twitter"></i>
+ @official_php
+ </a>
+ </li>
+ </ul>
+ </div>
</p>
SIDEBAR_DATA;
diff --git a/styles/home.css b/styles/home.css
index ea7c8d1..20e987d 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -128,18 +128,7 @@ aside.tips .mirror-sponsor {
}
/* Social media buttons. */
-aside.tips .social-media {
- padding-top: 2em;
-}
-
-aside.tips .social-media a {
- border-bottom: 0;
-}
-
-aside.tips .panel.social-media > a:after {
- display: none;
-}
-
-aside.tips .social-media .headline {
+aside.tips .social-media .icon-twitter {
font-size: 1.5em;
+ vertical-align: middle;
}
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 8452606..affadce 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -410,7 +410,8 @@ aside.tips a {
color:#ccc;
border-bottom:1px dotted #666;
}
-aside.tips .panel > a:after {
+aside.tips .panel > a:after,
+aside.tips .panel > span:after {
content:" ";
display:block;
border-bottom:1px dotted #666;