-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (65 loc) · 1.02 KB
/
style.css
File metadata and controls
72 lines (65 loc) · 1.02 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
flex-direction:column;
flex-wrap:wrap;
background: #222;
}
.header{
width:100%;
height: 50px;
background-color:black;
display: flex;
align-items: center;
justify-content: flex-start;
}
h1{
margin:0 20px;
color: white;
}
a{
text-decoration: none;
}
#form{
display: flex;
align-items:center;
}
.search{
border-radius: 20px;
width: 230px;
height: 30px;
border: 1px solid black;
outline: none;
padding: 15px;
}
main{
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
main div{
width: 250px;
height: 400px;
margin: 19px 15px;
background: red;
background-size: cover;
}
img{
width: 100%;
height: 89%;
object-fit: cover;
}
h2{
font-size:0.9rem;
padding-top: 0.5rem;
padding-bottom: 0.7rem;
font-family: sans-serif;
font-weight: bold;
text-align: center;
color: #fff;
}