-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
165 lines (146 loc) · 3.57 KB
/
style.css
File metadata and controls
165 lines (146 loc) · 3.57 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
155
156
157
158
159
160
161
162
163
164
165
* {
box-sizing: border-box;
}
.imgLandingPage {
float: left;
width: 500px;
height: 250px;
object-fit: cover;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-image: url("backgroundlandpage.png");
background-repeat: no-repeat;
background-size: 100%;
background-position: center;
background-color: #cccccc;
}
/* Style the header */
.header {
grid-area: header;
background-color:transparent;
padding: 30px;
text-align: center;
font-size: 35px;
}
/* The grid container */
.grid-container {
display: grid;
grid-template-areas:
'header header header header header header'
'left left middle middle right right'
'footer footer footer footer footer footer';
/* grid-column-gap: 10px; - if you want gap between the columns */
}
/*
.left,
.middle,
.right {
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
/* Style the left column */
.left {
grid-area: left;
background-color:transparent;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* Style the middle column */
.middle {
grid-area: middle;
background-color:transparent;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
text-align: center;
}
/* Style the right column */
.right {
grid-area: right;
background-color:transparent;
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* Style the footer */
.footer {
grid-area: footer;
background-color:transparent;
padding: auto;
text-align: center;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.grid-container {
grid-template-areas:
'header header header header header header'
'left left left left left left'
'middle middle middle middle middle middle'
'right right right right right right'
'footer footer footer footer footer footer';
}
}
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid rgb(70, 68, 68);
border-radius: 4px;
resize: vertical;
}
input[type=email], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid rgb(70, 68, 68);
border-radius: 4px;
resize: vertical;
}
label {
padding: 12px 12px 12px 0;
display: inline-block;
}
input[type=submit] {
background-color: rgb(37, 116, 161);
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
float: right;
}
input[type=submit]:hover {
background-color: #45a049;
}
.container {
border-radius: 5px;
background-color: honeydew;
padding: 20px;
}
.col-25 {
float: left;
width: 25%;
margin-top: 6px;
}
.col-75 {
float: left;
width: 75%;
margin-top: 6px;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
button {
background-color: rgb(37, 116, 161);
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}