[Gpg4win-commits] [git] Gpg4win - branch, website, updated. gpg4win-2.1.0-366-g3ddf919
by Andre Heinecke
cvs at cvs.gnupg.org
Mon Mar 12 11:48:03 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".
The branch, website has been updated
via 3ddf9195ac1faa48fae88470f7f97bf664db0083 (commit)
from cb318fbd0b3fdbda62a003e4cf8ba0a95ce76fb7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3ddf9195ac1faa48fae88470f7f97bf664db0083
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Mon Mar 12 11:47:18 2018 +0100
Fix offset for news with beta button
--
This is a bit ugly as the offsets are hardcoded but as long
as it works ;-)
diff --git a/web/gpg4win.css b/web/gpg4win.css
index 5931796..ccd9120 100644
--- a/web/gpg4win.css
+++ b/web/gpg4win.css
@@ -270,6 +270,37 @@ input[type='range']::-moz-range-thumb {
cursor: pointer;
}
+/* With beta this needs other offsets. Maybe someone with
+ * more CSS skills could make this more relative / robust. ;-) */
+.h_text_beta {
+ position: relative;
+ top: -190px;
+ left: 669px;
+ width: 180px;
+ font-size: 11px;
+ border-left: 1px solid #CCCCCC;
+ padding-left: 10px;
+ margin-top: 12px;
+ height: 220px;
+}
+
+.h_text_beta .heading {
+ font-size: 23px;
+ font-family: georgia, times, serif;
+ padding-bottom: 9px;
+}
+
+.h_text_beta .serif_word {
+ font-size: 13px;
+ font-weight: bold;
+}
+
+.h_text_beta .limiter {
+ border-bottom: 3px dotted #CCCCCC;
+ width: 190px;
+ height: 10px;
+ margin-bottom: 3px;
+}
.h_text {
position: relative;
@@ -294,8 +325,6 @@ input[type='range']::-moz-range-thumb {
font-weight: bold;
}
-
-
.h_text .limiter {
border-bottom: 3px dotted #CCCCCC;
width: 190px;
diff --git a/web/header.m4 b/web/header.m4
index 6e6ff29..8ac5d86 100644
--- a/web/header.m4
+++ b/web/header.m4
@@ -36,7 +36,8 @@
Try BETA_VERSION
</span></a>')
</div>
- <div class="h_text">
+ <!-- Remove _beta when beta is removed -->
+ <div class="h_text_beta">
<p><span class="heading">News</span></p>
<small>2018-03-08</small><br>
<span class="serif_word"><img src="img/bulletin.png" alt"" />
-----------------------------------------------------------------------
Summary of changes:
web/gpg4win.css | 33 +++++++++++++++++++++++++++++++--
web/header.m4 | 3 ++-
2 files changed, 33 insertions(+), 3 deletions(-)
hooks/post-receive
--
GnuPG for Windows
http://git.gnupg.org
More information about the Gpg4win-commits
mailing list