-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
72 lines (63 loc) · 1016 Bytes
/
styles.css
File metadata and controls
72 lines (63 loc) · 1016 Bytes
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #f2c94c; /* yellow background */
margin: 0;
font-family: Arial, sans-serif;
}
.card {
background: white;
border-radius: 20px;
width: 300px;
box-shadow: 10px 10px 0px 0px black;
padding: 20px;
border: 1px solid black;
text-align:left;
}
.card img {
width: 100%;
border-radius: 8px;
display: block;
}
.card-content {
margin: 0;
margin-top: 24px;
}
.tag {
display: inline-block;
background: #f2c94c;
color: black;
font-weight:bolder;
font-size: 12px;
padding: 4px 8px;
border-radius: 4px;
margin-bottom: 8px;
}
.date {
font-size: 12px;
color: #555;
margin: 4px 0 12px 0;
}
h1 {
font-size: 18px;
margin: 0 0 8px;
}
p {
font-size: 14px;
color: #555;
margin-bottom: 16px;
}
.author {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: bold;
}
.author img {
width: 28px;
height: 28px;
border-radius: 50%;
}