File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed
Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -774,6 +774,23 @@ html:has(.boostlook) {
774774 line-gap-override : 0% ;
775775}
776776
777+ /* Monaspace Radon - Italic */
778+ @font-face {
779+ font-family : "Monaspace Radon" ;
780+ font-style : italic;
781+ font-weight : 400 ;
782+ font-display : block;
783+ src : url ("../font/MonaspaceRadonFrozen-Italic.ttf" ) format ("truetype" ),
784+ url ("/static/font/MonaspaceRadon-Italic.woff2" ) format ("woff2" ),
785+ url ("../../../../tools/boostlook/MonaspaceRadon-Italic.woff2" ) format ("woff2" ),
786+ url ("https://cppalliance.org/fonts/MonaspaceRadon-Italic.woff2" ) format ("woff2" );
787+ /* Metric overrides to reduce CLS on swap */
788+ size-adjust : 100% ;
789+ ascent-override : 92% ;
790+ descent-override : 22% ;
791+ line-gap-override : 0% ;
792+ }
793+
777794/*----------------- Font-Face Declarations end -----------------*/
778795
779796/*----------------- CSS Reset start -----------------*/
@@ -1257,8 +1274,16 @@ div.source-docs-antora.boostlook:not(:has(.doc)):not(:has(>.boostlook)) > #conte
12571274}
12581275
12591276/* Emphasis within code */
1260- .boostlook em ,
1261- .boostlook code em {
1277+ .boostlook code em ,
1278+ .boostlook code i ,
1279+ .boostlook pre em ,
1280+ .boostlook pre i {
1281+ font-family : "Monaspace Radon" , monospace;
1282+ font-size : inherit;
1283+ font-style : italic;
1284+ }
1285+
1286+ .boostlook em {
12621287 font-family : inherit;
12631288 font-size : inherit;
12641289 font-style : italic;
You can’t perform that action at this time.
0 commit comments