Skip to content

Commit faa48a9

Browse files
committed
Made Introduction bit more responsive
1 parent c2b6194 commit faa48a9

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

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

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
display: grid;
66
grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr;
77
grid-template-rows: 1fr 1fr 1fr;
8-
gap: 0px 0px;
8+
gap: 10px;
99
grid-template-areas: ". . . . . ." ". profile-picture profile-text profile-text profile-text ." ". . . . . .";
1010
}
1111

@@ -27,4 +27,24 @@
2727
font-size: 125%;
2828
color: white;
2929
line-height: 24px;
30+
}
31+
32+
@media only screen and (max-width: 700px) {
33+
.introduction-container {
34+
grid-template-areas:
35+
". . profile-picture profile-picture . ."
36+
". profile-text profile-text profile-text profile-text ."
37+
". profile-text profile-text profile-text profile-text .";
38+
}
39+
40+
.introduction-container .profile-text {
41+
font-size: 100%;
42+
color: white;
43+
line-height: 20px;
44+
text-overflow: ellipsis;
45+
}
46+
47+
.introduction-container .profile-picture {
48+
margin-top: 10px;
49+
}
3050
}

0 commit comments

Comments
 (0)