-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
95 lines (75 loc) · 1.63 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
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;700&display=swap');
.attribution {
font-size: 11px;
text-align: center;
display: flex;
flex-direction: row;
gap: 10px;
color: hsl(0, 0%, 100%);
margin-top: 10px;
}
.attribution a {
color: hsl(227, 100%, 79%);
text-decoration: none;
}
body {
font-family: 'Work Sans', sans-serif;
background-image: url("/faq-accordion/assets/images/background-pattern-desktop.svg");
background-position: center;
background-repeat: repeat-x;
background-color: hsl(275, 100%, 97%);
}
h1 {
font-size: 2.5rem;
}
#accordion-logo {
display: flex;
align-items: center;
gap: 25px;
}
.accordion {
display: flex;
flex-direction: column;
background-color: #ffffff;
min-width: 375px;
max-width: 500px;
padding: 1.0rem;
border-radius: 1.0rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.accordion-button {
width: 100%;
padding: 20px;
border: none;
cursor: pointer;
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
text-align: left;
background-color: #ffffff;
}
.accordion-content {
display: none;
padding: 5px;
background-color: white;
}
.accordion-answer {
font-size: 0.75rem;
text-align: center;
margin-left: auto;
margin-right: auto;
padding: 10px;
}
.accordion-button p {
margin: 0;
font-size: 1.0rem;
color: hsl(292, 42%, 14%);
}
.accordion-button p:hover {
transition: 0.2s;
color: hsl(293, 38%, 57%);
}