-
Notifications
You must be signed in to change notification settings - Fork 9
/
accordian.css
80 lines (72 loc) · 1.67 KB
/
accordian.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
@import url("https://fonts.googleapis.com/css2?family=Bitter&family=Mate+SC&family=Raleway&family=Roboto:wght@500&family=Source+Sans+Pro:wght@300;600&family=Squada+One&display=swap");
* {
margin: 0;
padding: 0%;
box-sizing: border-box;
}
body {
width: 100%;
height: 100vh;
background-color: aliceblue;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(#fcf5f5, #eff4fd);
}
.main-div {
width: 30vw;
padding: 50px;
background-color: rgb(255, 255, 255);
border-radius: 10px;
box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px,
rgba(17, 17, 26, 0.1) 0px 0px 8px;
}
h1 {
text-align: center;
font-family: "Bitter", serif;
text-transform: capitalize;
font-size: 32px;
letter-spacing: 5;
word-spacing: 5px;
margin-bottom: 50px;
color: #2c3148;
}
.main-heading {
display: flex;
margin-top: 30px;
padding: 20px 0 20px 20px;
background: #f1f4ff;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.main-heading:first-child {
margin-top: 0;
}
.main-heading h3 {
margin-left: 30px;
font-family: "Mate SC", serif;
color: #303243;
font-family: "Raleway", sans-serif;
word-spacing: 1px;
letter-spacing: 1px;
font-weight: 600;
font-size: 18px;
}
.main-heading p {
cursor: pointer;
border-radius: 50%;
box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
background: #fff;
padding: 5px;
}
.answers {
padding: 30px 20px 40px 20px;
font-family: "Raleway", sans-serif;
font-size: 15px;
word-spacing: 2px;
font-weight: 400;
line-height: 1.7;
background: #fcf5f5;
color: rgb(40, 37, 53);
}