-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (91 loc) · 1.47 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
body {
background: lightyellow;
font-family: sans-serif;
padding: 30px;
}
.main-header {
text-align: center;
}
.main-header img {
width: 100px;
}
pre {
margin: 0;
padding: 0;
}
p {
margin: 0;
margin-bottom: 1em;
}
label {
font-size: 14px;
display: inline-block;
padding: 0 0.3em 0 1em;
}
input {
border: none;
padding: 5px 8px;
border-radius: 5px;
}
button {
-webkit-appearance: none;
border: none;
color: white;
background-color: maroon;
padding: 5px 13px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.35s;
}
button:hover {
background-color: #b72020;
}
form {
display: block;
margin-bottom: 1em;
padding: 1em;
background: wheat;
border-radius: 10px;
}
#garden-controls {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#garden {
background: lightgreen;
padding: 2em 1em;
margin-bottom: 1em;
border-radius: 10px;
color: darkgreen;
font-weight: bolder;
}
#result {
text-align: center;
}
.alert {
padding: 0.5em;
border-radius: 3px;
background: gold;
}
.hide {
display: none;
}
.main-footer,
.main-footer ul {
display: flex;
align-items: center;
}
.main-footer ul {
list-style: none;
margin: 0;
padding: 0;
margin-inline-start: 1em;
}
.main-footer ul li {
margin-inline-end: 1em;
}
.main-footer img {
width: 20px;
}