-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (117 loc) · 1.91 KB
/
style.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
* {
box-sizing: border-box;
}
html {
font-family: sans-serif;
font-size: 1.1em;
}
body {
min-height: 80vh;
max-height: 100vh;
background-color: darkblue;
color: white;
/* overflow: hidden; */
}
header {
padding: 5% 0 2% 5%;
background-color: rgb(0, 0, 0);
}
main {
padding: 5% 10% 10% 10%;
}
.name,
.destination,
.dates {
display: flex;
/* margin: 3% 5% 1% 5%; */
min-width: 30vw;
max-width: 50vw;
}
input[type="text"],
input[type="email"] {
min-width: 25vw;
padding: 2%;
display: block;
}
input[type="number"] {
max-width: 2vw;
padding: 2%;
display: block;
}
.name,
.destination {
flex-direction: column;
align-items: flex-start;
}
#production,
#city {
max-width: 80vw;
}
.food {
flex-direction: column;
}
#breakfast,
#lunch,
#dinner,
#resultAfter,
#expenses {
max-width: 10vw;
}
#done {
display: block;
/* margin-top: 2%; */
margin-left: auto;
margin-right: auto;
/* position: sticky; */
}
.text-container {
display: flex;
flex-wrap: wrap;
margin-bottom: 5%;
}
.math-container {
/* display: flex;
flex-direction: column;
width: 100%; */
/* gap: 10%; */
margin-top: 5%;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
padding: 10px 20px;
border: 1px solid #000;
}
.breakfast,
.lunch,
.dinner,
.expenses {
/* margin-left: 5%;
margin-right: 10%; */
/* padding: 10px; */
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.result-deductions,
.result-after {
padding: 0px 10px 0px 10px;
/* margin-left: 5%;
margin-right: 10%; */
margin: 5% 10% 0% 5%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
#dateInput {
font-size: 1em;
padding: 0.5em;
/* margin: 5%; */
max-width: 25%;
height: 5%;
}