Skip to content

Commit ed0e244

Browse files
committed
Add big download button
1 parent 7312b17 commit ed0e244

9 files changed

Lines changed: 24 additions & 0 deletions

docs/download-button.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.download-button {
2+
border-radius: 0.5em;
3+
padding: 0.5em 1em 0.5em 1em;
4+
background-color: #003973; /* matches icon shadow */
5+
outline: none;
6+
border: none;
7+
font-size: 1.2em;
8+
color: white;
9+
text-decoration: unset;
10+
}
11+
12+
.download-button:hover {
13+
color: white;
14+
background-color: #00468d;
15+
}
272 Bytes
Binary file not shown.
252 Bytes
Binary file not shown.
328 Bytes
Binary file not shown.
288 Bytes
Binary file not shown.
252 Bytes
Binary file not shown.

docs/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>FontGoggles — Interactive Previewing and Comparing</title>
77
<link rel="stylesheet" href="markdown.css">
8+
<link rel="stylesheet" href="download-button.css">
89
</style>
910
</head>
1011
<body>
1112
<p><img alt="FontGoggles icon" src="images/icon.png" /></p>
1213
<h1>FontGoggles</h1>
1314
<p><em>Interactive Previewing and Comparing</em></p>
15+
<p><a class="download-button" href="https://github.com/justvanrossum/fontgoggles/releases/latest/download/FontGoggles.dmg">
16+
Download for macOS
17+
</a></p>
1418
<h2>Overview</h2>
1519
<p>FontGoggles is a font viewer for various font formats. It is a desktop
1620
application for macOS. It is free and <a href="https://github.com/justvanrossum/fontgoggles">open source</a>.</p>

docsSource/buildDocsSite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<meta name="viewport" content="width=device-width, initial-scale=1">
2323
<title>FontGoggles — Interactive Previewing and Comparing</title>
2424
<link rel="stylesheet" href="markdown.css">
25+
<link rel="stylesheet" href="download-button.css">
2526
</style>
2627
</head>
2728
<body>

docsSource/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
_Interactive Previewing and Comparing_
66

7+
<a class="download-button" href="https://github.com/justvanrossum/fontgoggles/releases/latest/download/FontGoggles.dmg">
8+
Download for macOS
9+
</a>
10+
711
## Overview
812

913
FontGoggles is a font viewer for various font formats. It is a desktop

0 commit comments

Comments
 (0)