-
Notifications
You must be signed in to change notification settings - Fork 0
/
030_search.html
97 lines (91 loc) · 1.75 KB
/
030_search.html
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
---
layout: page
title: 検索
permalink: /search/
toc: false
---
<style>
article.post > header {
display: none;
}
.gsc-control-cse,
.gsc-search-box * {
padding: 0 !important;
margin: 0 !important;
}
.gsc-input {
background-color: white;
}
.gsc-input-box,
.gsc-input-box > table {
border: none !important;
}
.gsc-input-box .gsib_a {
padding: 5px !important;
}
.gsc-input-box .gsib_b {
padding: 0 5px !important;
}
/* pc */
@media screen and (min-width: 600px) {
.gsc-control-cse table,
.gsc-control-cse table td,
.gsc-control-cse input {
border: none !important;
background-color: white;
}
.gsc-search-button-v2 {
height: 36px;
padding: 0 36px !important;
box-sizing: border-box;
border-radius: initial;
}
}
/* mobile */
@media screen and (max-width: 600px) {
.gsc-control-cse table,
.gsc-control-cse table td,
.gsc-control-cse input {
border: none !important;
background-color: white;
}
.gsc-search-button-v2 {
height: 36px;
padding: 0 10px !important;
border-radius: initial;
}
.gsc-input {
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.gsc-input-box {
padding: 0 !important;
border: none !important;
}
}
/*
.gsc-control-cse,
.gsc-control-cse table,
.gsc-control-cse table td,
.gsc-control-cse form {
padding: 0 !important;
margin: 0 !important;
}
.gsc-control-cse table,
.gsc-control-cse table td,
.gsc-control-cse input {
border: none !important;
}
.gsc-input {
background-color: white;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
}
.gsc-input-box {
padding: 0 !important;
border: none !important;
}
*/
</style>
<script async src="https://cse.google.com/cse.js?cx=551b994797b3efae1"></script>
<div class="gcse-search"></div>