Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Commit a105f88

Browse files
authored
Update index.html
Signed-off-by: Blake Arnold <[email protected]>
1 parent 1243897 commit a105f88

File tree

1 file changed

+90
-15
lines changed

1 file changed

+90
-15
lines changed

index.html

Lines changed: 90 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,119 @@
11
<html>
22
<head>
3-
<style>
4-
.tab {
3+
<style>body {
4+
font-family: 'Segoe UI', Arial, sans-serif;
5+
background: #f4f8fb;
6+
margin: 0;
7+
padding: 0;
8+
min-height: 100vh;
9+
}
10+
11+
#tabs {
12+
display: flex;
13+
justify-content: center;
14+
margin: 24px 0 0 0;
15+
}
16+
17+
.tab {
518
background: #f7f7f7;
619
border: 1px solid #bbb;
720
border-bottom: none;
821
border-radius: 8px 8px 0 0;
9-
padding: 8px 28px;
10-
margin-right: 4px;
11-
font-family: sans-serif;
12-
font-size: 15px;
13-
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.04);
22+
padding: 10px 38px;
23+
margin-right: 8px;
24+
font-family: inherit;
25+
font-size: 16px;
26+
box-shadow: 0 4px 12px 0 rgba(0,0,0,0.06);
1427
cursor: pointer;
1528
position: relative;
1629
top: 1px;
17-
transition: background 0.2s;
18-
}
19-
#tabs {
20-
display: flex;
21-
flex-direction: row;
22-
margin-bottom: -1px;
30+
transition: background 0.2s, font-weight 0.2s;
31+
color: #555;
2332
}
33+
2434
.tab.active {
2535
background: #fff;
2636
font-weight: bold;
2737
border-color: #888 #888 #fff #888;
2838
z-index: 1;
39+
color: #222;
2940
}
41+
3042
.tab:not(.active):hover {
3143
background: #ececec;
3244
}
45+
3346
.tab-content {
3447
display: none;
3548
border: 1px solid #ccc;
36-
padding: 15px;
37-
margin-top: 10px;
49+
border-radius: 0 0 8px 8px;
50+
background: #fff;
51+
padding: 28px 32px 24px 32px;
52+
margin: 0 auto 32px auto;
53+
max-width: 480px;
54+
box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
55+
font-size: 15px;
3856
}
57+
3958
.tab-content.active {
4059
display: block !important;
4160
}
61+
62+
input[type="text"], input[type="number"] {
63+
width: 220px;
64+
padding: 7px 12px;
65+
font-size: 15px;
66+
margin: 24px 12px 8px 0;
67+
border: 1px solid #b0b0b0;
68+
border-radius: 5px;
69+
background-color: #f9f9f9;
70+
transition: border-color 0.2s;
71+
}
72+
73+
input[type="text"]:focus, input[type="number"]:focus {
74+
outline: none;
75+
border-color: #0078d7;
76+
}
77+
78+
textarea {
79+
width: 100%;
80+
min-height: 80px;
81+
margin: 10px 0 18px 0;
82+
padding: 10px;
83+
border-radius: 5px;
84+
border: 1px solid #b0b0b0;
85+
font-size: 15px;
86+
background: #f9f9f9;
87+
resize: vertical;
88+
}
89+
90+
button {
91+
padding: 8px 20px;
92+
margin: 0 8px 10px 0;
93+
background: #0078d7;
94+
color: #fff;
95+
border: none;
96+
border-radius: 4px;
97+
font-size: 15px;
98+
cursor: pointer;
99+
transition: background 0.18s;
100+
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.04);
101+
}
102+
103+
button:hover, button:focus {
104+
background: #005fa3;
105+
}
106+
107+
@media (max-width: 600px) {
108+
.tab-content {
109+
padding: 16px 4vw;
110+
max-width: 98vw;
111+
}
112+
input[type="text"], input[type="number"] {
113+
width: 96vw;
114+
max-width: 98vw;
115+
}
116+
}
42117
</style>
43118
</head>
44119
<body>

0 commit comments

Comments
 (0)