-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (110 loc) · 2.55 KB
/
Copy pathstyles.css
File metadata and controls
122 lines (110 loc) · 2.55 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
*::before,
*::after {
box-sizing: border-box;
}
fieldset {
border:0;
}
body{
font-family: Arial, Helvetica, sans-serif;
background: #b92b27; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #b92b27, #1565c0); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #b92b27, #1565c0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
width: 100%;
min-height: 100vh;
margin: 0;
}
.main-container {
display: grid;
grid-template-columns: repeat(3, minmax(200px, 1fr));
width: 100%;
min-height: 100vh;
grid-template-areas:
"header header header "
"content content content"
"footer footer footer"
}
.head{
grid-area: header;
width: 100%;
height: 100px;
color: white;
text-align: center;
font-weight: lighter;
}
.content{
grid-area: content;
width: 80%;
height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #2980B9;
background: -webkit-linear-gradient(to bottom, #FFFFFF, #6DD5FA, #2980B9);
background: linear-gradient(to bottom, #FFFFFF, #6DD5FA, #2980B9);
align-self: center;
justify-self: center;
border-radius: 20px;
}
.form-container {
width: 80%;
/* background-color: #3795be; */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.control {
text-align: center;
}
.response{
width: 80%;
/* background-color: #c673d3; */
flex-direction: column;
justify-content: center;
align-items: center;
border-bottom-left-radius: 0.5em 1em;
border-bottom-right-radius: 0.5em 1em;
}
.cloudAndWind {
text-align: center;
font-family: emoji;
}
.footer{
grid-area: footer;
width: 100%;
grid-column: 1/4;
grid-row: 3/4;
/* height: 100px; */
/* background-color: rgba(82, 148, 174, 0.786); */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.response {
display: none;
flex-direction: column;
}
@media (max-width: 700px){
.main-container {
grid-template-columns: repeat(2, minmax(100px, 1fr));
grid-template-areas:
"header header"
"content content"
"footer footer"
}
}
@media (max-width: 400px){
.main-container {
grid-template-columns: minmax(100px, 1fr);
grid-template-areas:
"header"
"content"
"footer"
}
.head{
height: 100px;
}
}