-
Notifications
You must be signed in to change notification settings - Fork 12
/
styles.css
138 lines (115 loc) · 2.21 KB
/
styles.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/* this will get overwritten on load */
body {
display: none;
}
html, body {
height: 100vh;
}
.home-container {
display: flex;
flex-direction: column;
gap: 24px;
align-items: center;
justify-content: center;
height: 100%;
}
.search-input {
padding: 8px;
min-width: 250px;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.search-btn {
border: none;
height: 40px;
cursor: pointer;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
padding: 0 16px;
transition: background 100ms ease-in-out;
}
.search-icon-container {
height: 24px;
width: 24px;
}
@media (prefers-color-scheme: dark) {
.logo {
color: white;
fill: white;
}
.search-input {
border: 1px solid rgb(48, 48, 48);
background: rgb(18, 18, 18);
color: white;
}
.search-btn {
background: rgba(255, 255, 255, 0.08);
}
.search-icon-container {
color: white;
fill: white;
}
}
@media (prefers-color-scheme: light) {
.search-input {
border: 1px solid rgb(204, 204, 204);
}
.search-btn {
background: rgb(248, 248, 248);
border: 1px solid rgb(211, 211, 211);
border-left: none;
}
.search-btn:hover {
background: rgb(240, 240, 240);
border: 1px solid rgb(198, 198, 198);
border-left: none;
}
}
.logo {
width: 200px;
}
.search-input:focus {
outline: none;
border: 1px solid rgb(28, 98, 185);
}
.search-group {
height: 40px;
display: flex;
}
#columns {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
#columns #secondary {
display: none;
}
#columns #primary {
max-width: fit-content;
}
#top-level-buttons-computed,
#voice-search-button,
ytd-mini-guide-renderer,
#related,
tp-yt-app-drawer,
.ytd-masthead #buttons,
#guide-button,
[class="style-scope ytd-comments"] {
display: none !important;
}
#page-manager {
margin-left: 0 !important;
}
.ytp-chrome-bottom {
width: calc(98%) !important;
}
ytd-app[mini-guide-visible] ytd-page-manager.ytd-app {
margin-left: 0 !important;
}
ytd-watch-flexy:not([theatre]):not([fullscreen]) .html5-video-container,
ytd-watch-flexy:not([theatre]):not([fullscreen]) video {
width: 100% !important;
height: 100% !important;
left: 0 !important;
}