-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
73 lines (71 loc) · 1.14 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
*{
box-sizing:border-box;
}
nav{
display:flex;
justify-content:start;
align-items:center;
flex-direction: row;
gap:5px;
}
.body{
display:flex;
flex-direction:column;
overflow-x:hidden;
gap:10px;
}
.card{
width:20em;
border:2px solid black;
border-radius:10px;
padding:20px;
margin: 20px auto auto auto;
transition:0.6s;
}
.card:hover{
box-shadow: 5px 5px 7px #00000038;
transform:translateY(-2px);
}
.card-img{
width:100%;
height:100px;
border-radius:10px;
}
.card-img img{
height:100%;
width:100%;
border-radius:10px;
}
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
border:2px solid black;
width:99vw;
max-height:90vh;
overflow-y:scroll;
padding:10px;
display: none;
}
.popup img{
width:100%;
height:200px;
background:#797A75;
}
footer{
width:100%;
font-family:monospace;
color:#fff;
background:#42445A;
text-align:center;
margin:30px;
}
@media only screen and (min-width:760px) {
.body{
flex-direction:row;
flex-wrap:wrap;
gap:20px
}
}