-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (67 loc) · 1.07 KB
/
Copy pathstyle.css
File metadata and controls
82 lines (67 loc) · 1.07 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
body {
display: flex;
flex-direction: column;
background-color: whitesmoke;
height: 100vh;
}
h1 {
text-align: center;
}
.grid {
display: grid;
grid-template-columns: repeat(3,1fr);
}
@media screen and (max-width:643px) {
.grid {
grid-template-columns: repeat(1, 1fr);
}
.card {
margin-bottom: 1.2em;
width: 90vw !important;
}
}
img {
max-width: 100%;
}
.card {
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
border-radius: 1.1em;
margin-left: 1em;
overflow: hidden;
width: 30vw;
}
.card-header {
height: 20vh;
}
.card-header img {
object-fit: cover;
width: 100%;
height: 100%;
}
.card-content {
padding: 1.2em;
text-align: center;
}
.card-title {
text-transform: uppercase;
}
.card-excerpt {
color: dimgrey;
}
.author {
display: flex;
justify-content: space-between;
}
.profil-img {
border-radius: 50%;
height:3em;
width: 3em;
overflow: hidden;
}
.author-info {
display: flex;
flex-direction: column;
}
.author-info small {
color: silver;
}