-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (80 loc) · 1.47 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: helvetica;
}
body{
background-color: #ffd700;
}
.main{
width: 500px;
margin: 50px auto;
border-radius: 10px;
border: 5px solid #dc143c;
border-left: 40px solid #dc143c;
box-shadow: 1px 2px 10px #555;
}
.info{
width: 100%;
background-color: #dc143c;
padding: 7px;
text-shadow: 1px 1px 1px #222;
color: #fff;
font-size: 20px;
}
.form-box{
padding: 20px;
background-color: #eee;
}
label{
color: navy;
font-size: 18px;
}
.inp,.msg-box{
width: 100%;
padding: 10px;
margin-top: 4px;
margin-bottom: 5px;
border-radius: 5px;
border: 2px solid #dc143c;
font-weight: bold;
color: #dc143c;
border-right: 15px solid #dc143c;
border-left: 15px solid #dc143c;
resize: none;
}
.msg-box{
height: 80px;
}
.inp:focus,.msg-box:focus{
outline: none;
border: 2px solid navy;
border-right: 15px solid navy;
border-left: 15px solid navy;
}
.sub-btn{
width: 100%;
padding: 10px;
border-radius: 5px;
margin-top: 5px;
border: none;
background: linear-gradient(#dc143c,#800000);
cursor: pointer;
color: #fff;
font-size: 20px;
text-shadow: 1px 1px 1px #444;
}
.sub-btn:hover{
background: linear-gradient(#800000,#dc143c);
opacity: 0.8;
transition: all ease-out 0.2s;
}
.sub-btn:focus{
outline: none;
}
@media(max-width: 720px){
.main{
width: 90%;
}
}