Skip to content

Commit 8c2b825

Browse files
committed
update style
Signed-off-by: George Lemon <[email protected]>
1 parent 98d87e2 commit 8c2b825

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

src/marv.nims

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
--mm:arc
22
--threads:on
3+
# --define:useMalloc
34
# --define:toktokdebug
5+
--define:watchoutBrowserSync
46
when defined release:
5-
--define:danger
7+
# --define:danger
68
--opt:speed
79
--passC:"-flto"
8-
--checks:off
10+
# --checks:off

src/marvpkg/cli/marv.png

100644100755
File mode changed.

src/marvpkg/cli/style.css

100644100755
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
-ms-user-select: none
88
}
99

10-
img {
10+
img, iframe {
1111
width: 100%;
12-
margin-bottom: 15px
12+
margin-bottom: 15px;
13+
border-radius: 14px
1314
}
1415

1516
p, ul, ol {
@@ -24,7 +25,7 @@ h1 {
2425
}
2526

2627
h2 {
27-
font-size: 2.4em;
28+
font-size: 2.2em;
2829
margin-bottom: 15px;
2930
}
3031

@@ -48,8 +49,8 @@ body.dark pre {
4849
body {
4950
font-size: 1.5em;
5051
font-family: "Inter V", Arial, sans-serif, serif;
51-
padding: 65px 0
5252
background-color: whitesmoke;
53+
padding: 65px 0
5354
}
5455

5556
body.dark {
@@ -92,15 +93,14 @@ main .container {
9293
margin: 0 auto
9394
}
9495

95-
main article img {
96-
border-radius: 14px
97-
}
9896
main article .anchor {
9997
text-decoration: none;
10098
position:absolute;
10199
left: -40px;
102100
height: 100%;
103101
width: 40px;
102+
vertical-align: middle;
103+
display: ruby;
104104
}
105105

106106
main article .anchor:before {
@@ -122,7 +122,7 @@ main article h6:hover .anchor:before {
122122

123123
.marvdown-notifier {
124124
bottom: 20px;
125-
left: 20px;
125+
right: 20px;
126126
position: fixed
127127
}
128128

0 commit comments

Comments
 (0)