-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
89 lines (88 loc) · 1.55 KB
/
main.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--lightBlue:#A7cdbd;
--lightGreen:#bbe1c3;
--brown:#91785d;
--darkGreen:#869d7a;
}
body{
display: grid;
grid-template-columns: 80%;
justify-content: center;
margin-top: 3rem;
text-align: center;
background: var(--lightBlue);
}
.main-search{
width: 100%;
background: transparent;
border:none;
border-bottom: 0.25rem solid var(--brown);
font-size: 3rem;
margin: 1rem 0;
padding: 0.5rem 0;
color:var(--brown);
text-transform: uppercase;
outline:none;
}
.main-btn{
display: block;
width: 50%;
margin: 0 auto;
font-size: 2rem;
border-radius: 0.25rem;
text-transform: capitalize;
background: transparent;
color: var(--brown);
border:0.15rem solid var(--brown);
transition: all 0.3s linear
}
.main-btn:hover{
background: var(--brown);
color:var(--lightBlue);
}
.wait-icon{
display: none;
margin: 1rem auto;
}
.show{
display:block
}
.search-item{
text-align: left;
list-style-type: none;
border:0.05rem solid var(--darkGreen);
padding: 1rem;
margin: 1rem 0;
background: var(--lightGreen);
border-radius: 0.5rem;
box-shadow: 0px 10px 10px var(--darkGreen);
}
.search-item__title{
text-transform: uppercase;
letter-spacing: 0.4rem;
}
.search-item__text{
margin: 0.5rem 0;
letter-spacing: 0.3rem;
}
.search-item__link{
text-decoration: none;
color: var(--brown);
font-size: 1.2rem;
transition: all 0.2s ease-in-out;
}
.search-item__link:hover{
color: var(--darkGreen)
}
@media screen and (min-width:992px){
.results{
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap:1rem;
}
}