Adding the main download button on index page

This commit is contained in:
Zlatko Knezevic
2015-07-29 22:32:03 -07:00
parent 388aceda40
commit 6dccb1586b
2 changed files with 71 additions and 10 deletions

View File

@@ -11,6 +11,36 @@ h1, h2, h3, h4, h5, h6 {
font-family: 'Roboto Condensed';
}
footer.main-footer {
position: absolute;
bottom: 0;
text-align: center;
font-size: 10px;
display: block;
width: 100%;
border-top: 1px solid #ccc;
padding-top: 10px;
margin-left: -20px;
}
footer > ul.footer-nav > li {
display: inline-block;
list-style: none;
}
footer > ul.footer-nav {
display: inline;
width: 100%;
margin: 0;
padding: 0;
}
ul.footer-nav > li:after {
margin-left: 2px;
margin-right: 2px;
content: "|";
}
ul.footer-nav > li:last-child:after {
content: "";
}
/* Adding some whitespace */
p {
margin-bottom: 12px;
@@ -43,3 +73,22 @@ a:hover {
color: #fff;
background-color: #682079;
}
/* Index page styles */
.btn-index-download {
font-family: 'Roboto Condensed';
font-size: 25px;
padding: 8px 24px;
margin-top: 25px;
}
.btn-index-download:hover {
color: #fff;
background-color: #682079;
}
.lead-title {
font-size: 45px;
margin-top: 55px;
margin-bottom: 35px;
}

View File

@@ -4,27 +4,39 @@
<link rel="stylesheet" href="css/main.css" />
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-md-12 text-center">
<img src="http://i.microsoft.com/net/images/chrome/net-logo.jpg" />
<h1>Get .NET</h1>
<p class="lead">This site can help you get started with the .NET Framework.</p>
<h1 class="lead-title">Get the latest version of the .NET Framework</h1>
<!--<p class="lead">This site can help you get started with the .NET Framework.</p>-->
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<ul class="nav">
<div class="col-md-12 text-center">
<a href="http://download.microsoft.com/download/1/4/A/14A6C422-0D3C-4811-A31F-5EF91A83C368/NDP46-KB3045560-Web.exe"
class="btn btn-default btn-index-download">Download .NET 4.6</a>
</div>
</div>
<!--<div class="row">-->
<!--<div class="col-md-12 text-center">-->
<!--<ul class="nav">-->
<!--<li><a href="install-dotnet.html">Install .NET</a></li>-->
<!--<li><a href="target-dotnet-platforms.html">Target .NET Framework</a></li>-->
<!--<li><a href="dotnet-user-groups.html">.NET User Group meetings</a></li>-->
<!--<li><a href="help/dotnet-docs.html">.NET Docs</a></li>-->
<!--</ul>-->
<!--</div>-->
<!--</div>-->
</div>
<footer class="main-footer">
<ul class="footer-nav">
<li><a href="install-dotnet.html">Install .NET</a></li>
<li><a href="target-dotnet-platforms.html">Target .NET Framework</a></li>
<li><a href="dotnet-user-groups.html">.NET User Group meetings</a></li>
<li><a href="help/dotnet-docs.html">.NET Docs</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<p>The source for this site is hosted @ <a href="https://github.com/microsoft/getdotnet">microsoft/getdotnet</a> repo on GitHub.</p>
</div>
</div>
</footer>
</body>
</html>