-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (104 loc) · 1.94 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
130
131
132
133
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root{
--blue: #081b29;
--light-blue :#64ffda;
--white:#e6f1ff;
--green: #97ce4c;
--blue : #B7E4F9FF;
}
body{
background-color: #081b29;
}
main{
margin: 0 16rem;
}
.search-bar{
background-color: #B7E4F9FF;
border-radius: 8rem;
width: 300px;
padding: 8px 18px;
font-size: 26px;
color: #081b29;
border: 3px solid #e6f1ff;
margin: 1rem;
text-transform: capitalize;
}
::placeholder {
color: #081b29;
}
#characters{
color: #e6f1ff;
display: flex;
flex-wrap: wrap;
text-align: center;
justify-content: center;
}
.character-card{
width: 250px;
height: 350px;
border: 4px solid #B7E4F9FF;
color: #e6f1ff;
margin: 2rem;
transition: .6s;
border-radius: 40px;
}
.character-card img{
width: 100%;
border-radius: 34px 34px 0 0;
}
.character-card:hover{
transform: scale(1.2);
}
.character-card h1{
font-size: 18px;
line-height: 32px;
color: #B7E4F9FF;
}
.character-card p{
text-transform: capitalize;
}
header{
margin: 2rem 0;
text-align: center;
}
header h1{
color: #B7E4F9FF;
text-shadow: 0 0 15px #97ce4c;
padding: 1rem;
animation: title 1s infinite;
font-family: 'Delicious Handrawn';
}
.banner img{
width: 100%;
}
@keyframes title{
50%{
text-shadow: 0 0 15px #B7E4F9FF;
color: #97ce4c;
}
}
@media screen and (max-width: 700px) {
.search-bar{
display: flex;
font-size: 20px;
width: 300px;
margin: 2rem;
}
header{
display: flex;
flex-direction: column;
align-items: center;
}
main{
margin: 0;
}
}
@media screen and (max-width: 1700px) {
main{
margin: 0;
}
}