com web/news: New logo "PHP news" like "php doc", "php museum" or "php svn" websites: common.php style.css
| From: | Ben Ramsey | Date: | Fri, 21 Jul 2017 20:55:45 +0000 |
| Subject: | com web/news: New logo "PHP news" like "php doc", "php museum" or "php svn" websites: common.php style.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26197@lists.php.net to get a copy of this message | ||
Commit: 3c20617c549aa9ba8669daa6330f825c834bc2d6
Author: Arnaud Lemercier <arnaud@wixiweb.fr> Fri, 21 Jul 2017 22:55:45 +0200
Parents: 5254f27d45211679fa42df9ebc769f4549bba391
Branches: master
Link: http://git.php.net/?p=web/news.git;a=commitdiff;h=3c20617c549aa9ba8669daa6330f825c834bc2d6
Log:
New logo "PHP news" like "php doc", "php museum" or "php
svn" websites
Changed paths:
M common.php
M style.css
Diff:
diff --git a/common.php b/common.php
index 015506c..f6bba03 100644
--- a/common.php
+++ b/common.php
@@ -33,7 +33,7 @@ function head($title="PHP news") {
<body>
<header class="header">
<div class="header-inner">
- <a href="/" class="header-brand"><img
src="/i/php-logo.svg" alt="PHP News" height="24"
width="48"></a>
+ <a href="/" class="header-brand"><img
src="/i/php-logo.svg" class="header-brand-img" alt="PHP"
height="24" width="48"><span
class="header-brand-text">news</span></a>
<div class="header-baseline">PHP.net <a href="news://<?php echo $_SERVER['HTTP_HOST']; ?>/"
class="top">news server</a> web interface</div>
</div>
</header>
diff --git a/style.css b/style.css
index 06af354..8a294bc 100644
--- a/style.css
+++ b/style.css
@@ -124,11 +124,21 @@ body{
}
.header-brand{
- opacity: .75;
margin-right: .75rem;
display: inline-block;
max-height: 48px;
padding: .75rem .75rem .75rem 1.5rem;
+ text-decoration: none;
+}
+.header-brand-img{
+ opacity: .75;
+}
+.header-brand-text{
+ color: #E2E4EF;
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
+ text-decoration: none;
+ line-height: 24px;
+ vertical-align: top;
}
.content{