This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (76 loc) · 1.48 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
* {
transition: 1s;
color: #fff;
border: transparent;
}
body {
display: grid;
place-items: center;
}
main {
height: fit-content;
display: grid;
min-width: 700px;
max-width: 95vw;
grid-template-columns: 100px 1fr 100px;
grid-template-rows: min-content 1fr 100px;
gap: 0.5rem;
grid-auto-flow: row;
grid-template-areas:
"question question question"
"input input input"
"control-back control-messages control-submit";
}
main>* {
background-color: var(--background2-color);
border-radius: 1rem;
}
.question {
grid-area: question;
font-size: 2rem;
padding: 0.5rem;
user-select: none;
}
.input {
grid-area: input;
font-size: 2rem;
padding: 0.5rem;
}
.control-back {
grid-area: control-back;
}
.control-submit {
grid-area: control-submit;
}
.control-back i,
.control-submit i {
display: grid;
place-content: center;
width: 100%;
height: 100%;
font-size: 50px;
cursor: pointer;
border-radius: 1rem;
}
.control-back i:hover,
.control-submit i:hover {
transform: translate(2%, 2%);
background-color: var(--background3-color);
}
.control-back:hover,
.control-submit:hover {
background-color: var(--background2-color);
}
.control-messages {
grid-area: control-messages;
background-color: transparent;
}
.small {
font-size: 1rem;
display: block;
}
textarea {
font-size: 1.5rem !important;
resize: vertical;
transition: 0s;
}