Skip to content

Commit 012c5d9

Browse files
authored
Merge pull request #106 from jen67/manage
Manage
2 parents 3054ee3 + 94158e5 commit 012c5d9

File tree

1 file changed

+37
-4
lines changed

1 file changed

+37
-4
lines changed

recipe-page-main/styles.css

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,15 @@ font-size: 1.3rem;
131131
font-weight: 600;
132132
}
133133

134+
.Nutrition{
135+
padding-bottom: 1.2rem;
136+
}
134137
.Nutrition h5{
135138
font-size: 1.3rem;
136139
}
137140

138141
.Nutrition p{
139-
margin-bottom: 1rem;
142+
margin: 1rem 0;
140143
}
141144

142145
table {
@@ -146,18 +149,48 @@ table {
146149
}
147150

148151
table td {
149-
border-bottom: 1px solid black;
152+
border-bottom: 1px solid var(--Light-Grey);
150153
padding: 10px;
151154
}
155+
table td:nth-of-type(1) {
156+
padding-left: 20px;
157+
}
152158

153159
table td:nth-of-type(2) {
154160
color: var(--Nutmeg);
155161
font-weight: 700;
156162
}
163+
164+
table tr:last-of-type td {
165+
border-bottom: none;
166+
}
167+
168+
table tr {
169+
cursor: pointer;
170+
transition: background-color 0.3s ease;
171+
}
172+
173+
table tr:hover{
174+
background-color: var(--Rose-White);
175+
}
176+
177+
footer{
178+
padding: 1rem 1rem 0 1rem;
179+
}
157180
.attribution {
158-
font-size: 11px;
181+
font-size: 0.9rem;
159182
text-align: center;
160183
}
161184
.attribution a {
162-
color: hsl(228, 45%, 44%);
185+
text-decoration: none;
186+
font-style: oblique;
187+
border-radius: 30px;
188+
border-bottom: 1.4px solid var(--Dark-Raspberry);
189+
color:var(--Dark-Raspberry);
190+
}
191+
192+
.attribution a:hover{
193+
color: var(--Nutmeg);
194+
border-bottom: 1.4px solid var(--Nutmeg);
195+
font-weight: 600;
163196
}

0 commit comments

Comments
 (0)