Web: Add "Download Now!" link

This commit is contained in:
Tim Gerundt 2011-01-25 17:38:55 +01:00
parent 0984d55635
commit 800a08f4de
2 changed files with 44 additions and 0 deletions

View File

@ -41,6 +41,7 @@ only detects the types of bugs that the compilers normally fail to detect. The
goal is no false positives.</p>
<h2>Download</h2>
<p><a class="downloadnow" href="http://downloads.sourceforge.net/cppcheck/cppcheck-1.46.1-x86-Setup.msi"><strong>Download Now!</strong> <em>Version 1.46.1 for Windows</em></a></p>
<p>You can download the standalone tool from our
<a href="http://sourceforge.net/projects/cppcheck/">project page</a> or try it
as plugin for your favorite IDE:</p>

View File

@ -73,6 +73,49 @@ a:active { color:#369; text-decoration:none; }
font-size: smaller;
}
/* "Download Now!" link */
a.downloadnow {
display: block;
width: 12em;
margin: 0;
padding: 5px;
text-align: center;
text-decoration: none;
color: white;
background: #060;
border: 1px solid #060;
/* border-radius */
border-radius: .5em;
-moz-border-radius: .5em;
-khtml-border-radius: .5em;
-webkit-border-radius: .5em;
}
a.downloadnow:link,
a.downloadnow:visited {
text-decoration: none;
color: white;
}
a.downloadnow:focus,
a.downloadnow:hover {
text-decoration: none;
color: white;
background: #090;
}
a.downloadnow strong {
display: block;
font-size: larger;
font-weight: bold;
}
a.downloadnow em {
display: block;
font-size: smaller;
font-style: normal;
}
/* Printing */
@media print {
#header { color: black; border-bottom: 1px solid black; }