-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
101 lines (83 loc) · 1.63 KB
/
index.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
:root {
--primary: hsl(47, 88%, 63%);
--neutral-white: hsl(0, 0%, 100%);
--neutral-grey: hsl(0, 0%, 50%);
--neutral-black: hsl(0, 0%, 7%);
font-family: var(--family-figtree);
--family-figtree: "Figtree", sans-serif;
--fweight-medium: 500;
--fweight-bold: 800;
font-size: 12px;
background-color: var(--primary);
}
body {
margin: 0;
padding: 0;
box-sizing: border-box;
min-height: 100vh;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
article {
width: 250px;
height: 330px;
background-color: var(--neutral-white);
border-radius: 20px;
padding: 16px;
box-shadow: 5px 5px 0 0 var(--neutral-black);
}
.illustration {
width: 100%;
border-radius: 10px;
}
p {
margin: 0;
}
h3 {
font-weight: var(--fweight-bold);
cursor: pointer;
}
h3:hover {
color: var(--primary);
}
.presentation {
color: var(--neutral-grey);
font-size: 12px;
}
.badge {
background-color: var(--primary);
font-weight: var(--fweight-bold);
padding: 5px 10px;
display: inline-block;
border-radius: 5px;
margin: 4px 0 4px 0 ;
}
.author {
display: flex;
align-items: center;
margin-top: 20px;
}
.avatar {
width: 10%;
margin-right: 4px;
}
.nameAuthor {
font-weight: var(--fweight-bold);
}
.attribution {
text-align: center;
margin-top: 50px;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media only screen and (min-device-width: 430px) and (max-device-width: 932px) and (orientation: landscape) {
main {
margin-top: 20px;
}
}