Skip to content

Conversation

MartinNowak
Copy link
Member

  • add gpg_keys page
  • add download of d keyring
  • link to gpg_keys from download page
  • show sig download button only on hover

@CyberShadow
Copy link
Member

win32.mak too please?

@MartinNowak
Copy link
Member Author

@MartinNowak
Copy link
Member Author

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
@CyberShadow
Copy link
Member

The on-hover button shifts other buttons around. Not good.

On-hover effects should never move other things around.

@MartinNowak
Copy link
Member Author

Update for win32.mak

@CyberShadow
Copy link
Member

Maybe put the sig button under the main button?

@MartinNowak
Copy link
Member Author

Yes, makes the buttons pretty busy.

Maybe put the sig button under the main button?

Can try that, will be difficult to align, and adds a lot of noise.

@CyberShadow
Copy link
Member

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.

CyberShadow added a commit that referenced this pull request Mar 24, 2015
add gpg signatures to downloads
@CyberShadow CyberShadow merged commit 2d6bbfa into dlang:master Mar 24, 2015
@MartinNowak
Copy link
Member Author

That's really ugly.
sig

@MartinNowak MartinNowak deleted the gpg_keys branch March 24, 2015 20:27
@MartinNowak
Copy link
Member Author

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

@CyberShadow
Copy link
Member

#939

wamp is acting up so can't put up a live preview ATM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants