-
Notifications
You must be signed in to change notification settings - Fork 0
/
atlas.styl
51 lines (51 loc) · 892 Bytes
/
atlas.styl
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
.atlas{
width:100%;
padding:40px 0 20px;
box-sizing: border-box;
background: #f4f4f4;
object-fit contain;
object-position: left top;
}
.atlas-content{
width:90%;
margin:0 auto;
display: flex
align-items: center;
justify-content center;
flex-wrap: wrap;
}
.atlas-content-item {
width: 260px;
margin: 0 20px 20px 0;
background: #fff;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
transition: .15s;
}
.atlas-content-item:hover{
box-shadow: 1px 1px 20px #000;
}
.atlas-content-item p{
font-size:12px;
height:40px;
line-height: 40px;
padding: 0 20px;
box-sizing: border-box;
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.atlas img{
width:260px;
height: 195px;
object-fit cover;
margin: 0;
display block;
background-position: top left;
}
.atlas-page{
width: 40%;
margin: 3rem auto;
}