-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
143 lines (130 loc) · 2.3 KB
/
styles.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
html {
min-inline-size: 100vw;
min-block-size: 100%;
padding: 3%;
}
body {
min-inline-size: 100%;
margin: 0;
padding: 0;
overflow: auto;
word-break: keep-all;
overflow-wrap: normal;
hyphens: none;
-moz-hyphens: none;
-webkit-hyphens: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
font-family: 'opensans', sans-serif;
background-color: #B98474;
font-size: 16px;
line-height: 1.125;
display: flex;
flex-flow: column wrap;
align-content: center;
}
/*
Color Palette
#af3415 - red-orange
#56423C - brown
#BEA69F - light-brown
#006FC8 - blue
#00A3FF - lightblue
#fc890f - light-orange
*/
*,
*::after,
*::before {
box-sizing: inherit;
}
header {
display: flex;
flex-flow: row wrap;
justify-content: center;
}
main {
padding: 2%;
border: 2px solid #af3415;
border-radius: 1rem;
min-inline-size: 100%;
display: flex;
flex-flow: column wrap;
align-content: center;
justify-content: center;
align-self: center;
}
.area {
display: flex;
flex-flow: row nowrap;
padding-top: 0;
padding-bottom: 0;
border: none;
min-inline-size: 50%;
margin: 0;
min-block-size: 1rem;
gap: 0.5rem;
align-self: stretch;
}
#location {
min-inline-size: 50%;
}
section {
border: 2px solid #af3415;
border-radius: 1rem;
margin-top: 2rem;
padding-top: 2rem;
padding-bottom: 2rem;
min-block-size: 10rem;
min-inline-size: 100%;
display: flex;
flex-flow: column wrap;
align-content: center;
}
article {
border: 2px solid #af3415;
border-radius: 1rem;
min-inline-size: 80%;
display: flex;
flex-flow: column wrap;
align-content: center;
}
label {
display: flex;
align-self: center;
}
input {
block-size: 2rem;
display: flex;
align-self: center;
border-radius: 0.5rem;
padding: 1rem;
}
#submit {
block-size: 2rem;
display: flex;
align-self: center;
align-items: center;
border-radius: 0.5rem;
padding: 1rem;
}
#submit:active {
border-color: #006fc8;
}
@media screen and (max-width: 24rem) {
body {
display: flex;
flex-flow: column wrap;
justify-content: center;
align-items: center;
}
}
@media screen and (min-width: 75rem) {
body {
display: flex;
flex-flow: column wrap;
justify-content: space-around;
align-items: center;
max-inline-size: 85vw;
}
}