Skip to content

Commit c022cd3

Browse files
Dedacguardrex
authored andcommitted
Add Blazor First Look Course Banner (aspnet#242)
1 parent cd91459 commit c022cd3

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ title: Welcome to the Blazor preview docs website!
33
description: Learn about Blazor, an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
44
documentType: index
55
---
6-
6+
<div class="container-fluid update-banner">
7+
<div class="container">
8+
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.
9+
</div>
10+
</div>
711
<div class="hero">
812
<div class="wrap">
913
<h1 class="text">

template/styles/main.css

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@ body {
22
font-size: 16px;
33
}
44

5+
.update-banner {
6+
background-color: #ddd;
7+
width: 100%;
8+
padding: .9em;
9+
margin-top: 50px;
10+
}
11+
12+
.update-banner div {
13+
text-align: center;
14+
}
15+
516
.toc .level1 > li {
617
font-weight: normal;
718
}
@@ -70,7 +81,7 @@ svg:hover path {
7081

7182
.hero {
7283
height: 350px;
73-
margin-top: 50px;
84+
/* margin-top: 50px; Add back when removing the update banner */
7485
padding-top: 50px;
7586
font-weight: 300;
7687
text-align: center;
@@ -166,6 +177,9 @@ svg:hover path {
166177
.counter-key-section .glyphicon {
167178
display: none;
168179
}
180+
.update-banner {
181+
margin-top: 0px;
182+
}
169183
}
170184

171185
.footer {

0 commit comments

Comments
 (0)