Initial small styling (mimicking Core site)
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -194,3 +194,6 @@ FakesAssemblies/
|
|||||||
|
|
||||||
# Visual Studio 6 workspace options file
|
# Visual Studio 6 workspace options file
|
||||||
*.opt
|
*.opt
|
||||||
|
|
||||||
|
# Vim files
|
||||||
|
*.swp
|
||||||
|
|||||||
44
css/main.css
Normal file
44
css/main.css
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/* Import statements here ...*/
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,300,700);
|
||||||
|
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400italic,700italic,400,700);
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: 'Open Sans';
|
||||||
|
margin: 0px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2 h3, h4, h5, h6 {
|
||||||
|
font-family: 'Roboto Condensed';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adding some whitespace */
|
||||||
|
p {
|
||||||
|
margin-bottom: 12px;
|
||||||
|
}
|
||||||
|
#platforms > h2 {
|
||||||
|
font-family: 'Roboto Condensed';
|
||||||
|
}
|
||||||
|
#platforms > table {
|
||||||
|
font-family: 'Open Sans';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Links */
|
||||||
|
a {
|
||||||
|
color: #682079;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
color: #682079;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-gs:hover, .btn-gs:active, .btn-gs:focus, .jquery-active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #682079;
|
||||||
|
}
|
||||||
|
.btn-gs-active {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #682079;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Microsoft .NET Framework NuGet Packages</title>
|
<title>Microsoft .NET Framework NuGet Packages</title>
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Microsoft .NET Framework NuGet Packages</h1>
|
<h1>Microsoft .NET Framework NuGet Packages</h1>
|
||||||
@@ -66,4 +68,4 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Get .NET. Get your app working.</title>
|
<title>Get .NET. Get your app working.</title>
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<!--Incoming link look like this:
|
<!--Incoming link look like this:
|
||||||
http://go2.microsoft.com/fwlink/?LinkID=134774&rClrVer=v4.0.30319. Will get mapped to this:
|
http://go2.microsoft.com/fwlink/?LinkID=134774&rClrVer=v4.0.30319. Will get mapped to this:
|
||||||
@@ -73,4 +75,4 @@
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,12 +2,14 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>.NET Framework Initialization Error</title>
|
<title>.NET Framework Initialization Error</title>
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="../css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
|
||||||
<div style="font-family:Segoe UI,
|
<h1><img src="http://i.microsoft.com/net/images/chrome/net-logo.jpg" style="vertical-align:middle"/> .NET Framework Initialization Error</h1>
|
||||||
Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:30px;vertical-align:middle">
|
</div>
|
||||||
<img src="http://i.microsoft.com/net/images/chrome/net-logo.jpg" style="vertical-align:middle"/>.NET Framework Initialization Error
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<p>Every .NET app targets a particular .NET version. This is either the target version of the app project, which is automatically recorded with the app, or a version that is manually updated later. When an app is launched, the .NET runtime checks to see if this version is installed on a given machine before running an app. If that version is not installed, you will see an error message similar to the one shown in the image below.</p>
|
<p>Every .NET app targets a particular .NET version. This is either the target version of the app project, which is automatically recorded with the app, or a version that is manually updated later. When an app is launched, the .NET runtime checks to see if this version is installed on a given machine before running an app. If that version is not installed, you will see an error message similar to the one shown in the image below.</p>
|
||||||
|
|
||||||
@@ -44,4 +46,4 @@ Lucida Grande,Verdana,Arial,Helvetica,sans-serif; font-size:30px;vertical-align:
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>.NET Framework 4.5 and Windows XP</title>
|
<title>.NET Framework 4.5 and Windows XP</title>
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="../css/main.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="font-family:Segoe UI,
|
<div style="font-family:Segoe UI,
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="css/main.css" />
|
||||||
<!--
|
<!--
|
||||||
__ __ _ _ _ _____ _____
|
__ __ _ _ _ _____ _____
|
||||||
\ \ / /__ _ _ __ _ ___| |_ ___ | \ | | ____|_ _|
|
\ \ / /__ _ _ __ _ ___| |_ ___ | \ | | ____|_ _|
|
||||||
@@ -33,7 +35,6 @@
|
|||||||
|
|
||||||
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
|
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
|
||||||
<style>
|
<style>
|
||||||
li {font-size: 14pt;}
|
li {font-size: 14pt;}
|
||||||
div {font-size: 12pt;}
|
div {font-size: 12pt;}
|
||||||
@@ -70,4 +71,4 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>Targeting .NET Platforms</title>
|
<title>Targeting .NET Platforms</title>
|
||||||
|
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
||||||
|
<link rel="stylesheet" href="css/main.css" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@@ -31,7 +33,6 @@
|
|||||||
<p class="lead">Note: These SDK and .NET Framework downloads may update Visual Studio and the .NET Framework on your machine.</p>
|
<p class="lead">Note: These SDK and .NET Framework downloads may update Visual Studio and the .NET Framework on your machine.</p>
|
||||||
|
|
||||||
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
|
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
|
||||||
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"/>
|
|
||||||
<style>
|
<style>
|
||||||
td:first-child {width: 40%;}
|
td:first-child {width: 40%;}
|
||||||
h1 {padding-top: 10px;}
|
h1 {padding-top: 10px;}
|
||||||
@@ -64,17 +65,18 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
function generateButtons()
|
function generateButtons()
|
||||||
{
|
{
|
||||||
|
$("#navigation").append("<div class='btn-group'>");
|
||||||
|
|
||||||
$.each(data.vsversions,function(key,val)
|
$.each(data.vsversions,function(key,val)
|
||||||
{
|
{
|
||||||
$("#navigation").append("<a id="+ val.alias+" class='btn btn-lg btn-default' href=# role=button>"+val.name +"</a>");
|
$("#navigation > .btn-group").append("<a id="+ val.alias+" class='btn btn-gs btn-lg btn-default' href=# role=button>"+val.name +"</a>");
|
||||||
$("#" + val.alias).click(function()
|
$("#" + val.alias).click(function()
|
||||||
{
|
{
|
||||||
changeButtonStatus(val.alias);
|
changeButtonStatus(val.alias);
|
||||||
initPage(val.alias)
|
initPage(val.alias)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$("#" + data.vsversions[data.vsversions.length-1].alias).removeClass("btn-default").addClass("btn-success");
|
$("#" + data.vsversions[data.vsversions.length-1].alias).removeClass("btn-default").addClass("btn-gs-active");
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeButtonStatus(mode)
|
function changeButtonStatus(mode)
|
||||||
@@ -86,11 +88,11 @@ $(document).ready(function() {
|
|||||||
var id = "#" + modes[i];
|
var id = "#" + modes[i];
|
||||||
if (modes[i] == mode && $(id).hasClass("btn-default"))
|
if (modes[i] == mode && $(id).hasClass("btn-default"))
|
||||||
{
|
{
|
||||||
$(id).removeClass("btn-default").addClass("btn-success");
|
$(id).removeClass("btn-default").addClass("btn-gs-active");
|
||||||
}
|
}
|
||||||
else if (modes[i] != mode && $(id).hasClass("btn-success"))
|
else if (modes[i] != mode && $(id).hasClass("btn-gs-active"))
|
||||||
{
|
{
|
||||||
$(id).removeClass("btn-success").addClass("btn-default");
|
$(id).removeClass("btn-gs-active").addClass("btn-default");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -166,4 +168,4 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user