-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (115 loc) · 2.08 KB
/
style.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
body {
font-family: 'Rubik', sans-serif;
box-sizing: border-box;
background: #ccc;
height: 100vh;
}
.title {
font-weight: 200;
}
.wikiSearch {
display: block;
margin: 0 auto 25px;
width: 800px;
text-align: center;
padding: 20px;
}
#search {
height: 50px;
text-align: center;
width: 600px;
font-weight: 100;
font-size: 40px;
display: inline-block;
font-family: 'Rubik', sans-serif;
font-weight: 100;
color: #919191;
padding: 50px;
box-sizing: border-box;
outline: none;
border: 3px solid #919191;
border-radius: 5px;
background: transparent;
margin: 20px auto;
transition: border 0.5s ease;
}
@media screen and (max-width: 420px) {
#search {
width: 300px;
font-size: 25px;
margin: 0 auto;
}
#wikiSearch {
width: 360px;
}
#spontaneous {
margin-top: 20px;
}
.fa-3x {
font-size: 2em !important;
}
}
#submitBtn {
background: transparent;
border: none;
height: 50px;
width: 50px;
outline: none;
cursor: pointer;
margin-left: 0px;
}
#submitBtn i {
color: #919191;
}
#spontaneous {
display: block;
text-decoration: none;
text-transform: lowercase;
font-weight: 100;
letter-spacing: 3px;
color: #919191;
transition-property: color;
transition-duration: 1s;
margin-left: -70px;
}
#spontaneous:hover {
color: #c8102e;
transition-property: color;
transition-duration: 1s;
}
#results {
list-style: none;
width: 100%;
margin: 0 auto;
text-align: center;
display: flexbox;
padding-left: 0;
}
#noResults {
color: #c8102e;
font-weight: 400;
}
.singleResult {
background: #fff;
font-family: 'Rubik', sans-serif;
font-weight: 100;
padding: 0 45px;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .14), 0 4px 1px -2px rgba(0, 0, 0, .2), 0 1px 4px 0 rgba(0, 0, 0, .12);
display: inline-block;
margin: 10px;
border-bottom: 1px solid #ddd;
border-radius: 6px;
color: #777;
}
.singleResult p {
font-size: 16px;
letter-spacing: 0.5px;
}
::placeholder {
color:#919191;
opacity: 1;
}
.alert {
border: 3px solid #c8102e !important;
transition: border 0.5s ease;
}