-
Notifications
You must be signed in to change notification settings - Fork 0
/
places.css
76 lines (61 loc) · 1.1 KB
/
places.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
header{
position: static;
}
#page-logo a{
color:rgb(183, 230, 235);
}
header a{
color:rgb(183, 230, 235);
}
header nav a:hover{
background-color: rgb(183, 230, 235);
color: rgb(59, 59, 59);
}
body{
background: linear-gradient(30deg, rgb(77,77,77), rgb(58,58,58));
color: rgb(68, 68, 68);
font-size: 20px;
}
main ul{
width:1200px;
margin: 0 auto 48px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px 20px;
}
main li{
display:flex;
background-color : white;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
border-radius: 6px;
overflow: hidden;
}
:nth-of-type(3){
grid-column: 1 / span 2;
}
main li img{
width:300px;
height:300px;
object-fit: cover;
}
.item-content{
padding:24px;
display:flex;
flex-direction:column;
justify-content: space-between;
}
.item-content h2{
margin : 0;
}
.actions{
text-align: right;
}
.actions a{
text-decoration: none;
padding : 16px;
color : rgb(22, 211, 228);
border-radius:5px;
}
.actions a:hover{
background-color: rgb(235, 252, 255);
}