-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcalorie.css
108 lines (94 loc) · 1.86 KB
/
calorie.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
/* Font */
@font-face {
font-family: "Quicksand";
src: url(Quicksand-Regular.ttf);
}
/* Body */
body {
display: flex;
font-family: "Quicksand";
color: whitesmoke;
background-image: url(./images/grocerystore.gif);
background-color: rgba(68, 67, 67, 0.9);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin: 0;
padding: 20px;
}
/* App Container */
#app {
display: flex;
flex:3;
flex-direction: column;
max-width: 600px;
margin: 0 auto;
background-color: rgba(68, 67, 67, 0.9); /* Adjust the alpha value for transparency */
padding: 20px;
border-radius: 8px;
}
/* Heading */
h1 {
text-align: center;
}
/* Form Styles */
form {
margin-bottom: 20px;
}
form label {
display: block;
margin-top: 10px;
}
form input,
form select {
width: 100%;
padding: 10px;
margin-top: 5px;
background-color: #333; /* Set the background color to a dark shade */
color: whitesmoke;
border: 1px solid #fff; /* Add a white border */
border-radius: 8px;
box-sizing: border-box;
}
/* Button Styles */
button {
font-family: "Quicksand";
background-color: #3f9e1c;
color: whitesmoke;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
margin: 10px auto 0;
display: block;
}
button:hover {
background-color: #33ad20;
}
/* Plan Result */
#plan-result {
margin-top: 20px;
}
#result {
text-align: center;
}
.top-right-button {
position: absolute;
top: 20px;
padding: 10px 20px;
background-color: #f6691e;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.top-right-button:hover {
background-color: #f1805b;
}
#plan-button {
right: 10px;
margin-bottom: 10px;
}
#home-button {
right: 80px; /* Adjust the positioning as needed */
}