@@ -31,48 +31,48 @@ extension Page {
3131 tag ( " title " ) { document. title }
3232 meta ( . name( " viewport " ) , . content( " width=device-width, initial-scale=1.0 " ) )
3333 style {
34- HTMLRaw (
35- " /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item} "
36- )
34+ " /*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item} "
3735 }
3836 style {
39- HTMLRaw (
40- """
41- @font-face {
42- font-family: " CommitMono " ;
43- src: url( " https://raw.githubusercontent.com/eigilnikolajsen/commit-mono/ecd81cdbd7f7eb2acaaa2f2f7e1a585676f9beff/src/fonts/fontlab/CommitMonoV143-VF.woff2 " );
44- font-style: normal;
45- font-weight: 400;
46- font-display: swap;
47- }
48- html {
49- line-height: 1.5;
50- }
51- pre a {
52- text-decoration: none;
53- }
54- h1, h2, h3, h4, h5, figure, p, ol, ul, pre {
55- margin: 0;
56- }
57- ol[role= " list " ], ul[role= " list " ] {
58- list-style: none;
59- padding-inline: 0;
60- }
61- img, video {
62- display: block;
63- max-inline-size: 100%;
64- }
65- code {
66- font-family: " CommitMono " , monospace;
67- font-feature-settings " , " ss03 " , " ss04 " , " ss05 " ;
68- line-height: 1;
69- }
70- """
71- )
37+ """
38+ @font-face {
39+ font-family: " CommitMono " ;
40+ src: url( " https://raw.githubusercontent.com/eigilnikolajsen/commit-mono/ecd81cdbd7f7eb2acaaa2f2f7e1a585676f9beff/src/fonts/fontlab/CommitMonoV143-VF.woff2 " );
41+ font-style: normal;
42+ font-weight: 400;
43+ font-display: swap;
44+ }
45+ html {
46+ line-height: 1.5;
47+ }
48+ body {
49+ background-color: #1c1c1c;
50+ color: #fafafa;
51+ }
52+ pre a {
53+ text-decoration: none;
54+ }
55+ h1, h2, h3, h4, h5, figure, p, ol, ul, pre {
56+ margin: 0;
57+ }
58+ ol[role= " list " ], ul[role= " list " ] {
59+ list-style: none;
60+ padding-inline: 0;
61+ }
62+ img, video {
63+ display: block;
64+ max-inline-size: 100%;
65+ }
66+ code {
67+ font-family: " CommitMono " , monospace;
68+ font-feature-settings: " ss03 " , " ss04 " , " ss05 " ;
69+ line-height: 1;
70+ }
71+ """
7272 }
7373 /// Xcode Styling
7474 style {
75- HTMLRaw ( " .xml .hljs-meta{color:#6C7986}.hljs-comment,.hljs-quote{color:#6C7986}.hljs-tag,.hljs-attribute,.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-name{color:#FC5FA3}.hljs-variable,.hljs-template-variable{color:#FC5FA3}.hljs-code,.hljs-string,.hljs-meta-string{color:#FC6A5D}.hljs-regexp,.hljs-link{color:#5482FF}.hljs-title,.hljs-symbol,.hljs-bullet,.hljs-number{color:#41A1C0}.hljs-section,.hljs-meta{color:#FC5FA3}.hljs-class .hljs-title,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-params{color:#D0A8FF}.hljs-attr{color:#BF8555}.hljs-subst{color:#FFF}.hljs-formula{font-style:italic}.hljs-selector-id,.hljs-selector-class{color:#9b703f}.hljs-doctag,.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic} " )
75+ " .xml .hljs-meta{color:#6C7986}.hljs-comment,.hljs-quote{color:#6C7986}.hljs-tag,.hljs-attribute,.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-name{color:#FC5FA3}.hljs-variable,.hljs-template-variable{color:#FC5FA3}.hljs-code,.hljs-string,.hljs-meta-string{color:#FC6A5D}.hljs-regexp,.hljs-link{color:#5482FF}.hljs-title,.hljs-symbol,.hljs-bullet,.hljs-number{color:#41A1C0}.hljs-section,.hljs-meta{color:#FC5FA3}.hljs-class .hljs-title,.hljs-type,.hljs-built_in,.hljs-builtin-name,.hljs-params{color:#D0A8FF}.hljs-attr{color:#BF8555}.hljs-subst{color:#FFF}.hljs-formula{font-style:italic}.hljs-selector-id,.hljs-selector-class{color:#9b703f}.hljs-doctag,.hljs-strong{font-weight:bold}.hljs-emphasis{font-style:italic} "
7676 }
7777 script (
7878 . src( " https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js " ) ,
@@ -96,14 +96,12 @@ extension Page {
9696 ) ,
9797 . defer
9898 )
99- script ( . type( . module) ) { HTMLRaw ( " hljs.highlightAll(); " ) }
99+ script ( . type( . module) ) { " hljs.highlightAll(); " }
100100
101101 document. head
102102 } ,
103103 body: {
104104 document. body
105- . inlineStyle ( " background-color " , " #1c1c1c " )
106- . inlineStyle ( " color " , " #fafafa " )
107105 . inlineStyle ( " font-optical-sizing " , " auto " )
108106 . inlineStyle ( " font-size " , " 0.7em " )
109107 . inlineStyle ( " font-size " , " 0.8em " , media: . minWidth( 390 ) )
0 commit comments