Skip to content

Commit d2c4089

Browse files
Merge pull request #179 from InnerSourceCommons/feat/fIx-typography
Fix heading `text-stroke` font showing unxexpected behavior
2 parents f69b21c + 9c755b7 commit d2c4089

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

themes/gathering-theme/assets/scss/_about.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,17 @@
1919
}
2020
}
2121

22-
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
23-
2422
.stroke-text {
2523
color: #fff;
26-
font-family: "Roboto", sans-serif;
27-
-webkit-text-stroke-width: 1px;
24+
font-family: sans-serif;
25+
-webkit-text-stroke-width: 2px;
2826
-webkit-text-stroke-color: #0aa8a7;
2927
font-size: 120px;
3028
font-weight: 800;
3129
text-transform: uppercase;
3230
line-height: 1;
33-
// なぜかフォントの協会が被ってしまう全部白にできないか
3431
-webkit-text-fill-color: #fff;
32+
paint-order: stroke fill;
3533

3634
@include tablet {
3735
font-size: 90px;

0 commit comments

Comments
 (0)