Skip to content

Commit 77e5e54

Browse files
committed
Update website style
1 parent 2d4351a commit 77e5e54

2 files changed

Lines changed: 41 additions & 7 deletions

File tree

frontend/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
<body>
1010
<div class="container">
1111
<h1>peter + sophie</h1>
12-
<h3>submit a wedding message</h3>
13-
12+
<h3><i>send a wedding message to be displayed on an LED transit departure sign in their home</i></h3>
1413
<form id="messageForm">
1514
<div class="form-group">
1615
<label for="apiPassword">wedding date</label>

frontend/style.css

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
body {
2-
font-family: Arial, sans-serif;
2+
font-family: Arial, Helvetica, sans-serif;
33
margin: 20px;
4+
background-color: #fffef9;
5+
color: #333;
46
}
57

68
.container {
@@ -9,7 +11,15 @@ body {
911
}
1012

1113
h1 {
12-
margin-bottom: 20px;
14+
margin-bottom: 10px;
15+
font-size: 36px;
16+
}
17+
18+
h3 {
19+
color: #666;
20+
font-weight: normal;
21+
font-size: 14px;
22+
margin-bottom: 30px;
1323
}
1424

1525
.form-group {
@@ -19,6 +29,23 @@ h1 {
1929
label {
2030
display: block;
2131
margin-bottom: 5px;
32+
color: #555;
33+
font-size: 14px;
34+
}
35+
36+
input[type="text"] {
37+
width: 100%;
38+
padding: 8px;
39+
font-size: 16px;
40+
box-sizing: border-box;
41+
font-family: Arial, Helvetica, sans-serif;
42+
border: 2px solid #ddd;
43+
background-color: #fff;
44+
}
45+
46+
input[type="text"]:focus {
47+
outline: none;
48+
border-color: #FF7B9C;
2249
}
2350

2451
#messageContent {
@@ -30,15 +57,23 @@ label {
3057

3158
.char-counter {
3259
text-align: right;
33-
font-size: 14px;
34-
color: #666;
60+
font-size: 12px;
61+
color: #999;
3562
margin-top: 5px;
3663
}
3764

3865
button {
3966
padding: 10px 20px;
40-
font-size: 16px;
67+
font-size: 14px;
4168
cursor: pointer;
69+
background-color: #FF7B9C;
70+
border: none;
71+
color: #FFFFFF;
72+
font-family: Arial, Helvetica, sans-serif;
73+
}
74+
75+
button:hover {
76+
background-color: #ff6b8a;
4277
}
4378

4479
button:disabled {

0 commit comments

Comments
 (0)