-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Expand file tree
/
Copy path_site-switcher.scss
More file actions
65 lines (54 loc) · 1.14 KB
/
_site-switcher.scss
File metadata and controls
65 lines (54 loc) · 1.14 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
#site-switcher {
position: relative;
.dropdown-content {
transform: scale(0.9);
top: 1.25rem;
right: -0.75rem;
@media (min-width: 420px) {
right: 0;
}
}
display: none;
@media (min-width: 320px) {
display: block;
}
}
#site-primary-logo,
#site-switcher .site-wordmark {
padding: 0.4rem 0.6rem;
align-items: center;
display: flex;
flex-direction: row;
cursor: pointer;
gap: 0;
font-variant-ligatures: none;
font-size: 1.75rem;
line-height: 1.25em;
letter-spacing: 0.015em;
font-family: 'Google Sans', sans-serif;
user-select: none;
>img {
width: 28px;
margin-right: 0.25rem;
}
&.current-site {
background-color: var(--site-primary-color-highlight);
}
span {
color: var(--site-wordmark-fgColor);
&.name {
margin-left: 0.5rem;
}
&.subtype {
padding: 0 0.3rem;
font-size: 1.25rem;
font-weight: 500;
line-height: 1.3;
border-radius: 0.25rem;
background-color: var(--site-secondaryContainer-bgColor);
color: var(--site-secondaryContainer-fgColor);
margin-left: 0.4rem;
letter-spacing: normal;
}
}
}