This repository has been archived by the owner on Nov 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
145 lines (124 loc) · 2.63 KB
/
styles.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.page-content {
margin: 1rem 0rem;
}
.card {
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
border: none !important;
border-radius: 5px !important;
}
.card-img-top {
background-size: cover;
background-position: center;
height: 15rem;
border: none !important;
border-top-left-radius: 5px !important;
border-top-right-radius: 5px !important;
}
.card-footer {
background-color: hsl(210, 16%, 93%) !important;
color: hsl(0, 0%, 35%) !important;
border-top: none !important;
transition: all 0.15s ease;
}
.card-footer:hover {
background-color: hsl(210, 16%, 53%) !important;
color: white !important;
text-decoration: none !important;
}
#card-1 {
background-image: url('/assets/einstein.jpg');
}
#card-2 {
background-image: url('/assets/paper.jpg');
}
#card-3 {
background-image: url('/assets/quiz.jpg');
}
.create-page {
display: grid;
grid-template-rows: auto auto auto auto;
grid-row-gap: 1.5rem;
align-content: center;
justify-content: center;
}
label {
font-weight: 700;
}
.create-text {
display: grid;
grid-template-rows: auto auto;
}
.create-name {
display: grid;
grid-template-rows: auto auto;
}
.create-image {
display: grid;
grid-template-rows: auto auto;
}
.question-page {
display: grid;
grid-auto-flow: row;
grid-row-gap: 2rem;
align-content: center;
justify-content: center;
}
.question {
display: grid;
grid-template-columns: auto auto;
grid-template-rows: auto auto auto auto;
grid-gap: 1rem;
background-color: #e9ecef;
border-radius: 18px;
padding: 1rem;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.question-title {
grid-column: 1 / 3;
grid-row: 1 / 2;
align-self: center;
justify-self: center;
background-color: hsl(210, 16%, 33%);
color: white;
border-radius: 18px;
padding: 0.5rem 1.5rem;
font-weight: 900;
text-align: center;
}
.question-text {
grid-column: 1 / 3;
grid-row: 2 / 3;
font: 1.2rem Georgia, serif;
text-align: center;
padding: 0rem 10rem;
}
.question-name {
grid-column: 1 / 3;
grid-row: 3 / 4;
font: italic 1.2rem Georgia, serif;
font-weight: 700;
text-align: center;
}
.question-answer {
cursor: pointer;
background-color: white;
border-radius: 18px;
font-size: 1.2rem;
font-weight: 800;
text-align: center;
padding: 2rem;
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
transition: all .15s ease;
}
.question-answer:hover {
background-color: hsl(210, 16%, 53%);
color: white;
}
.question-real {
grid-column: 1 / 2;
grid-row: 4 / 5;
}
.question-fake {
grid-column: 2 / 3;
grid-row: 4 / 5;
}