[Xfce4-commits] [www/www.xfce.org] 01/01: Some CSS updates Send the www site parameter to css.php from the main website
noreply at xfce.org
noreply at xfce.org
Tue Jun 13 12:43:29 CEST 2017
This is an automated email from the git hooks/post-receive script.
k n o m e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository www/www.xfce.org.
commit 43ce24065e934528fe3e2fb0ca3bd4e02dea747f
Author: Pasi Lallinaho <pasi at shimmerproject.org>
Date: Tue Jun 13 13:37:35 2017 +0300
Some CSS updates
Send the www site parameter to css.php from the main website
---
pages/header.php | 2 +-
style/base.css | 11 ++++++++++-
style/css.php | 10 +++-------
style/site_wiki.css | 16 +++++++++++++++-
4 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/pages/header.php b/pages/header.php
index a6449fe..93b29a3 100644
--- a/pages/header.php
+++ b/pages/header.php
@@ -14,7 +14,7 @@ else
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<title><?php echo $title ?></title>
<link rel="icon" href="/style/favicon.ico" />
- <link rel="stylesheet" media="screen" href="/style/css.php" type="text/css" />
+ <link rel="stylesheet" media="screen" href="/style/css.php?site=www" type="text/css" />
<link rel="apple-touch-icon" href="<?php echo $static_media ?>/apple-touch-icon.png" />
<meta name="content-language" content="<?php echo $lang ?>" />
<?php
diff --git a/style/base.css b/style/base.css
index 5aac052..eed83f6 100644
--- a/style/base.css
+++ b/style/base.css
@@ -79,6 +79,7 @@ table {
font-size: 90%;
border-collapse: collapse;
border: 1px solid rgba( 0, 0, 0, 0.2 );
+ margin: 1em 0;
}
table tr {
border-bottom: 1px solid rgba( 0, 0, 0, 0.2 );
@@ -90,8 +91,16 @@ table {
table td {
padding: 0.2em 0.5em;
vertical-align: top;
- border-right: 1px solid rgba( 0, 0, 0, 0.05 );
}
+ table td {
+ border-right: 1px solid transparent;
+ }
+ table td:last-child,
+ table th,
+ table tr:hover td {
+ border-right: 1px solid rgba( 0, 0, 0, 0.2 );
+ }
+
/* Forms */
diff --git a/style/css.php b/style/css.php
index 038287e..650fc12 100644
--- a/style/css.php
+++ b/style/css.php
@@ -1,14 +1,10 @@
<?php
-/* change this prefix when you want to make sure cache is claered */
-$apc_cache_prefix = '2017-06-12-e';
+/* change this prefix when you want to make sure cache is cleared */
+$apc_cache_prefix = '2017-06-13-b';
$site = urlencode ($_GET['site']);
-/*if ($site == 'wiki' || $site == 'www' ) {
- $apc_cache_prefix = mt_rand(1,2000);
-} */
-
/* this file loads all the css required for the Xfce website
* and bundles it in a single file. The css files are split
* to make them both readable and some files are fetched for
@@ -29,7 +25,7 @@ function write_header ($mtime)
function base64data ($matches)
{
$file = $matches[1] .'.'. $matches[2];
-
+
$buf = file_get_contents ($file);
if ($buf != false)
{
diff --git a/style/site_wiki.css b/style/site_wiki.css
index 0136a74..8a369c9 100644
--- a/style/site_wiki.css
+++ b/style/site_wiki.css
@@ -42,7 +42,21 @@
padding-top: 0.8em;
}
+#footer .bars {
+ display: flex;
+ margin-bottom: 0.4em;
+}
+#footer .bars div {
+ flex: 1;
+}
+#footer .bar-left {
+ text-align: left;
+}
+#footer .bar-right {
+ text-align: right;
+}
+
#footer .bar-left form,
#footer .bar-right form {
display: inline;
-}
\ No newline at end of file
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list