docs/.vitepress/theme/components/extrepo/siteCellShared.css
52 lines · 1022 bytes
1.ext-site-cell {
2 flex: 1;
3 display: flex;
4 flex-direction: column;
5 gap: 0;
6 padding: 6px 8px;
7 border-radius: 6px;
8 border: 1px solid var(--vp-c-divider);
9 background-color: var(--vp-c-bg-soft);
10 min-width: 0;
11 color: var(--vp-c-text-1) !important;
12 text-decoration: none !important;
13 transition: border-color 0.2s, background-color 0.2s;
14}
15.ext-site-row {
16 display: flex;
17 align-items: center;
18 gap: 6px;
19 min-width: 0;
20}
21.ext-site-name-text {
22 display: block;
23 flex: 1;
24 min-width: 0;
25}
26.ext-site-name-inner {
27 display: block;
28 font-size: 12.5px;
29 font-weight: 600;
30 line-height: 1.2;
31 color: var(--vp-c-text-1);
32 white-space: nowrap;
33 overflow: hidden;
34 text-overflow: ellipsis;
35}
36.ext-site-nsfw,
37.ext-site-lang,
38.ext-site-layers {
39 flex-shrink: 0;
40 font-size: 12px;
41}
42.ext-site-repo {
43 display: block;
44 padding-left: 24px;
45 font-size: 10.5px;
46 font-weight: 400;
47 line-height: 1.1;
48 color: var(--vp-c-text-2);
49 white-space: nowrap;
50 overflow: hidden;
51 text-overflow: ellipsis;
52}