Skip to content

Commit 2ab710d

Browse files
committed
feat: Add view-transition
1 parent 1a60b78 commit 2ab710d

1 file changed

Lines changed: 28 additions & 6 deletions

File tree

layout/styles/layout.scss

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1+
@view-transition {
2+
navigation: auto;
3+
}
4+
15
html,
26
body {
37
padding: 0;
48
margin: 0;
59

610
font-size: 16px; /* 1rem = 16px */
7-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
11+
font-family:
12+
system-ui,
13+
-apple-system,
14+
BlinkMacSystemFont,
15+
"Segoe UI",
16+
Roboto,
17+
"Helvetica Neue",
18+
Arial,
19+
sans-serif;
820

921
font-synthesis: none;
1022
text-rendering: optimizeLegibility;
@@ -39,12 +51,19 @@ body {
3951
padding: 1rem;
4052
overflow: auto;
4153
margin-bottom: 1rem;
42-
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
54+
font-family:
55+
ui-monospace,
56+
SFMono-Regular,
57+
SF Mono,
58+
Menlo,
59+
Consolas,
60+
Liberation Mono,
61+
monospace;
4362
font-size: 85%;
4463
line-height: 1.45;
4564
word-wrap: normal;
4665
}
47-
66+
4867
pre.chroma > code {
4968
padding: 0;
5069
margin: 0;
@@ -63,10 +82,13 @@ body {
6382
ol {
6483
list-style: decimal;
6584
}
66-
ul ul, ol ul {
85+
ul ul,
86+
ol ul {
6787
list-style-type: circle;
6888
}
69-
ul ul ul, ol ul ul, ul ol ul {
89+
ul ul ul,
90+
ol ul ul,
91+
ul ol ul {
7092
list-style-type: square;
7193
}
7294
}
@@ -84,4 +106,4 @@ body {
84106
}
85107
.medium-zoom-image--closing {
86108
z-index: 9999;
87-
}
109+
}

0 commit comments

Comments
 (0)