-
Notifications
You must be signed in to change notification settings - Fork 37
/
contact.css
128 lines (126 loc) · 2.68 KB
/
contact.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
116
117
118
119
120
121
122
123
124
125
126
127
128
:root {
--dark: #374151;
--darker: #1f2937;
--darkest: #111827;
--gray: #aeb2ba;
--pink: #ec4899;
--purple: #8b5cf6;
--cyan: #00ffff;
}
.contact {
width: 100%;
min-height: inherit;
margin-top: 64px;
display: flex;
justify-content: center;
align-items: center;
.form-group {
margin-bottom: 15px;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
box-sizing: border-box;
background-color: var(--darker);
font-family: "Fira Sans";
font-weight: 600;
font-size: 1.25rem;
border-radius: 1rem;
color: var(--gray);
border: none;
}
.form-group button {
padding: 10px 20px;
background: linear-gradient(to right, var(--pink), var(--purple));
font-family: "Inter", sans-serif;
font-weight: 600;
font-size: 1.2rem;
color: #fff;
border: none;
border-radius: 1rem;
cursor: pointer;
}
.form-group button:hover,
.form-group button:focus,
.form-group button:active {
cursor: pointer;
border-radius: 1rem;
background: linear-gradient(to right, var(--cyan), var(--pink));
color: white;
border: none;
border-radius: 5px;
box-shadow: 0 0 20px rgba(249, 104, 203, 0.5);
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
}
main {
background: var(--dark);
height: 39rem;
width: 75%;
padding: 3rem;
padding-top: 2rem;
padding-right: 2rem;
border-radius: 12px;
margin-bottom: 20px;
backdrop-filter: blur(8px);
box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.heading {
font-size: 40px;
color: var(--gray);
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
sans-serif;
}
.contactinfo {
font-size: 18px;
font-family: cursive;
font-style: italic;
color: var(--gray);
}
.navbar-brand {
font-family: "Young Serif", serif;
font-size: 5vh;
color: black;
}
.navbar-nav {
color: black;
display: flex;
width: 100%;
justify-content: end;
}
.navbar {
color: black;
padding: 1vh 1vw;
}
header {
padding: 20px;
}
nav {
display: flex;
justify-content: space-evenly;
}
@media (max-width: 768px) {
.contact {
margin: 40px 0px;
height: auto;
}
main {
width: 90%;
margin: 10px;
}
.heading {
font-size: 30px;
}
.navbar-brand {
font-size: 3vh;
}
.navbar-nav {
flex-direction: column;
}
}