-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
executable file
·115 lines (98 loc) · 1.73 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/**
* Author : Prateek Chandan (http://www.prateekchandan.in)
* Feel free to edit and reuse
*/
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
body {
background: #456;
font-family: 'Open Sans', sans-serif;
}
.container {
margin-left: 30px;
margin-right: 30px;
padding: 30px;
text-align: center;
background: #fbfbfb;
color: #444;
}
.inputform {
width: 400px;
margin: 16px auto;
font-size: 16px;
}
/* Reset top and bottom margins from certain elements */
.inputform-header,
.inputform p {
margin-top: 0;
margin-bottom: 0;
}
.inputform-header {
background: #28d;
padding: 20px;
font-size: 1.4em;
font-weight: normal;
text-align: center;
text-transform: uppercase;
color: #fff;
}
.inputform-container {
background: #ebebeb;
padding: 12px;
}
/* Every row inside .inputform-container is defined with p tags */
.inputform p {
padding: 12px;
}
.inputform input ,.inputform button{
box-sizing: border-box;
display: block;
width: 100%;
border-width: 1px;
border-style: solid;
padding: 16px;
outline: 0;
font-family: inherit;
font-size: 0.95em;
}
.message{
width: 376px;
margin: 16px auto;
font-size: 16px;
background: #ebebeb;
padding: 12px;
color: #333;
}
.error{
color: #D32F2F;
}
.success{
color: #388E3C;
}
.inputform input {
background: #fff;
border-color: #bbb;
color: #555;
}
/* Text fields' focus effect */
.inputform input:focus {
border-color: #888;
}
.inputform button {
background: #28d;
border-color: transparent;
color: #fff;
cursor: pointer;
}
.inputform button:hover {
background: #17c;
}
/* Buttons' focus effect */
.inputform button:focus {
border-color: #05a;
}
img{
max-width: 300px;
}
a:visited , a{
color: #2288DD;
}