-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcustom.css
145 lines (120 loc) · 2.57 KB
/
custom.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
139
140
141
142
143
144
145
/* styles needed for the Google Search button */
.gsc-overflow-hidden {
overflow: visible !important;
}
.gsc-control-cse {
padding-left: 0px !important;
padding-bottom: 0px !important;
}
.gsc-search-button .gsc-search-button-v2:focus {
border: transparent !important;
outline: none;
box-shadow: none;
}
.gsc-search-button-v2:active {
border: none !important;
}
.gsc-search-button-v2 {
border: none !important;
}
/* End of Google Search button styles */
/* Classes needed for the survey link*/
.pytorch-left-menu-search { /* This is needed so the distance between the search and menu is not too big */
margin-bottom: 0px;
}
.survey-link {
color: #262626;
}
.pytorch-left-menu-search .survey-link a {
color: #262626;
text-decoration: underline;
font-weight: 500;
}
/* End of classes needed for the survey banner*/
/* search radio button*/
input[type="radio"] {
accent-color: #ee4c2c;
}
.gsst_b {
display: none;
}
#gsc-i-id1 {
height: 1.5rem;
text-indent: 12px !important;
font-size: 1rem !important;
font-family: "FreightSansi";
background-image: url(../images/search-icon.svg) !important;
background-repeat: no-repeat !important;
background-size: 18px 18px !important;
background-position: 5px 0px !important;
padding-left: 20px !important;
}
#gsc-i-id1::placeholder {
font-family: 'FreightSans';
font-size: 1rem;
color: #262626;
}
.gsc-control-cse {
padding: 0 !important;
border-radius: 0px !important;
border: none !important;;
overflow: hidden;
}
#___gcse_0 {
height: 44px !important;
padding: 0 !important;
}
@media (max-width: 768px) {
#___gcse_0 {
height: 34px !important;
}
}
table.gsc-search-box td.gsc-input {
padding-right: 0 !important;
}
table.gsc-search-box td {
height: 44px;
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
@media (max-width: 768px) {
table.gsc-search-box td {
height: 34px;
}
}
.gsc-search-button-v2 {
display: none;
}
.gs_id50 {
width: 308px;
}
.gsib_a {
padding: 0px 8px 4px 9px !important;
}
.gsc-input-box {
border-radius: 0px !important;
border: none !important;
}
@media (max-width: 768px) {
.gsc-input-box {
padding-top: 0px;
padding-bottom: 0px;
}
}
@media (max-width: 768px) {
.searchbox {
height: 34px;
}
form.gsc-search-box {
margin-bottom 0px;
}
.pytorch-left-menu-search input[type=text] {
background-image: url("../images/search-icon.svg");
}
.gsc-overflow-hidden {
overflow: visible !important;
}
.form#searchForm {
padding-bottom: 0;
margin-bottom: 0;
}