-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
98 lines (93 loc) · 1.88 KB
/
styles.scss
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
body {
font-family: "Russo One", sans-serif;
background: linear-gradient(#000000, #111111);
color: #ffffff;
height: 100vh;
text-align: center;
}
.banner {
display: flex;
flex-direction: column;
align-items: center;
&__title {
margin: 2rem;
color: #f9e907;
font-size: 3rem;
}
}
button {
padding: 1rem;
font-family: "Russo One", sans-serif;
text-align: center;
border-radius: 5px;
margin: 1rem 0;
background-color: white;
}
button:hover {
background-color: #f9e907;
border: 2px solid #ffffff;
cursor: pointer;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
}
.card {
display: flex;
flex-direction: row;
align-self: center;
justify-content: center;
&__item {
background: #000000;
width: 22rem;
height: 24rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1px solid #ffffff;
border-radius: 4px;
margin: 1rem;
box-shadow: 2px 2px 10px #aaa;
transition: transform 0.1s ease-in-out;
}
&__image {
border-radius: 5px;
margin: 1rem 0;
height: 20rem;
padding: 1rem;
width: auto;
height: 15rem;
text-align: center;
}
&__image-box {
width: 20rem;
height: 15rem;
border-radius: 4px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
margin: 1rem 0;
}
}
.option {
display: flex;
justify-content: center;
}
.answer {
display: flex;
justify-content: center;
padding: 0 6rem;
text-align: center;
&__text {
font-size: 2rem;
}
&__text--correct {
color: lightblue;
}
&__text--incorrect {
color: red;
}
}