-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.scss
108 lines (99 loc) · 1.8 KB
/
main.scss
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
* {
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body{
scroll-behavior: smooth;
background-color: white;
background-image: url("img/icon.png");
background-repeat: no-repeat;
background-size: 270px 400px;
background-position: 150px 35px;
max-height: 50%;
}
#container {
background: white;
width: 600px;
padding: 30px;
margin: 80px auto;
min-height: 35vh;
box-shadow: 3px 3px 3px 3px rgba(173, 172, 172, 0.31);
}
@media (max-width:768px){
body{
background-position: 80px 320px;
}
#container{
max-width: 80%;
}
}
#loading {
display: block;
margin: 0 auto;
}
.page-title .mini{
color:rgba(168, 16, 87, 0.89);
}
form {
input#search {
width: 100%;
padding: 10px 15px;
border: 1px solid #e0e0e0;
outline: 0 none;
border-radius:3px;
&:focus{
border: 2px solid rgba(158, 42, 106, 0.678);
}
}
}
#results {
display: flex;
flex-flow: wrap;
margin-top: 30px;
div.description{
margin-left: 5%;
font-weight: lighter;
}
& > p {
text-align: center;
color: grey;
}
a {
color:black;
text-decoration: none;
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
padding: 20px;
margin-bottom: 20px;
border: 1px solid #e0e0e0;
transition: box-shadow 200ms ease-in;
background-color:white;
&:hover {
box-shadow: 0px 0px 7px 5px rgba(0,0,0,0.3);
transform: scale(1.1);
transition: all 1s;
}
img{
border-radius: 4px;
max-height:90px;
max-width: 180px;
}
h3 {
margin-bottom: 15px;
font-size: 16px;
margin: 0;
}
p {
margin-bottom: 0;
}
p.description{
font-size:10px;
}
img.gif {
display:block;
margin: 0 auto;
}
}
}