Skip to content

Commit 329228b

Browse files
Improved multi-author support and overall post meta design
1 parent e207009 commit 329228b

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

assets/built/screen.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/built/screen.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/screen.css

+10-11
Original file line numberDiff line numberDiff line change
@@ -950,27 +950,26 @@ Search LOGO Login Subscribe
950950
}
951951

952952
.gh-card-meta {
953-
display: flex;
954-
gap: 4px;
955-
flex-wrap: wrap;
956953
align-items: center;
957954
padding-bottom: 1px;
958955
font-size: 1.25rem;
959956
font-weight: 500;
960-
line-height: 1.05;
957+
line-height: 1.4;
961958
letter-spacing: -0.004em;
962959
color: var(--color-secondary-text);
963960
}
964961

965962
.gh-card-meta svg {
966-
width: 16px;
967-
height: 16px;
963+
position: relative;
964+
top: 1px;
965+
display: inline-block;
966+
width: 12px;
967+
height: 12px;
968968
margin-right: 2px;
969-
margin-top: -2px;
970969
}
971970

972971
.gh-card-meta:not(:empty) {
973-
margin-top: 12px;
972+
margin-top: 8px;
974973
}
975974

976975
.gh-card-author + .gh-card-date::before {
@@ -1217,7 +1216,7 @@ Search LOGO Login Subscribe
12171216
}
12181217

12191218
.gh-header.is-highlight .gh-header-left .gh-card .gh-card-meta:not(:empty) {
1220-
margin-top: 14px;
1219+
margin-top: 12px;
12211220
}
12221221

12231222
.gh-header.is-highlight .gh-header-middle {
@@ -1524,7 +1523,7 @@ Search LOGO Login Subscribe
15241523
}
15251524

15261525
.gh-featured-feed .gh-card-meta:not(:empty) {
1527-
margin-top: 10px;
1526+
margin-top: 8px;
15281527
}
15291528

15301529
.gh-featured-feed .gh-card::before {
@@ -1683,7 +1682,7 @@ Search LOGO Login Subscribe
16831682
}
16841683

16851684
.gh-container .gh-card-meta:not(:empty) {
1686-
margin-top: 16px;
1685+
margin-top: 12px;
16871686
}
16881687

16891688
/* 12.1. List style */

0 commit comments

Comments
 (0)