Skip to content

Commit d32e2a4

Browse files
committed
Fix background image and font boldness
1 parent 2902e39 commit d32e2a4

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

LinkDotNet.Blog.Web/Shared/IntroductionCard.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@inherits MarkdownComponentBase
33

44
<div style="background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(@Introduction.BackgroundUrl);"
5-
class="inverted-colors">
5+
class="inverted-colors introduction-background">
66
<div class="introduction-container">
77
<div class="profile-picture" style="background-image: url(@Introduction.ProfilePictureUrl)">
88

LinkDotNet.Blog.Web/Shared/IntroductionCard.razor.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
.introduction-container {
2-
padding-top: 78px;
1+
.introduction-background {
32
background-repeat: no-repeat;
43
background-size: cover;
4+
}
5+
6+
.introduction-container {
7+
padding-top: 78px;
58
height: 438px;
69
display: grid;
710
grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;

LinkDotNet.Blog.Web/wwwroot/css/basic.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
1+
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500&display=swap');
22
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128+Text&display=swap');
33

44
:root {

0 commit comments

Comments
 (0)