Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
114 lines (102 loc) · 1.72 KB
/
Copy pathmain.css
File metadata and controls
114 lines (102 loc) · 1.72 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
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
body {
font-family: 'Open Sans', sans-serif;
padding: 15px;
margin: 0;
text-align: center;
}
body,
.container {
background-color: #FFEFCF;
min-height:100%;
}
h1 {
text-align: center;
}
.container {
display: block;
min-height: 600px;
max-width: 1400px;
margin: 0 auto;
}
.search-field {
margin: 20px;
text-align: center;
min-width:250px;
}
input,
button {
display: inline-block;
margin: 0;
border: 1px solid #276C6C;
}
#query {
min-width: 250px;
line-height: 24px;
border-radius: 3px 0 0 3px;
}
#search-btn {
height:28px;
margin-left: -6px;
border-left: none;
padding: 4px 6px;
color: #fff;
background-color: #6FA2A3;
border-radius: 0 3px 3px 0;
cursor: pointer;
vertical-align: bottom;
}
.random-search {
margin: 10px auto;
display: block;
color: #6FA2A3;
width: 200px;
font-weight: 600;
}
.random-search:before {
content: "";
width: 20px;
height: 20px;
vertical-align: middle;
margin: 0 6px 0 0;
display: inline-block;
background: url('https://cdn2.iconfinder.com/data/icons/windows-8-metro-style/256/dice.png') no-repeat;
background-size: 20px 20px;
}
a {
text-decoration: none;
outline:0;
}
.result {
padding: 15px 20px;
margin: 5px 0;
border: 1px solid #ccc;
background-color: rgba(255, 255, 255, .5);
text-align: left;
}
.result:hover, .result:focus, .result:active{
background-color: rgba(255, 255, 255, .9);
border: 1px solid #555;
}
.result h3 {
color: #6FA2A3;
font-weight: 700;
}
.result a p {
color: #3E6673;
}
@media screen and (max-width:400px) {
body {
padding: 10px;
}
h1{
font-size:1.8em;
}
.search-field {
width: 100%;
margin:10px 0;
}
#query {
min-width: 150px;
max-width: 200px;
}
}