Skip to content

Commit 94ff90c

Browse files
authored
doc(Home): update logo effect (#6621)
1 parent f5b665b commit 94ff90c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/BootstrapBlazor.Server/Components/Pages/Index.razor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</span>
1414
</a>
1515
<div class="bb-logo d-sm-block mx-auto my-5">
16+
<div class="holder"></div>
1617
<img src="./favicon.png" alt="bootstrap-blazor">
1718
</div>
1819
<h1 class="mb-3 fw-semibold">@Localizer["Title"]</h1>

src/BootstrapBlazor.Server/Components/Pages/Index.razor.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@
3838
border-radius: 30px;
3939
}
4040

41+
.bd-masthead .bb-logo .holder {
42+
background-color: var(--bb-primary-color);
43+
}
44+
45+
.bd-masthead .bb-logo .holder,
4146
.bd-masthead .bb-logo img {
4247
width: calc(100% - 2 * var(--bb-btn-space));
4348
height: calc(100% - 2 * var(--bb-btn-space));

0 commit comments

Comments
 (0)