-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmore.css
99 lines (94 loc) · 1.61 KB
/
more.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
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');
body{
margin: 0;
padding: 0;
font-family: 'Prompt', sans-serif;
box-sizing: border-box;
font-weight: bold;
}
.container{
width: 100%;
height: 100%;
display: grid;
grid-template-rows: 100px auto;
}
.hero{
color: aliceblue;
font-size: 2rem;
}
.navbar{
background-color: #212121;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
width: 100px;
}
.favoriteBtn{
margin-right: 30px;
padding: 5px 10px;
font-size: 1rem;
border-radius: 5px;
border: none;
background-color: green;
color: white;
font-weight: bold;
}
.item-container{
width: 97%;
height: 100%;
display: flex;
padding: 20px;
gap: 20px;
display: flex;
align-items: center;
justify-content: center;
}
.item{
max-width: 500px;
height: auto;
background-color: lightslategrey;
display: flex;
flex-direction: column;
padding: 20px;
border-radius: 8px;
}
.item img{
width: 100%;
}
p{
margin: 0;
}
@media (max-width: 900px) {
.container{
display: flex;
flex-direction: column;
}
.navbar{
height: 80px;
}
.hero{
color: aliceblue;
font-size: 1.5rem;
}
.logo{
width: 4rem;
}
.item-container{
background: transparent;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.item{
width: 100%;
background: rgba(200, 194, 194, 0.465);
height: 100vh;
font-weight: normal;
}
.item img{
width: 100%;
}
}