-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (88 loc) · 1.68 KB
/
style.css
File metadata and controls
103 lines (88 loc) · 1.68 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
:root {
--color-Yellow: hsl(47, 88%, 63%);
--color-White: hsl(0, 0%, 100%);
--color-Grey: hsl(0, 0%, 50%);
--color-Black: hsl(0, 0%, 7%);
}
body {
font-family: "Figtree", sans-serif;
background-color: var(--color-Yellow);
display: grid;
font-size: 16px;
min-height: 100vh;
place-items: center;
margin: unset;
-webkit-text-size-adjust: none;
text-size-adjust: none;
box-shadow: 10px 10px .5 black;
}
.banner {
height: auto;
width: 100%;
border-radius: 12px;
}
main {
background-color: var(--color-White);
padding: 17px;
max-width: 300px;
border-radius: 12px;
border-color: var(--color-Black);
border-style: solid;
border-width: 1.8px;
box-shadow: 10px 10px 0px hsl(0, 0%, 7%);
}
div {
display: flex;
vertical-align: middle;
}
.title {
margin-top: 0;
font-size: 21px;
}
.title:hover{
color: var(--color-Yellow);
cursor: pointer;
}
.avatar {
width: 30px;
height: 30px;
margin-right: 10px;
margin-top: auto;
margin-bottom: auto;
}
.name {
font-size: 11px;
font-weight: 800;
}
.learn {
background-color: var(--color-Yellow);
display: inline-block;
padding: 1.2% 3%;
font-weight: 800;
font-size: 11px;
border-radius: 2px;
margin-bottom: 0;
margin-top: 16px;
}
.date {
font-size: 13px;
font-weight: 500px;
margin-top: 13px;
margin-bottom: 16px;
}
.details {
font-size: 16px;
opacity: .8;
}
/* Footer */
.attribution {
position: absolute;
bottom: .8rem;
left: 50%;
transform: translateX(-50%);
font-size: 11px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}