File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 44/* Global font family */
55@font-face {
66 font-family : "HK Grotesk" ;
7- src : url ("/assets/fonts/hanken-grotesk/HKGrotesk-Regular.woff2" ) format ("woff2" );
7+ src : url ("/assets/fonts/hanken-grotesk/HKGrotesk-Regular.woff2" )
8+ format ("woff2" );
89 font-weight : 400 ;
910 font-style : normal;
1011 font-display : swap;
1112}
1213
1314@font-face {
1415 font-family : "HK Grotesk" ;
15- src : url ("/assets/fonts/hanken-grotesk/HKGrotesk-SemiBold.woff2" ) format ("woff2" );
16+ src : url ("/assets/fonts/hanken-grotesk/HKGrotesk-SemiBold.woff2" )
17+ format ("woff2" );
1618 font-weight : 600 ;
1719 font-style : normal;
1820 font-display : swap;
2830
2931@font-face {
3032 font-family : "Cascadia Mono" ;
31- src : url ("/assets/fonts/cascadia-code/CascadiaMono-Regular-Sub.woff2" ) format ("woff2" );
33+ src : url ("/assets/fonts/cascadia-code/CascadiaMono-Regular-Sub.woff2" )
34+ format ("woff2" );
3235 font-weight : 400 ;
3336 font-style : normal;
3437 font-display : swap;
@@ -72,3 +75,20 @@ samp {
7275 display : none !important ;
7376 visibility : hidden;
7477}
78+
79+ /* Inline codeのスタイルをGitHub風にする */
80+ .prose : not (pre ) > code {
81+ background-color : rgba (175 , 184 , 193 , 0.2 );
82+ font-size : 0.875em ;
83+ font-weight : 400 ;
84+ padding : 0.125rem 0.25rem ;
85+ border-radius : 6px ;
86+ border : 1px solid rgba (175 , 184 , 193 , 0.25 );
87+ }
88+
89+ .prose code {
90+ & ::before ,
91+ & ::after {
92+ content : none;
93+ }
94+ }
You can’t perform that action at this time.
0 commit comments