Skip to content

Commit 6ddf37a

Browse files
committed
move css to app.scss
1 parent b99f29f commit 6ddf37a

File tree

2 files changed

+40
-41
lines changed

2 files changed

+40
-41
lines changed

src/main/resources/web/app/app.scss

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
2+
.page-share {
3+
visibility: hidden;
4+
}
5+
.admonition {
6+
padding: 0.5rem 1rem;
7+
border-left: .25em solid black;
8+
margin-bottom: 1rem;
9+
font-weight: 500;
10+
}
11+
.admonition-title {
12+
line-height: 1;
13+
}
14+
.admonition-title .fa {
15+
margin-right: 0.3rem;
16+
}
17+
.admonition > :last-child {
18+
margin-bottom: 0;
19+
}
20+
.admonition-info {
21+
border-left-color: #0969da;
22+
}
23+
.admonition-info .admonition-title {
24+
color: #0969da;
25+
}
26+
.wrapper {
27+
max-width: 1500px;
28+
}
29+
.post, .article-page, .page-content {
30+
width: 100%;
31+
}
32+
pre code.hljs {
33+
white-space: pre;
34+
background-color: #222;
35+
}
36+
p:has(>img) {
37+
text-align: center;
38+
}
39+
140
.giscus {
241
padding: 10px;
342
}
@@ -82,4 +121,4 @@
82121
font-size: 0.95rem;
83122
}
84123
}
85-
}
124+
}

templates/layouts/roq-default/post.html

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,6 @@
44

55
{@io.quarkiverse.roq.frontmatter.runtime.model.DocumentPage page}
66

7-
<style>
8-
.page-share {
9-
visibility: hidden;
10-
}
11-
.admonition {
12-
padding: 0.5rem 1rem;
13-
border-left: .25em solid black;
14-
margin-bottom: 1rem;
15-
font-weight: 500;
16-
}
17-
.admonition-title {
18-
line-height: 1;
19-
}
20-
.admonition-title .fa {
21-
margin-right: 0.3rem;
22-
}
23-
.admonition > :last-child {
24-
margin-bottom: 0;
25-
}
26-
.admonition-info {
27-
border-left-color: #0969da;
28-
}
29-
.admonition-info .admonition-title {
30-
color: #0969da;
31-
}
32-
.wrapper {
33-
max-width: 1500px;
34-
}
35-
.post, .article-page, .page-content {
36-
width: 100%;
37-
}
38-
pre code.hljs {
39-
white-space: pre;
40-
background-color: #222;
41-
}
42-
p:has(>img) {
43-
text-align: center;
44-
}
45-
</style>
46-
477
<header class="header-page">
488
<div class="author">
499
<span>

0 commit comments

Comments
 (0)