-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.css
More file actions
154 lines (142 loc) · 3.3 KB
/
contact.css
File metadata and controls
154 lines (142 loc) · 3.3 KB
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@charset "utf-8";
/* -------------------- GLOBAL -------------------- */
html, body {
margin: 0;
padding: 0;
font-family: roboto, sans-serif;
background:
linear-gradient(to bottom, rgba(2,24,97,0.85), rgba(2,18,75,0.85), rgba(2,12,57,0.85)),
url("images/tacomanight.jpeg") no-repeat center center fixed;
background-size: cover;
color: white;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* -------------------- SITE TITLE -------------------- */
.site-title {
background: linear-gradient(to right, #000000, #020e3f, #001b76);
text-align: center;
padding: 20px;
}
.site-title h1 {
margin: 0;
font-size: 2.5em;
letter-spacing: 1px;
}
/* -------------------- NAVIGATION -------------------- */
nav {
background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
text-align: center;
padding: 10px 0;
position: sticky;
top: 0;
z-index: 1000;
}
nav a {
color: #000;
margin: 0 15px;
text-decoration: none;
font-weight: bold;
}
nav a:hover {
text-decoration: underline;
color: #0056b3;
}
/* -------------------- CONTACT SECTION -------------------- */
#contact {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
}
.contact-title {
font-size: 2.2em;
color: #00bfff; /* light blue */
text-align: center;
margin-bottom: 30px;
}
/* Contact Form Box */
.contact-form {
display: flex;
flex-direction: column;
gap: 20px;
width: 52%; /* halved from 65% to ~32% */
min-height: 22vh; /* halved from 45vh */
padding: 25px; /* halved from 50px */
background: rgba(0,0,0,0.6);
border-left: 6px solid #00bfff;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
/* Labels */
.contact-form label {
font-weight: bold;
margin-bottom: 6px;
font-size: 1.1em;
}
/* Inputs */
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 18px;
font-size: 1.1em;
border-radius: 10px;
border: 2px solid #ccc;
box-sizing: border-box;
}
/* Message box */
.contact-form textarea {
flex: 1;
min-height: 200px;
resize: vertical;
}
/* Submit button */
.contact-form input[type="submit"] {
background: linear-gradient(to bottom, #00cfff, #009acd);
color: white;
font-weight: bold;
border: none;
cursor: pointer;
border-radius: 10px;
padding: 18px;
font-size: 1.2em;
transition: background 0.3s ease, transform 0.2s ease;
}
.contact-form input[type="submit"]:hover {
background: linear-gradient(to bottom, #00b5e6, #007fa3);
transform: translateY(-2px);
}
/* -------------------- FOOTER -------------------- */
footer {
text-align: center;
margin-top: 40px;
}
footer h3 {
background: linear-gradient(to right, #000000, #020e3f, #001b76);
color: #fff;
margin: 0;
font-size: 1.4em;
font-weight: normal;
padding: 12px 0;
}
.footer-links {
background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
display: flex;
justify-content: center;
gap: 25px;
flex-wrap: wrap;
padding: 20px;
}
.footer-links a {
color: #000;
text-decoration: none;
font-size: 1.1em;
font-weight: bold;
}
.footer-links a:hover {
color: #0056b3;
text-decoration: underline;
}