-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Expand file tree
/
Copy pathindex.css
More file actions
102 lines (84 loc) · 1.45 KB
/
index.css
File metadata and controls
102 lines (84 loc) · 1.45 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
101
102
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
* {
box-sizing: border-box;
}
html {
font-family: 'Noto Sans JP', sans-serif;
}
body {
margin: 0;
background-color: #3f3f3f;
}
.app {
width: 90%;
max-width: 43rem;
padding: 1rem;
border-radius: 12px;
background-color: white;
margin: 3rem auto;
}
.form-control {
margin-bottom: 1rem;
}
.form-control input,
.form-control label {
display: block;
}
.form-control label {
font-weight: bold;
margin-bottom: 0.5rem;
}
.form-control input,
.form-control select {
font: inherit;
padding: 0.5rem;
border-radius: 4px;
border: 1px solid #ccc;
width: 20rem;
max-width: 100%;
}
.form-control input:focus {
outline: none;
border-color: #240370;
background-color: #e0d4fd;
}
.control-group {
display: flex;
column-gap: 1rem;
flex-wrap: wrap;
}
.control-group .form-control {
min-width: 15rem;
flex: 1;
}
button {
font: inherit;
background-color: #240370;
color: white;
border: 1px solid #240370;
padding: 0.5rem 1.5rem;
border-radius: 4px;
cursor: pointer;
}
button:hover,
button:active {
background-color: #33059e;
border-color: #33059e;
}
.form-actions {
text-align: right;
}
.form-actions button {
margin-left: 1rem;
}
.invalid input {
border: 1px solid #b40e0e;
background-color: #fddddd;
}
.invalid input:focus {
border-color: #ff8800;
background-color: #fbe8d2;
}
.error-text {
color: #b40e0e;
}