com web/php: Fixing up the downloads section of homepage: index.php styles/home.css
| From: | Levi Morrison | Date: | Thu, 10 Apr 2014 03:18:53 +0000 |
| Subject: | com web/php: Fixing up the downloads section of homepage: index.php styles/home.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18751@lists.php.net to get a copy of this message | ||
Commit: 7ed703b0d0f3c19604794094f9a900e5daeef2a8
Author: Levi Morrison <levim@php.net> Wed, 9 Apr 2014 21:18:53 -0600
Parents: 2b91fbb4363263489f23a851f205c83bb95be647
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=7ed703b0d0f3c19604794094f9a900e5daeef2a8
Log:
Fixing up the downloads section of homepage
Changed paths:
M index.php
M styles/home.css
Diff:
diff --git a/index.php b/index.php
index a05c63c..2c49e36 100644
--- a/index.php
+++ b/index.php
@@ -99,7 +99,7 @@ if(!empty($RELEASES[5])) {
$intro .= "<ul>\n";
foreach ($RELEASES[5] as $version => $release) {
$intro .= "
- <li><a class='download-link'
href='/downloads.php#v$version'>$version</a> | <a class='notes'
href='/ChangeLog-5.php#$version'>Release Notes</a></li>\n";
+ <li><a class='download-link'
href='/downloads.php#v$version'>$version</a> · <a
class='notes' href='/ChangeLog-5.php#$version'>Release
Notes</a></li>\n";
}
$intro .= "</ul>\n";
}
diff --git a/styles/home.css b/styles/home.css
index e316969..444e36b 100644
--- a/styles/home.css
+++ b/styles/home.css
@@ -28,6 +28,10 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
letter-spacing:3px;
word-spacing:6px;
text-align:center;
+ margin-bottom:0;
+}
+#intro h2:after {
+ display:none;
}
#intro .row {
position:relative;
@@ -40,15 +44,22 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99
#intro .download ul {
list-style:none;
}
+#intro ul {
+ word-spacing:.25rem;
+}
#intro .download a.notes {
font-size:.75em;
- padding-left:.5em;
white-space:nowrap;
}
#intro .download a {
color:#ccc;
border:0;
}
+#intro .download a:hover,
+#intro .download a:focus {
+ border-bottom:1px dotted;
+}
+
#intro .download a.download-link {
color:#fff;
}