-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathforms.css
66 lines (60 loc) · 1.17 KB
/
forms.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
/*
Generic styling for forms
*/
input:not(*[type="submit"]){
border: 0;
outline: 0;
background: transparent;
border-bottom: 1px solid #c4c4c4;
border-radius:0;
text-align:center;
color: #c0c0c0;
}
/*
Removes Bootstrap's default box-shadow styling
*/
input:not(*[type="submit"]),input:not(*[type="submit"]):hover,input:not(*[type="submit"]):active,input:not(*[type="submit"]):focus{
box-shadow:none;
}
/*
Styling for form on front page
*/
#contact_container{
max-width: 7in;
min-width: 400px;
width:70%;
display:block;
margin:auto;
}
/*Genering button styling*/
#contact_container button{
display:block;
margin:auto;
margin-top:2%;
}
/*Styling for black button used in form*/
.btn-black{
background: #343a40;
border-color: #343a40;
transition:500ms ease all;
color:white;
border-radius:0;
}
.btn-black:hover, .btn-black:focus {
background: #23272b;
border-color:#1d2124;
color:white;
}
.btn-black:focus, .btn-black:active{
box-shadow: 0 0 0 0.2rem rgba(52,58,64,.5);
background: #343a40;
border-color:#343a40;
outline:0;
border:none;
}
/*Spacing within form*/
#contact_container input, #contact_container label{
margin:0.8rem;
font-weight:100;
color:black;
}