Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Commit

Permalink
Add Blazor First Look Course Banner (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedac authored and guardrex committed Sep 11, 2018
1 parent cd91459 commit c022cd3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
6 changes: 5 additions & 1 deletion index.md
Expand Up @@ -3,7 +3,11 @@ title: Welcome to the Blazor preview docs website!
description: Learn about Blazor, an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
documentType: index
---

<div class="container-fluid update-banner">
<div class="container">
LinkedIn Learning has unlocked the training course <a href="https://www.linkedin.com/learning/blazor-first-look?trk=insiders_blazorFL_learning" aria-label="Watch Blazor First Look">Blazor First Look</a> for a limited time.
</div>
</div>
<div class="hero">
<div class="wrap">
<h1 class="text">
Expand Down
16 changes: 15 additions & 1 deletion template/styles/main.css
Expand Up @@ -2,6 +2,17 @@ body {
font-size: 16px;
}

.update-banner {
background-color: #ddd;
width: 100%;
padding: .9em;
margin-top: 50px;
}

.update-banner div {
text-align: center;
}

.toc .level1 > li {
font-weight: normal;
}
Expand Down Expand Up @@ -70,7 +81,7 @@ svg:hover path {

.hero {
height: 350px;
margin-top: 50px;
/* margin-top: 50px; Add back when removing the update banner */
padding-top: 50px;
font-weight: 300;
text-align: center;
Expand Down Expand Up @@ -166,6 +177,9 @@ svg:hover path {
.counter-key-section .glyphicon {
display: none;
}
.update-banner {
margin-top: 0px;
}
}

.footer {
Expand Down

0 comments on commit c022cd3

Please sign in to comment.