File tree Expand file tree Collapse file tree 5 files changed +21
-19
lines changed
Expand file tree Collapse file tree 5 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 9797 max-width : 100% ;
9898}
9999
100- code {
100+ code : not ( pre code ) {
101101 font-family : monospace;
102102 padding : 2px ;
103103 background-color : var (--code-background-color );
@@ -129,9 +129,8 @@ footer {
129129 width : auto !important ;
130130}
131131
132- .highlight ,
133- .code {
134- padding : 1px 15px ;
132+ pre : has (code ) {
133+ padding : 15px ;
135134 background-color : var (--code-background-color );
136135 color : var (--code-color );
137136 border-radius : 3px ;
Original file line number Diff line number Diff line change 1+ : root {
2+ font-family : sans-serif;
3+ line-height : 1.5 ;
4+ }
5+
16body {
27 width : 720px ;
38 margin : 0 auto;
Original file line number Diff line number Diff line change @@ -87,14 +87,24 @@ img {
8787 max-width : 100% ;
8888}
8989
90- code {
90+ code : not ( pre code ) {
9191 font-family : monospace;
9292 padding : 2px ;
9393 background-color : var (--code-background-color );
9494 color : var (--code-color );
9595 border-radius : 3px ;
9696}
9797
98+ pre : has (code ) {
99+ padding : 1px 15px ;
100+ background-color : var (--code-background-color );
101+ color : var (--code-color );
102+ border-radius : 3px ;
103+ margin-block-start : 1em ;
104+ margin-block-end : 1em ;
105+ overflow-x : auto;
106+ }
107+
98108blockquote {
99109 border-top : 1px solid var (--heading-color );
100110 border-bottom : 1px solid var (--heading-color );
@@ -128,18 +138,6 @@ header h1 {
128138 width : auto !important ;
129139}
130140
131- .highlight ,
132- .code {
133- padding : 1px 15px ;
134- background-color : var (--code-background-color );
135- color : var (--code-color );
136- border-radius : 3px ;
137- margin-block-start : 1em ;
138- margin-block-end : 1em ;
139- overflow-x : auto;
140- }
141-
142-
143141.highlight {
144142 border-left : 5px solid var (--heading-color );
145143}
Original file line number Diff line number Diff line change 22 "$schema" : " https://schemas.cute.engineering/stable/cutekit.manifest.project.v1" ,
33 "id" : " cute-engineeering/cat" ,
44 "type" : " project" ,
5- "version" : " 0.9.0 " ,
5+ "version" : " 0.9.1 " ,
66 "description" : " A tiny static site generator for CuteKit projects."
77}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Just add the following piece of json to your `project.json` file:
1717 "extern" : {
1818 "cute-engineering/cat" : {
1919 "git" : " https://github.com/cute-engineering/cat.git" ,
20- "tag" : " v0.9.0 "
20+ "tag" : " v0.9.1 "
2121 },
2222 }
2323}
You can’t perform that action at this time.
0 commit comments