-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.css
127 lines (102 loc) · 1.81 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
*{
margin: 0; padding: 0;
box-sizing: border-box;
font-family: 'Josefin Slab', serif;
}
header{
width: 100%; height: 100vh;
background-color: rgba(27, 31, 34,0.84);
}
.logo{
width: 25%;
text-align: center;
font-size: 1.5rem;
}
.menu{
width: 50%;
display: flex;justify-content: space-around;
}
.menu a{
width: 25%;
text-decoration: none;
color: white;
font-weight: bold;
font-size: 1.5rem;
}
nav{
width: 100%; height: 15vh;
background-color: rgb(0,0,0,0.2);
color: aliceblue; display:flex; justify-content: space-between;
align-items: center; text-transform: uppercase;
}
* {
box-sizing: border-box;
}
input[type=text], select, textarea {
width: 100%;
padding: 1.2rem;
border: 0.1rem solid #ccc;
border-radius: 0.4rem;
resize: vertical;
}
label {
padding: 1.2rem 1.2rem 1.2rem 0;
display: inline-block;
}
input[type=submit] {
background-color: #04AA6D;
color: white;
padding: 1.2rem 2rem;
border: none;
border-radius: 0.4rem;
cursor: pointer;
float: right;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container {
border-radius: 0.5rem;
background-color: #f2f2f2;
padding: 2rem;
}
.col-25 {
float: left;
width: 25%;
margin-top:0.6rem;
font-size: 2rem ;
}
.col-75 {
float: left;
width: 75%;
margin-top: 0.6rem;
}
.row:after {
content: "";
display: table;
clear: both;
}
h1{
margin-top: 2rem;
margin-bottom: 2rem;
text-align: center;
color: white;
}
/* body{
background-color: rgba(27, 31, 34,0.84);
} */
html{
font-size: 62.5%;
}
@media(max-width:998px)
{
html{
font-size: 55%;
}
}
@media(max-width:768px)
{
html{
font-size: 45%;
}
}