Skip to content

Commit c9d3cc3

Browse files
authored
Update style.css
1 parent e5d6a31 commit c9d3cc3

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

style.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,45 @@ a {
6969
margin: 0;
7070
color: white;
7171
}
72+
pre, code {
73+
font-size: 110%;
74+
}
75+
input[type=text], select, textarea {
76+
width: 100%;
77+
padding: 12px;
78+
border: 1px solid #ccc;
79+
border-radius: 4px;
80+
box-sizing: border-box;
81+
margin-top: 6px;
82+
margin-bottom: 16px;
83+
resize: vertical;
84+
}
85+
86+
input:invalid:required {
87+
border: 1px dashed red;
88+
}
89+
90+
/* Style button */
91+
input[type=submit] {
92+
background-color: #aeaeae;
93+
color: #333;
94+
padding: 12px 20px;
95+
border: none;
96+
border-radius: 4px;
97+
cursor: pointer;
98+
width: 100%;
99+
font-weight: bold;
100+
}
101+
102+
/* When moving the mouse over the submit button, add a darker black color */
103+
input[type=submit]:hover {
104+
background-color: black;
105+
color: white;
106+
}
107+
108+
/* Add a background color and some padding around the form */
109+
.form {
110+
border-radius: 5px;
111+
background-color: #f2f2f2;
112+
padding: 20px;
113+
}

0 commit comments

Comments
 (0)