Skip to content

Commit 2f1fcf0

Browse files
committed
Updated the themes.
1 parent 209b856 commit 2f1fcf0

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

meta/plugins/default.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ img {
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;

meta/plugins/plain.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
:root {
2+
font-family: sans-serif;
3+
line-height: 1.5;
4+
}
5+
16
body {
27
width: 720px;
38
margin: 0 auto;

meta/plugins/terminal.css

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff 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+
98108
blockquote {
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
}

project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
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
}

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)