-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (79 loc) · 1.67 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
:root {
--yangColor: #d8c21e;
--yinColor: #111111;
--background: rgba(0, 0, 0, 0.9);
--borderRadius: 10px;
--animation: 0.3s ease;
}
*,
*::before,
*::after {
font-size: inherit;
font-family: inherit;
box-sizing: inherit;
margin: 0;
padding: 0;
user-select: none;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: var(--background);
}
label {
color: var(--yangColor);
margin-right: 10px;
}
input {
padding: 12px 24px;
border-radius: var(--borderRadius);
color: var(--yinColor);
background-color: var(--yangColor);
border: var(--yinColor);
}
button {
padding: 12px 24px;
margin: 10px;
border-radius: var(--borderRadius);
border: var(--yangColor) 1px solid;
cursor: pointer;
color: var(--yangColor);
background-color: var(--yinColor);
transform: var(--animation);
}
button:hover {
color: var(--yinColor);
border: var(--yinColor) 1px solid;
background-color: var(--yangColor);
}
#text {
width: 100%;
height: 50vh;
width: 90%;
margin-top: 20px;
border-radius: var(--borderRadius);
background-color: var(--yangColor);
border: 1px solid var(--yinColor);
color: var(--yinColor);
padding: 24px;
transform: var(--animation);
}
#text[disabled] {
background-color: var(--yinColor);
color: var(--yangColor);
border: 1px solid var(--yangColor);
cursor: not-allowed;
resize: none;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.actions {
display: flex;
justify-content: center;
align-items: center;
margin-top: 10px;
}