-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
83 lines (71 loc) · 1.18 KB
/
styles.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
body {
font-family: "Montserrat", sans-serif;
font-weight: 400;
line-height: 1.666;
background: #c0d2d4;
color: #555;
}
h1 {
font-weight: 900;
font-size: 500%;
text-align: center;
margin-top: 4rem;
color: #fff;
line-height: 1.2;
}
h1 span {
padding: 5px 15px;
background: #2ec2b0;
}
.dictionary {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 4rem auto;
max-width: 90%;
}
.dictionary > .term {
text-align: center;
max-width: 20rem;
margin-bottom: 3rem;
padding: 2rem;
border-radius: 3px;
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05), 0 5px 20px rgba(0, 0, 0, 0.1);
background-color: #fff;
transition: all 100ms ease-in-out;
}
.dictionary > .term > dt {
margin-bottom: 1rem;
}
dt {
color: #2ec2b0;
line-height: 1;
}
dt span {
font-size: 200%;
font-weight: 900;
}
.emoji {
margin: 0 auto 20px;
display: block;
font-size: 400%;
}
dd {
font-size: 92.5%;
margin-left: 0;
}
dd dt {
margin-top: 1rem;
margin-bottom: 0.25rem;
font-weight: 600;
font-size: inherit;
}
dd dl {
font-size: 90%;
margin: 1rem auto 0 auto;
letter-spacing: 0.33px;
max-width: 15rem;
}
dd dl .term {
margin-bottom: 1rem;
}