-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (76 loc) · 1.47 KB
/
style.css
File metadata and controls
115 lines (76 loc) · 1.47 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
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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap');
*{
box-sizing:;
padding: 0;
margin: 0;
}
body {
box-sizing: border-box;
height:100vh;
width:100%;
font-family: 'Poppins', sans-serif;
background-color: #F6FBFD;
}
h2{
color: tomato;
margin: 1.3rem 0;
font-size:2.3rem;
font-weight: 800;
text-shadow: 2px 3px 4px grey;
}
.menu{
margin:1.3rem 0;
}
.menu a{
background-color: orange;
padding: 8px 16px;
font-size: 1.1rem;
text-decoration: none;
margin: 0 1px;
font-weight: 600;
color:white;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
align-items: center;
margin: .5rem auto;
width:90%;
}
.box{
display:grid;
grid-template-columns:repeat(2 ,1fr);
grid-template-rows:repeat(2 ,1fr);
/*grid-template-rows:3;
/*display:flex;
flex-direction:row;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;*/
/* flex-wrap: wrap;/?*/
}
.store-item{
padding: 1rem;
width:300px;
height: 200px;
}
.store-item img{
/*height: 100%;*/
width: 100%;
height: 100%;
display:block;
box-shadow: 7px 7px 20px rgba(0,0,0,0.2);
}
@media screen and (max-width:600px){
.container{
width:90%;
}
.store-item img{
display:inline-block;
}
.box{
grid-template-columns:repeat(1 , 1fr);
}
}