-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
94 lines (91 loc) · 1.78 KB
/
Copy pathindex.css
File metadata and controls
94 lines (91 loc) · 1.78 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
body{
background-color: lightskyblue;
font-family: Arial, Helvetica, sans-serif;
}
h1{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.container{
display: grid;
grid-template-areas:
"header header header"
"left main right"
"footer footer footer";
grid-template-columns: 1fr 3fr 1fr;
grid-template-rows: 1fr auto auto;
grid-gap: 10px 10px;
}
.cell{
color: white;
font-size: 1vw;
text-align: center;
padding: 10px;
}
.cell-1{
background:lightskyblue;
grid-area: header;
text-decoration: none;
background-color: none;
color: white;
}
.cell-2{
background: lightskyblue;
grid-area: left;
position: fixed;
margin-top: 200px;
padding-right: auto;
overflow: hidden;
}
.cell-3{
background: #FFB37E;
grid-area: main;
padding: 0 10px;
padding-bottom: 20px;
}
.cell-3 img{
vertical-align: middle;
max-width: 45%;
height: auto;
}
@media screen and (max-width: 800px){
.cell-3 img{
max-width: 75%;
height: auto;
}
}@media screen and (max-width: 500px){
.cell-3 img{
max-width: 100%;
height: auto;
}
}
.cell-4{
background: lightskyblue;
grid-area: right;
}
.cell-5{
grid-area: footer;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-column-gap: 5px;
}
.cell-5 .cell {
background-color: #FFB37E;
}
input[type=text], select, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin-top: 6px;
margin-bottom: 16px;
resize: vertical
}
input[type=submit] {
background-color: #FF8733;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}