-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
73 lines (63 loc) · 1.27 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
html{
background-color: #181818;
font-family: Helvetica,Arial, sans-serif;
color: white;
}
body{
display: flex;
justify-content: center;
align-items: center;
margin: 0;
min-height: 100vh;
}
form{
width: 90%;
min-width: 450px;
max-width: 560px;
background-color: #0e1010;
padding: 1em;
}
fieldset{
border: none;
padding: 0;
margin: 0;
}
label,input,textarea{
display: block;
width: 100%;
box-sizing: border-box;
color: white;
}
input,textarea{
background-color: rgba(0,0,0,.3);
border: 2px solid transparent;
border-bottom-color: #bbb;
padding: .75em;
margin: .5em 0 2.5em;
outline: 0;
}
input:invalid:focus, textarea:invalid:focus{
border-bottom: 2px solid #ff000d;
}
input:valid:focus, textarea:valid:focus{
border-bottom: 2px solid #0ec72a;
}
input:focus,textarea:focus{
border-bottom: 2px solid #8e999a;
background-color: #2a2727;
}
legend{
padding: .5em;
text-align: center;
font-weight: bold;
color: #8e999a;
font-size: 1.3em;
}
.btn{
background-color: #2a2727;
color: white;
cursor: pointer;
padding: .7em;
font-size: 1.2em;
border: none;
}