minearm-website 0.0.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +67 -0
- package/astro.config.ts +33 -0
- package/minearm.ts +174 -0
- package/package.json +64 -0
- package/public/13.jpg +0 -0
- package/public/1937daxue.png +0 -0
- package/public/3.png +0 -0
- package/public/404.png +0 -0
- package/public/5.jpg +0 -0
- package/public/BC.png +0 -0
- package/public/Chinese.png +0 -0
- package/public/avatar.avif +0 -0
- package/public/avatar.jpg +0 -0
- package/public/c++1.png +0 -0
- package/public/docker-hub.png +0 -0
- package/public/favicon.png +0 -0
- package/public/help1.png +0 -0
- package/public/heroimg.jpg +0 -0
- package/public/logo.png +0 -0
- package/public/mail.png +0 -0
- package/public/nahida.png +0 -0
- package/public/pojipao.avif +0 -0
- package/public/rust1.png +0 -0
- package/public/scripts/mdata.json +4 -0
- package/public/scripts/utils.js +190 -0
- package/public/xmrig.jpg +0 -0
- package/src/components/BodyInject.astro +5 -0
- package/src/components/HeadInject.astro +16 -0
- package/src/components/Search.astro +30 -0
- package/src/components/animation/bubbles.astro +82 -0
- package/src/components/animation/wave.astro +81 -0
- package/src/components/aside/announcement.astro +25 -0
- package/src/components/aside/aside.astro +32 -0
- package/src/components/aside/asideComps.astro +26 -0
- package/src/components/aside/authorInfo.astro +54 -0
- package/src/components/aside/blogToc.astro +26 -0
- package/src/components/aside/countScript.astro +18 -0
- package/src/components/aside/customCard.astro +23 -0
- package/src/components/aside/siteInfo.astro +51 -0
- package/src/components/client/searchCore.vue +77 -0
- package/src/components/client/themeControl.vue +77 -0
- package/src/components/footer/Footer.astro +32 -0
- package/src/components/header/Header.astro +40 -0
- package/src/components/header/HeaderButton.astro +59 -0
- package/src/components/header/HeaderItem.astro +63 -0
- package/src/components/header/heroWave.astro +19 -0
- package/src/components/header/searchBar.astro +21 -0
- package/src/components/icons/bilibili.astro +10 -0
- package/src/components/icons/c.astro +10 -0
- package/src/components/icons/code.astro +37 -0
- package/src/components/icons/computer.astro +4 -0
- package/src/components/icons/cube.astro +10 -0
- package/src/components/icons/game.astro +10 -0
- package/src/components/icons/getIcon.astro +64 -0
- package/src/components/icons/github.astro +10 -0
- package/src/components/icons/hardDriver.astro +10 -0
- package/src/components/icons/home.astro +14 -0
- package/src/components/icons/icon.ts +33 -0
- package/src/components/icons/icons.json +91961 -0
- package/src/components/icons/link.astro +4 -0
- package/src/components/icons/mail.astro +10 -0
- package/src/components/icons/paperPlane.astro +4 -0
- package/src/components/icons/pen.astro +14 -0
- package/src/components/icons/person.astro +14 -0
- package/src/components/icons/searchicon.astro +23 -0
- package/src/components/icons/tags.astro +10 -0
- package/src/components/icons/toTop.astro +10 -0
- package/src/components/icons/tools.astro +1 -0
- package/src/components/loading/loading.vue +185 -0
- package/src/components/postComment.astro +62 -0
- package/src/components/postlist/pagination.astro +40 -0
- package/src/components/postlist/postsList.astro +57 -0
- package/src/content/blog/default/Extended Search.md +50 -0
- package/src/content/blog/default/Mail.md +15 -0
- package/src/content/blog/default/history//345/205/254/345/205/203/345/211/215//347/247/246/345/247/213/347/232/207/347/273/237/344/270/200/345/205/255/345/233/275.md +40 -0
- package/src/content/blog/default/history//350/277/221/344/273/243/347/257/207//344/270/255/345/233/275/345/205/261/344/272/247/345/205/232/345/205/232/345/217/262.md +2361 -0
- package/src/content/blog/default/it/Rust/345/237/272/346/234/254/350/257/255/346/263/225.md +298 -0
- package/src/content/config.ts +38 -0
- package/src/env.d.ts +148 -0
- package/src/layouts/BaseLayout.astro +67 -0
- package/src/layouts/DefaultMdLayout.astro +46 -0
- package/src/layouts/HomeLayout.astro +27 -0
- package/src/layouts/PostLayout.astro +60 -0
- package/src/layouts/TagsLayout.astro +44 -0
- package/src/layouts/c.astro +42 -0
- package/src/layouts/h.astro +60 -0
- package/src/pages/404.md +10 -0
- package/src/pages/[...page].astro +46 -0
- package/src/pages/about/index.md +90 -0
- package/src/pages/blog/[...slug].astro +68 -0
- package/src/pages/categories/[category]/[...page].astro +45 -0
- package/src/pages/categories/index.astro +20 -0
- package/src/pages/friends/index.md +24 -0
- package/src/pages/rss.xml.js +20 -0
- package/src/pages/tags/[tag]/[...page].astro +42 -0
- package/src/pages/tags/index.astro +19 -0
- package/src/site_config.ts +15 -0
- package/src/styles/animation.scss +94 -0
- package/src/styles/blog/blog.scss +124 -0
- package/src/styles/blog/code.scss +111 -0
- package/src/styles/blog/directives.scss +356 -0
- package/src/styles/blog/index.scss +4 -0
- package/src/styles/blog/post.scss +474 -0
- package/src/styles/components/aside.scss +178 -0
- package/src/styles/components/footer.scss +74 -0
- package/src/styles/components/header.scss +421 -0
- package/src/styles/components/heroWave.scss +24 -0
- package/src/styles/components/main.scss +275 -0
- package/src/styles/components/page-content.scss +147 -0
- package/src/styles/components/pagination.scss +121 -0
- package/src/styles/components/search.scss +349 -0
- package/src/styles/custom.scss +21 -0
- package/src/styles/global.scss +167 -0
- package/src/styles/mixin.scss +17 -0
- package/src/styles/tags/tags.scss +83 -0
- package/src/theme_config.ts +178 -0
- package/src/utils/generateSearchData.ts +30 -0
- package/src/utils/md.ts +114 -0
- package/src/utils/processMd.ts +278 -0
- package/src/utils/utils.ts +87 -0
- package/tsconfig.json +32 -0
- package/vercel.json +26 -0
@@ -0,0 +1,124 @@
|
|
1
|
+
.post-header {
|
2
|
+
user-select: none;
|
3
|
+
|
4
|
+
font-family: var(--heading-font-family-zh);
|
5
|
+
|
6
|
+
.post-info {
|
7
|
+
.post-title {
|
8
|
+
text-align: center;
|
9
|
+
|
10
|
+
transition: 0.3s ease;
|
11
|
+
|
12
|
+
color: var(--font-white-black);
|
13
|
+
|
14
|
+
font-size: 50px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.post-metas {
|
18
|
+
display: flex;
|
19
|
+
|
20
|
+
align-items: center;
|
21
|
+
|
22
|
+
flex-direction: column;
|
23
|
+
|
24
|
+
.post-meta {
|
25
|
+
display: flex;
|
26
|
+
|
27
|
+
margin: 0.3rem 0;
|
28
|
+
|
29
|
+
.meta-icon {
|
30
|
+
margin: 0 0.3rem;
|
31
|
+
|
32
|
+
transition: 0.3s ease;
|
33
|
+
|
34
|
+
color: var(--font-white-black);
|
35
|
+
|
36
|
+
font-size: 18px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.post-container {
|
44
|
+
display: flex;
|
45
|
+
|
46
|
+
flex-grow: 1;
|
47
|
+
|
48
|
+
justify-content: center;
|
49
|
+
|
50
|
+
width: 100%;
|
51
|
+
|
52
|
+
margin-top: 2rem;
|
53
|
+
|
54
|
+
.post-main {
|
55
|
+
order: 2;
|
56
|
+
|
57
|
+
max-width: 1100px;
|
58
|
+
|
59
|
+
width: 100%;
|
60
|
+
|
61
|
+
margin: 1rem 1rem;
|
62
|
+
|
63
|
+
padding: 1rem 2rem;
|
64
|
+
|
65
|
+
border-radius: 15px;
|
66
|
+
|
67
|
+
background: var(--card-background);
|
68
|
+
|
69
|
+
@include card-style();
|
70
|
+
}
|
71
|
+
|
72
|
+
.post-aside {
|
73
|
+
order: 1;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.post-comment {
|
78
|
+
margin-top: 1rem;
|
79
|
+
.comment-head {
|
80
|
+
display: flex;
|
81
|
+
|
82
|
+
align-items: center;
|
83
|
+
|
84
|
+
font-family: var(--heading-font-family-zh);
|
85
|
+
|
86
|
+
font-size: 30px;
|
87
|
+
|
88
|
+
.comment-icon {
|
89
|
+
margin-top: 4px;
|
90
|
+
|
91
|
+
margin-right: 5px;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.comment-wrap {
|
96
|
+
margin-top: 1rem;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
[data-theme="dark"] {
|
101
|
+
.post-header {
|
102
|
+
animation: darken 0.3s linear;
|
103
|
+
|
104
|
+
filter: brightness(0.8);
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
@media screen and (width <= 1400px) {
|
109
|
+
.post-container {
|
110
|
+
.post-main {
|
111
|
+
margin: 0.5rem;
|
112
|
+
}
|
113
|
+
.post-aside {
|
114
|
+
margin: 0.5rem;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
@media screen and (width <= 900px) {
|
119
|
+
.post-container {
|
120
|
+
.post-aside {
|
121
|
+
display: none;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
@@ -0,0 +1,111 @@
|
|
1
|
+
[data-theme="dark"]:root {
|
2
|
+
--astro-code-color-background: #1f2430;
|
3
|
+
|
4
|
+
--astro-code-color-text: #cccac2;
|
5
|
+
|
6
|
+
--astro-code-token-constant: #dfbfff;
|
7
|
+
|
8
|
+
--astro-code-token-string: #d5ff80;
|
9
|
+
|
10
|
+
--astro-code-token-comment: #b8cfe6;
|
11
|
+
|
12
|
+
--astro-code-token-keyword: #ffad66;
|
13
|
+
|
14
|
+
--astro-code-token-parameter: #695380;
|
15
|
+
|
16
|
+
--astro-code-token-function: #ffcb6f;
|
17
|
+
|
18
|
+
--astro-code-token-string-expression: #5ccfe6;
|
19
|
+
|
20
|
+
--astro-code-token-punctuation: #cccac2;
|
21
|
+
|
22
|
+
--astro-code-token-link: #87d96c;
|
23
|
+
|
24
|
+
--astro-code-color-ansi-black: #000000;
|
25
|
+
|
26
|
+
--astro-code-color-ansi-black-dim: #00000080;
|
27
|
+
|
28
|
+
--astro-code-color-ansi-red: #bb0000;
|
29
|
+
|
30
|
+
--astro-code-color-ansi-red-dim: #bb000080;
|
31
|
+
|
32
|
+
--astro-code-color-ansi-green: #00bb00;
|
33
|
+
|
34
|
+
--astro-code-color-ansi-green-dim: #00bb0080;
|
35
|
+
|
36
|
+
--astro-code-color-ansi-yellow: #bbbb00;
|
37
|
+
|
38
|
+
--astro-code-color-ansi-yellow-dim: #bbbb0080;
|
39
|
+
|
40
|
+
--astro-code-color-ansi-blue: #0000bb;
|
41
|
+
|
42
|
+
--astro-code-color-ansi-blue-dim: #0000bb80;
|
43
|
+
|
44
|
+
--astro-code-color-ansi-magenta: #ff00ff;
|
45
|
+
|
46
|
+
--astro-code-color-ansi-magenta-dim: #ff00ff80;
|
47
|
+
|
48
|
+
--astro-code-color-ansi-cyan: #00bbbb;
|
49
|
+
|
50
|
+
--astro-code-color-ansi-cyan-dim: #00bbbb80;
|
51
|
+
|
52
|
+
--astro-code-color-ansi-white: #eeeeee;
|
53
|
+
|
54
|
+
--astro-code-color-ansi-white-dim: #eeeeee80;
|
55
|
+
|
56
|
+
--astro-code-color-ansi-bright-black: #555555;
|
57
|
+
|
58
|
+
--astro-code-color-ansi-bright-black-dim: #55555580;
|
59
|
+
|
60
|
+
--astro-code-color-ansi-bright-red: #ff5555;
|
61
|
+
|
62
|
+
--astro-code-color-ansi-bright-red-dim: #ff555580;
|
63
|
+
|
64
|
+
--astro-code-color-ansi-bright-green: #00ff00;
|
65
|
+
|
66
|
+
--astro-code-color-ansi-bright-green-dim: #00ff0080;
|
67
|
+
|
68
|
+
--astro-code-color-ansi-bright-yellow: #ffff55;
|
69
|
+
|
70
|
+
--astro-code-color-ansi-bright-yellow-dim: #ffff5580;
|
71
|
+
|
72
|
+
--astro-code-color-ansi-bright-blue: #5555ff;
|
73
|
+
|
74
|
+
--astro-code-color-ansi-bright-blue-dim: #5555ff80;
|
75
|
+
|
76
|
+
--astro-code-color-ansi-bright-magenta: #ff55ff;
|
77
|
+
|
78
|
+
--astro-code-color-ansi-bright-magenta-dim: #ff55ff80;
|
79
|
+
|
80
|
+
--astro-code-color-ansi-bright-cyan: #55ffff;
|
81
|
+
|
82
|
+
--astro-code-color-ansi-bright-cyan-dim: #55ffff80;
|
83
|
+
|
84
|
+
--astro-code-color-ansi-bright-white: #ffffff;
|
85
|
+
|
86
|
+
--astro-code-color-ansi-bright-white-dim: #ffffff80;
|
87
|
+
}
|
88
|
+
|
89
|
+
[data-theme="light"]:root {
|
90
|
+
--astro-code-color-background: #fdfdfd;
|
91
|
+
|
92
|
+
--astro-code-color-text: #8a9199;
|
93
|
+
|
94
|
+
--astro-code-token-constant: #a37acc;
|
95
|
+
|
96
|
+
--astro-code-token-string: #86b300;
|
97
|
+
|
98
|
+
--astro-code-token-comment: #787b8099;
|
99
|
+
|
100
|
+
--astro-code-token-keyword: #fa8d3e;
|
101
|
+
|
102
|
+
--astro-code-token-parameter: #9f40ffcc;
|
103
|
+
|
104
|
+
--astro-code-token-function: #f2ae49;
|
105
|
+
|
106
|
+
--astro-code-token-string-expression: #55b4d4;
|
107
|
+
|
108
|
+
--astro-code-token-punctuation: #5c6166;
|
109
|
+
|
110
|
+
--astro-code-token-link: #6cbf43;
|
111
|
+
}
|
@@ -0,0 +1,356 @@
|
|
1
|
+
@import "../mixin.scss";
|
2
|
+
.post-main {
|
3
|
+
.dir-link {
|
4
|
+
display: inline-flex;
|
5
|
+
|
6
|
+
align-items: center;
|
7
|
+
|
8
|
+
width: 360px;
|
9
|
+
|
10
|
+
height: 90px;
|
11
|
+
|
12
|
+
margin: 1rem auto;
|
13
|
+
|
14
|
+
padding: 5px;
|
15
|
+
|
16
|
+
border-radius: 10px;
|
17
|
+
|
18
|
+
@include card-style();
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
filter: brightness(0.8);
|
22
|
+
}
|
23
|
+
.dir-link-logo-wrap {
|
24
|
+
display: flex;
|
25
|
+
|
26
|
+
align-items: center;
|
27
|
+
|
28
|
+
justify-content: center;
|
29
|
+
|
30
|
+
width: 90px;
|
31
|
+
|
32
|
+
height: 90px;
|
33
|
+
|
34
|
+
.dir-link-logo {
|
35
|
+
width: 60px;
|
36
|
+
|
37
|
+
height: 60px;
|
38
|
+
|
39
|
+
border-radius: 50%;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
.dir-link-content {
|
43
|
+
display: flex;
|
44
|
+
|
45
|
+
flex-direction: column;
|
46
|
+
|
47
|
+
justify-content: space-between;
|
48
|
+
|
49
|
+
width: 245px;
|
50
|
+
|
51
|
+
color: var(--font-black-white);
|
52
|
+
|
53
|
+
.dir-link-header {
|
54
|
+
padding-bottom: 5px;
|
55
|
+
|
56
|
+
border-bottom: 1px solid var(--border-light-grey);
|
57
|
+
|
58
|
+
font-size: 22px;
|
59
|
+
|
60
|
+
font-weight: bold;
|
61
|
+
}
|
62
|
+
.dir-link-desc {
|
63
|
+
overflow: hidden;
|
64
|
+
|
65
|
+
padding-top: 5px;
|
66
|
+
|
67
|
+
white-space: nowrap;
|
68
|
+
|
69
|
+
text-overflow: ellipsis;
|
70
|
+
|
71
|
+
font-size: 16px;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.dir-links {
|
77
|
+
display: flex;
|
78
|
+
|
79
|
+
flex-wrap: wrap;
|
80
|
+
|
81
|
+
max-width: 100%;
|
82
|
+
|
83
|
+
padding-top: 30px;
|
84
|
+
|
85
|
+
transform: translateZ(0);
|
86
|
+
|
87
|
+
.dir-links-title {
|
88
|
+
position: absolute;
|
89
|
+
|
90
|
+
top: 5px;
|
91
|
+
|
92
|
+
left: 0;
|
93
|
+
|
94
|
+
font-size: 20px;
|
95
|
+
|
96
|
+
font-weight: bold;
|
97
|
+
}
|
98
|
+
.dir-links-links {
|
99
|
+
display: flex;
|
100
|
+
|
101
|
+
flex-wrap: wrap;
|
102
|
+
|
103
|
+
margin: 1rem auto;
|
104
|
+
|
105
|
+
.dir-link {
|
106
|
+
width: 300px;
|
107
|
+
|
108
|
+
height: 90px;
|
109
|
+
|
110
|
+
.dir-link-logo-wrap {
|
111
|
+
width: 80px;
|
112
|
+
|
113
|
+
height: 80px;
|
114
|
+
|
115
|
+
.dir-link-logo {
|
116
|
+
width: 60px;
|
117
|
+
|
118
|
+
height: 60px;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
.dir-link-content {
|
122
|
+
width: 190px;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.dir-note-wrap {
|
130
|
+
display: flex;
|
131
|
+
|
132
|
+
align-items: center;
|
133
|
+
|
134
|
+
margin: 1rem 0;
|
135
|
+
|
136
|
+
padding: 1rem;
|
137
|
+
|
138
|
+
border-left: 3px solid;
|
139
|
+
|
140
|
+
border-radius: 10px;
|
141
|
+
|
142
|
+
.dir-note-icon {
|
143
|
+
margin-right: 15px;
|
144
|
+
|
145
|
+
font-family: "Font Awesome 6 Free";
|
146
|
+
|
147
|
+
font-size: 24px;
|
148
|
+
}
|
149
|
+
.dir-note {
|
150
|
+
margin-bottom: 2px;
|
151
|
+
|
152
|
+
font-size: 20px;
|
153
|
+
|
154
|
+
font-weight: bold;
|
155
|
+
}
|
156
|
+
&.info {
|
157
|
+
color: #0c5460;
|
158
|
+
|
159
|
+
border-left-color: #0c5460;
|
160
|
+
|
161
|
+
background: #d1ecf1;
|
162
|
+
|
163
|
+
.dir-note-icon {
|
164
|
+
font-weight: 900;
|
165
|
+
|
166
|
+
font-style: normal;
|
167
|
+
|
168
|
+
&::before {
|
169
|
+
content: "\f05a";
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
&.warning {
|
174
|
+
color: #856404;
|
175
|
+
|
176
|
+
border-left-color: #856404;
|
177
|
+
|
178
|
+
background: #fff3cd;
|
179
|
+
|
180
|
+
.dir-note-icon {
|
181
|
+
font-weight: 900;
|
182
|
+
|
183
|
+
font-style: normal;
|
184
|
+
|
185
|
+
&::before {
|
186
|
+
content: "\f06a";
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
&.error {
|
191
|
+
color: #721c24;
|
192
|
+
|
193
|
+
border-left-color: #721c24;
|
194
|
+
|
195
|
+
background: #f8d7da;
|
196
|
+
|
197
|
+
.dir-note-icon {
|
198
|
+
font-weight: 900;
|
199
|
+
|
200
|
+
font-style: normal;
|
201
|
+
|
202
|
+
&::before {
|
203
|
+
content: "\f057";
|
204
|
+
}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
&.success {
|
208
|
+
color: #155724;
|
209
|
+
|
210
|
+
border-left-color: #155724;
|
211
|
+
|
212
|
+
background: #d4edda;
|
213
|
+
|
214
|
+
.dir-note-icon {
|
215
|
+
font-weight: 900;
|
216
|
+
|
217
|
+
font-style: normal;
|
218
|
+
|
219
|
+
&::before {
|
220
|
+
content: "\f058";
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
224
|
+
&.default {
|
225
|
+
color: #888;
|
226
|
+
|
227
|
+
border-left-color: #888;
|
228
|
+
|
229
|
+
background: #e2e3e5;
|
230
|
+
|
231
|
+
.dir-note-icon {
|
232
|
+
font-weight: 900;
|
233
|
+
|
234
|
+
font-style: normal;
|
235
|
+
|
236
|
+
&::before {
|
237
|
+
content: "\f075";
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
.dir-timeline {
|
244
|
+
display: flex;
|
245
|
+
|
246
|
+
flex-direction: column;
|
247
|
+
.dir-timeline-title {
|
248
|
+
width: 30%;
|
249
|
+
|
250
|
+
text-align: center;
|
251
|
+
|
252
|
+
margin-bottom: 0.5rem;
|
253
|
+
|
254
|
+
font-size: 20px;
|
255
|
+
|
256
|
+
font-weight: bold;
|
257
|
+
}
|
258
|
+
.dir-timeline-time {
|
259
|
+
display: flex;
|
260
|
+
|
261
|
+
flex-direction: column;
|
262
|
+
|
263
|
+
list-style: none;
|
264
|
+
|
265
|
+
transform: translateZ(0);
|
266
|
+
|
267
|
+
.dir-timeline-line {
|
268
|
+
position: absolute;
|
269
|
+
|
270
|
+
top: 0;
|
271
|
+
|
272
|
+
bottom: -10px;
|
273
|
+
|
274
|
+
left: 15%;
|
275
|
+
|
276
|
+
border: 1px solid #ddd;
|
277
|
+
}
|
278
|
+
.dir-time-wrap {
|
279
|
+
display: flex;
|
280
|
+
|
281
|
+
align-items: center;
|
282
|
+
|
283
|
+
flex-grow: 1;
|
284
|
+
|
285
|
+
width: 100%;
|
286
|
+
|
287
|
+
margin: 0.5rem 0;
|
288
|
+
.dir-time {
|
289
|
+
width: 15%;
|
290
|
+
|
291
|
+
padding-right: 0.8rem;
|
292
|
+
|
293
|
+
text-align: right;
|
294
|
+
|
295
|
+
color: var(--font-light-grey);
|
296
|
+
|
297
|
+
font-weight: bold;
|
298
|
+
}
|
299
|
+
.dir-time-content {
|
300
|
+
display: flex;
|
301
|
+
|
302
|
+
flex-direction: column;
|
303
|
+
|
304
|
+
width: 85%;
|
305
|
+
|
306
|
+
margin-left: 1rem;
|
307
|
+
|
308
|
+
padding: 0 1rem;
|
309
|
+
|
310
|
+
color: #155724;
|
311
|
+
|
312
|
+
border-radius: 10px;
|
313
|
+
|
314
|
+
background: #d4edda;
|
315
|
+
p {
|
316
|
+
margin: 10px 0;
|
317
|
+
}
|
318
|
+
}
|
319
|
+
.dir-time-circle {
|
320
|
+
position: absolute;
|
321
|
+
|
322
|
+
left: calc(15% - 6px);
|
323
|
+
|
324
|
+
width: 14px;
|
325
|
+
|
326
|
+
height: 14px;
|
327
|
+
|
328
|
+
border: 4px solid #d4edda;
|
329
|
+
|
330
|
+
border-radius: 50%;
|
331
|
+
|
332
|
+
background-color: var(--card-background);
|
333
|
+
}
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
.dir-color {
|
339
|
+
padding: 0 5px;
|
340
|
+
border-radius: 5px;
|
341
|
+
}
|
342
|
+
|
343
|
+
.only-hover:not(:hover) {
|
344
|
+
animation: none;
|
345
|
+
* {
|
346
|
+
animation: none;
|
347
|
+
}
|
348
|
+
}
|
349
|
+
|
350
|
+
[data-theme="dark"] {
|
351
|
+
.dir-link {
|
352
|
+
&:hover {
|
353
|
+
filter: brightness(1.5);
|
354
|
+
}
|
355
|
+
}
|
356
|
+
}
|