-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (95 loc) · 1.91 KB
/
style.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
102
103
104
105
106
107
108
109
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600;700&display=swap');
:root{
--White: hsl(0, 0%, 100%);
--Light-pink: hsl(275, 100%, 97%);
--Grayish-purple: hsl(292, 16%, 49%);
--lavender: hsl(293, 55%, 55%);
--Dark-purple: hsl(292, 42%, 14%);
}
body{
font-size: 16px;
font-family: 'Work Sans', sans-serif;
min-height: 100vh;
margin: 0;
padding: 0;
background-color: var(--Light-pink);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.background-img{
/* height: 100%; */
width: 100%;
position: absolute;
top: 0;
z-index: -1;
}
.card{
display: flex;
align-items: center;
justify-content: center;
}
.card-container{
background: var(--White);
width: 550px;
/* height: 500px; */
border-radius: 1rem;
padding: 1rem;
box-shadow: 1px 8px 60px 2px rgba(1, 1, 1, 0.15);
}
.title{
height: 120px;
display: flex;
flex-direction: space-between;
align-items: center;
justify-content: left;
}
.star-icon{
padding-left: 2rem;
}
h1{
font-weight: 700;
font-size: 60px;
padding: 0 1rem;
}
.question-tab{
padding: 1rem;
}
.question{
border: 0;
font-family: 'Work Sans', sans-serif;
font-size: 16px;
font-weight: 600;
width: 100%;
padding: 10px 0;
background-color: transparent;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
}
.question:hover{
color: var(--lavender);
}
.minus-icon{
content: url(assets/images/icon-minus.svg);
}
.content{
opacity: 0.6;
position: relative;
font-weight: 400;
text-align: left;
height: 0;
overflow: hidden;
transition: all .6s;
}
.attribution {
font-size: 11px;
text-align: center;
position: absolute;
bottom: 1rem;
}
.attribution a {
color: hsl(228, 45%, 44%);
}