Skip to content

Commit f281b49

Browse files
authored
Merge pull request #2059 from CyberShadow/pull-20180105-181630
Download page info icon tweaks merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2 parents 3e8e4c4 + 71cb39d commit f281b49

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

download.dd

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,27 @@ $(DIVC download_channels,
6464

6565
$(BR)$(BR)
6666

67-
$(DOWNLOAD Windows, $(WINDOWS), windows,
67+
$(DOWNLOAD Windows, $(WINDOWS), windows, Windows,
6868
$(SBTN $(WINEXE), exe) $(SBTN $(ARCH windows, 7z), 7z)
6969
)
7070

71-
$(DOWNLOAD macOS, $(OSX), osx,
71+
$(DOWNLOAD macOS, $(OSX), osx, macOS,
7272
$(SBTN $(OSXDMG), dmg) $(SBTN $(ARCH osx, tar.xz), tar.xz)
7373
)
7474

75-
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux,
75+
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux, Linux,
7676
$(SBTN $(DEB32), i386) $(SBTN $(DEB64), x86_64) $(SBTN $(ARCH linux, tar.xz), tar.xz)
7777
)
7878

79-
$(DOWNLOAD Fedore/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux,
79+
$(DOWNLOAD Fedora/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux, Linux,
8080
$(SBTN $(RPM32), i386) $(SBTN $(RPM64), x86_64) $(SBTN $(ARCH linux, tar.xz), tar.xz)
8181
)
8282

83-
$(DOWNLOAD openSUSE, $(OPENSUSE), linux,
83+
$(DOWNLOAD openSUSE, $(OPENSUSE), linux, Linux,
8484
$(SBTN $(SUSE32), i386) $(SBTN $(SUSE64), x86_64) $(SBTN $(ARCH linux, tar.xz), tar.xz)
8585
)
8686

87-
$(DOWNLOAD FreeBSD, $(FREEBSD), linux,
87+
$(DOWNLOAD FreeBSD, $(FREEBSD), linux, Linux,
8888
$(SBTN $(ARCH freebsd-32, tar.xz), i386) $(SBTN $(ARCH freebsd-64, tar.xz), x86_64)
8989
)
9090

@@ -98,27 +98,27 @@ $(DIVC download_channels,
9898

9999
$(BR)$(BR)
100100

101-
$(DOWNLOAD Windows, $(WINDOWS), windows,
101+
$(DOWNLOAD Windows, $(WINDOWS), windows, Windows,
102102
$(SBTN $(B_WINEXE), exe) $(SBTN $(B_ARCH windows, 7z), 7z)
103103
)
104104

105-
$(DOWNLOAD macOS, $(OSX), osx,
105+
$(DOWNLOAD macOS, $(OSX), osx, macOS,
106106
$(SBTN $(B_OSXDMG), dmg) $(SBTN $(B_ARCH osx, tar.xz), tar.xz)
107107
)
108108

109-
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux,
109+
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux, Linux,
110110
$(SBTN $(B_DEB32), i386) $(SBTN $(B_DEB64), x86_64) $(SBTN $(B_ARCH linux, tar.xz), tar.xz)
111111
)
112112

113-
$(DOWNLOAD Fedore/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux,
113+
$(DOWNLOAD Fedora/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux, Linux,
114114
$(SBTN $(B_RPM32), i386) $(SBTN $(B_RPM64), x86_64) $(SBTN $(B_ARCH linux, tar.xz), tar.xz)
115115
)
116116

117-
$(DOWNLOAD openSUSE, $(OPENSUSE), linux,
117+
$(DOWNLOAD openSUSE, $(OPENSUSE), linux, Linux,
118118
$(SBTN $(B_SUSE32), i386) $(SBTN $(B_SUSE64), x86_64) $(SBTN $(B_ARCH linux, tar.xz), tar.xz)
119119
)
120120

121-
$(DOWNLOAD FreeBSD, $(FREEBSD), linux,
121+
$(DOWNLOAD FreeBSD, $(FREEBSD), linux, Linux,
122122
$(SBTN $(B_ARCH freebsd-32, tar.xz), i386) $(SBTN $(B_ARCH freebsd-64, tar.xz), x86_64)
123123
)
124124

@@ -131,27 +131,27 @@ $(DIVC download_channels,
131131

132132
$(BR)$(BR)
133133

134-
$(DOWNLOAD Windows, $(WINDOWS), windows,
134+
$(DOWNLOAD Windows, $(WINDOWS), windows, Windows,
135135
$(SBTN $(N_ARCH windows, 7z), 7z)
136136
)
137137

138-
$(DOWNLOAD macOS, $(OSX), osx,
138+
$(DOWNLOAD macOS, $(OSX), osx, macOS,
139139
$(SBTN $(N_ARCH osx, tar.xz), tar.xz)
140140
)
141141

142-
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux,
142+
$(DOWNLOAD Ubuntu/Debian, $(UBUNTU) &nbsp; $(DEBIAN), linux, Linux,
143143
$(SBTN $(N_ARCH linux, tar.xz), tar.xz)
144144
)
145145

146-
$(DOWNLOAD Fedore/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux,
146+
$(DOWNLOAD Fedora/CentOS, $(FEDORA) &nbsp; $(CENTOS), linux, Linux,
147147
$(SBTN $(N_ARCH linux, tar.xz), tar.xz)
148148
)
149149

150-
$(DOWNLOAD openSUSE, $(OPENSUSE), linux,
150+
$(DOWNLOAD openSUSE, $(OPENSUSE), linux, Linux,
151151
$(SBTN $(N_ARCH linux, tar.xz), tar.xz)
152152
)
153153

154-
$(DOWNLOAD FreeBSD, $(FREEBSD), linux,
154+
$(DOWNLOAD FreeBSD, $(FREEBSD), linux, Linux,
155155
$(SBTN $(N_ARCH freebsd-32, tar.xz), i386) $(SBTN $(N_ARCH freebsd-64, tar.xz), x86_64)
156156
)
157157

@@ -246,7 +246,7 @@ Macros:
246246
CHOCOLATEY=$(LOGO chocolatey, Chocolatey)
247247
WINDOWS=$(LOGO windows, Windows)
248248

249-
LINK_OS=<a href="$(ROOT_DIR)dmd-$1.html" style="text-decoration: none;">$2</a>
249+
LINK_OS=<a href="$(ROOT_DIR)dmd-$1.html" style="text-decoration: none" title="$3 setup and usage information">$2</a>
250250

251251
SBTN=$(SPANC sig_btn,$(BTN $1,$+)<br>$(BTN $1.sig,sig))
252252
BTN=<a href="$1" class="btn">$+</a>
@@ -260,17 +260,18 @@ Macros:
260260
$(DIVC download_paragraph,
261261
<h3 style="display: inline-block">$1</h3>
262262
<span style="display: inline-block">
263-
$(LINK_OS $3, <i class="fa fa-info-circle" aria-hidden="true"></i>)
263+
$(LINK_OS $3, <i class="fa fa-info-circle" aria-hidden="true"></i>, $4)
264264
</span>
265265
<div style="">
266-
$4
266+
$5
267267
</div>
268268
)
269269
)
270270
C_A=$1:$2;
271271
EXTRA_HEADERS=$(T style,
272272
.download_paragraph > span {
273273
visibility: hidden;
274+
margin-left: 0.4em;
274275
$(C_A font-size, 125%)
275276
}
276277
.download_paragraph:hover > span {

0 commit comments

Comments
 (0)