-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (87 loc) · 1.8 KB
/
Copy pathstyles.css
File metadata and controls
100 lines (87 loc) · 1.8 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
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@font-face {
font-family: mima;
src: url('miama-webfont.woff2') format('woff2'),
url('miama-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
background: rgb(244, 240, 235);
color: rgb(91, 83, 83)
}
main {
width: 700px;
margin: 100px auto;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.title {
font-size: 5rem;
font-family: mima;
color: rgb(185, 169, 76);
}
.questions-and-answers {
list-style: none;
}
.questions-and-answers li {
background: rgb(235, 248, 248);
margin-bottom: 50px;
padding: 20px;
width: 700px;
display: flex;
flex-direction: column;
border-radius: 10px;
box-shadow: 0 3px 10px 3px rgb(213, 206, 206);
}
.question-container {
display: flex;
justify-content: space-between;
}
.question-container button {
width: 25px;
height: 25px;
background-color: transparent;
background-image: url("plus.png");
background-size: cover;
border: none;
filter: invert(81%) sepia(13%) saturate(1664%) hue-rotate(9deg) brightness(81%) contrast(89%);
animation: counterclockwise .25s linear forwards;
}
.question-container button:hover {
animation: clockwise .25s linear forwards;
}
@keyframes clockwise {
from {
transform: rotate(0deg);
}
to {
transform: rotate(90deg);
}
}
@keyframes counterclockwise {
from {
transform: rotate(90deg);
}
to {
transform: rotate(0deg);
}
}
.answer-container {
display: flex;
flex-direction: column;
align-items: center;
display: none;
}
.underline {
width: 95%;
height: 1px;
background: silver;
margin: 20px 0;
}