-
-
Notifications
You must be signed in to change notification settings - Fork 380
add gpg signatures to downloads #938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
MartinNowak
commented
Mar 24, 2015
- add gpg_keys page
- add download of d keyring
- link to gpg_keys from download page
- show sig download button only on hover
win32.mak too please? |
I thought we agree on dropping that, but OK. |
- add gpg_keys page - add download of d keyring - link to gpg_keys from download page - show sig download button only on hover
The on-hover button shifts other buttons around. Not good. On-hover effects should never move other things around. |
Update for win32.mak |
Maybe put the sig button under the main button? |
Yes, makes the buttons pretty busy.
Can try that, will be difficult to align, and adds a lot of noise. |
I think I know how to do it without these problems. |
add gpg signatures to downloads
Well not that terrible, but I hope you have a better idea. diff --git a/css/style.css b/css/style.css
index 76b6cd4..7e20795 100644
--- a/css/style.css
+++ b/css/style.css
@@ -28,17 +28,10 @@ body::before
}
/* show signature download on hover */
-span.sig_btn > a:last-child
+span.sig_btn
{
- display: none;
-}
-
-/* but only if there is enough width for the buttons */
-@media only screen and (min-width: 50em) {
- span.sig_btn:hover > a:last-child
- {
- display: inherit;
- }
+ display: inline-block;
+ text-align: center;
}
a.btn
diff --git a/download.dd b/download.dd
index 608fe1a..a14b236 100644
--- a/download.dd
+++ b/download.dd
@@ -70,7 +70,7 @@ Macros:
UBUNTU=$(LOGO ubuntu, Ubuntu)
WINDOWS=$(LOGO windows, Windows)
- SBTN=$(SPANC sig_btn,$(BTN $1,$+)$(BTN $1.asc,sig))
+ SBTN=$(SPANC sig_btn,$(BTN $1,$+)$(BR)$(LINK2 $1.asc,sig))
BTN=<a href="$1" class="btn">$+</a>
H3I=<h3 class="download">$0</h3>
DLSITE=http://downloads.dlang.org/releases/2.x/$(DMDV2)/$0 |
wamp is acting up so can't put up a live preview ATM. |