Skip to content

Commit f1ad37a

Browse files
committed
add downloads link to splash
1 parent 5a50112 commit f1ad37a

4 files changed

Lines changed: 29 additions & 11 deletions

File tree

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div class='content col12 center caption small fill-sea dark pad1y'>
2-
Copyright © 2015 Artem Pavlenko | <a href='{{sitebase.url}}/pages/downloads.md'>Downloads</a> | <a href='{{sitebase.url}}/pages/license.html'>License</a> | <a href='{{sitebase.url}}/pages/media.html'>Media</a>
2+
Copyright © 2015 Artem Pavlenko | <a href='{{sitebase.url}}/pages/downloads.html'>Downloads</a> | <a href='{{sitebase.url}}/pages/license.html'>License</a> | <a href='{{sitebase.url}}/pages/media.html'>Media</a>
33
</div>

_layouts/01_splash.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
<div id='tagline' class='col5 space-top4 dark pad4y prose fr'>the core of geospatial visualization &amp; processing</div>
1717
</div>
1818
<div id='intro' class='col9 margin2 pad2y dark big'>mapnik combines pixel-perfect image output with lightning-fast cartographic algorithms, and exposes interfaces in C++, Python, and Node.</div>
19+
<div id='intro' class='col9 margin2 pad2y dark big'>
20+
<a href='{{site.baseurl}}/pages/downloads.html' class='button stroke white col5'>Download mapnik</a>
21+
</div>
22+
1923
</div>
2024
<!-- map design -->
2125
<div class='module pad8y'></div>

css/mapnik.css

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ hr.sm {
124124
/* background */
125125

126126
.gradient {
127-
height: 450px;
127+
height: 500px;
128128
padding-bottom: 30px;
129129
background-color: white;
130130
background-image:
@@ -405,14 +405,18 @@ h1.fancy {
405405
}
406406
}
407407

408+
@media only screen and (max-width: 800px) {
409+
#intro.big {
410+
font-size: 30px;
411+
line-height: 40px;
412+
}
413+
}
414+
408415
@media only screen and (max-width: 640px) {
409416
#navbar .pad4y {
410417
padding-top: 10px;
411418
padding-bottom: 10px;
412419
}
413-
}
414-
415-
@media only screen and (max-width: 640px) {
416420
#mapnik .splash { text-size: 12; }
417421
#logo.pad4y {
418422
padding-top: 10px;
@@ -429,11 +433,6 @@ h1.fancy {
429433
font-size: 32px;
430434
line-height: 45px;
431435
}
432-
}
433-
434-
435-
@media only screen and (max-width: 640px) {
436-
437436
.toc {
438437
border: 1px solid rgba(0,0,0,0.10);
439438
margin-bottom: 20px;
@@ -1008,6 +1007,21 @@ a.quiet.dark.active, a.quiet.dark:hover { color:rgba(255,255,255,0.5); }
10081007
color: rgba(255,255,255,.75);
10091008
}
10101009

1010+
.dark .button.white {
1011+
border: none;
1012+
box-shadow: 0px 0px 0px 2px white inset;
1013+
color: white;
1014+
text-transform:uppercase;
1015+
letter-spacing: 2;
1016+
font-size: 14px;
1017+
}
1018+
1019+
.dark .button.white:hover,
1020+
.dark .button.white.active {
1021+
color: rgb(86, 181, 190);
1022+
background-color: white;
1023+
}
1024+
10111025
.dark .button.stroke.quiet {
10121026
background-color: transparent;
10131027
box-shadow: 0px 0px 0px 2px rgba(255,255,255,.25)inset;

pages/downloads.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: 01_page
3-
title: Download
3+
title: Downloads
44
---
55

66
## Latest Major Release

0 commit comments

Comments
 (0)