-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (85 loc) · 2.22 KB
/
Copy pathstyle.css
File metadata and controls
104 lines (85 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@font-face {
font-family: Excalifont;
src: url("https://excalidraw.nyc3.cdn.digitaloceanspaces.com/fonts/Excalifont-Regular.woff2") format("woff2");
font-weight: lighter light normal bold bolder;
font-style: normal;
font-display: swap;
}
:root {
color-scheme: dark;
background-color: #000000;
--font-sans: 'Excalifont', Ubuntu, ui-sans-serif, system-ui, sans-serif;
}
html {
font-size: 120%;
}
* {
-webkit-tap-highlight-color: transparent;
}
html,
body {
max-width: 100%;
overflow-x: hidden;
font-family: 'Excalifont', Ubuntu, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav {
transform: translateY(1px);
/* the nav has a bottom border, the rest of content has a top border, merge these borders
instead of removing the bottom border of the nav, so that when the page transition slides,
the elements appear as boxes, and borders appear properly ! */
}
@media (min-width: 768px) {
nav {
transform: translateY(0px);
/* the nav has a bottom border, the rest of content has a top border, merge these borders
instead of removing the bottom border of the nav, so that when the page transition slides,
the elements appear as boxes, and borders appear properly ! */
}
}
a:hover {
text-decoration: underline;
color: rgb(16, 185, 129);
}
br {
margin-bottom: 8px;
}
@view-transition {
navigation: auto;
}
::view-transition {
background-color: #000000;
}
#daddy {
overflow: hidden;
position: relative;
}
#content {
view-transition-name: tab-slide;
}
::view-transition-old(tab-slide) {
animation: 350ms cubic-bezier(0.4, 0, 0.2, 1) both slide-out;
}
::view-transition-new(tab-slide) {
animation: 350ms cubic-bezier(0.4, 0, 0.2, 1) both slide-in;
}
@keyframes slide-out {
from {
transform: translateX(0);
opacity: 1;
}
to {
transform: translateX(-100%);
opacity: 0;
}
}
@keyframes slide-in {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}