-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmain.css
118 lines (100 loc) · 1.8 KB
/
main.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
* {
box-sizing: border-box;
}
body {
background: #181818;
color: #fff;
line-height: 1.6;
font-family: 'Quicksand', sans-serif;
padding: 0 1.5em;
}
.container {
max-width: 1170px;
margin-left: auto;
margin-right: auto;
padding: 1.5em;
}
ul {
list-style: none;
padding: 0;
}
.logo {
text-align: center;
font-size: 3em;
}
.logo span {
color: #B70E21;
}
.contact-wrapper {
box-shadow: 0 0 20px 0 rgba(255, 255, 255, .3);
}
.contact-wrapper > * {
padding: 1em;
}
.contact-form {
background: #222222;
}
.contact-form form {
display: grid;
grid-template-columns: 1fr 1fr;
}
.contact-form form label {
display: block;
}
.contact-form form p {
margin: 0;
padding: 1em;
}
.contact-form form .block {
grid-column: 1 / 3;
}
.contact-form form button,
.contact-form form input,
.contact-form form textarea {
width: 100%;
padding: .7em;
border: none;
background: none;
outline: 0;
color: #fff;
border-bottom: 1px solid #d63031;
}
.contact-form form button {
background: #B70E21;
border: 0;
text-transform: uppercase;
padding: 1em;
}
.contact-form form button:hover,
.contact-form form button:focus {
background: #d63031;
color: #fff;
transition: background-color 1s ease-out;
outline: 0;
}
/* CONTACT INFO */
.contact-info {
background: #000;
}
.contact-info h4, .contact-info ul, .contact-info p {
text-align: center;
margin: 0 0 1rem 0;
}
/* LARGE SIZE */
@media(min-width: 700px) {
body {
padding: 0 4em;
}
.contact-wrapper {
display: grid;
grid-template-columns: 2fr 1fr;
}
.contact-wrapper > * {
padding: 2em;
}
.contact-info h4,
.contact-info ul,
.contact-info p {
text-align: left;
}
}