forked from treehollow/webhole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Title.css
88 lines (79 loc) · 1.6 KB
/
Title.css
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
.title-bar {
z-index: 10;
position: sticky;
top: -4em;
left: 0;
width: 100%;
height: 7em;
background-color: rgba(255,255,255,.8);
box-shadow: 0 0 25px rgba(0,0,0,.4);
margin-bottom: 1em;
backdrop-filter: blur(5px);
}
.root-dark-mode .title-bar {
background-color: hsla(0,0%,12%,.8);
box-shadow: 0 0 5px rgba(255,255,255,.1);
}
.control-bar {
display: flex;
margin-top: .5em;
line-height: 2em;
}
.control-btn {
flex: 0 0 4.5em;
text-align: center;
color: black;
border-radius: 5px;
}
.control-btn:hover {
background-color: #666666;
color: white;
}
.control-btn-label {
margin-left: .25rem;
font-size: .9em;
vertical-align: .05em;
}
@media screen and (max-width: 900px) {
.control-btn {
flex: 0 0 2.5em;
}
.control-btn-label {
display: none;
}
.control-search {
padding: 0 .5em;
}
}
.root-dark-mode .control-btn {
color: var(--foreground-dark);
opacity: .9;
}
.root-dark-mode .control-btn:hover {
color: var(--foreground-dark);
opacity: 1;
}
.control-search {
flex: auto;
color: black;
background-color: rgba(255,255,255,.3) !important;
margin: 0 .5em;
min-width: 8em;
}
.control-search:focus {
background-color: white !important;
}
.root-dark-mode .control-search {
background-color: hsla(0,0%,35%,.6) !important;
color: var(--foreground-dark);
}
.root-dark-mode .control-search:focus {
background-color: hsl(0,0%,80%) !important;
color: black !important;
}
.list-menu {
text-align: center;
}
.help-desc-box p {
margin: .5em;
}