Commit 5596c812 authored by Andrea Tsai's avatar Andrea Tsai

Updated sidebar to include image icons

parent c5e6282c
...@@ -24,8 +24,8 @@ body { ...@@ -24,8 +24,8 @@ body {
} }
.sidebar { .sidebar {
height: 100%; height: 100%;
position:fixed; position: fixed;
width:265px; width: 265px;
background-color: rgba(196, 196, 196, 1); background-color: rgba(196, 196, 196, 1);
display: grid; display: grid;
grid-template-rows: repeat(16, 6.25vh); grid-template-rows: repeat(16, 6.25vh);
...@@ -35,35 +35,71 @@ body { ...@@ -35,35 +35,71 @@ body {
left:0; left:0;
} }
.sideItem { .sideItem {
grid-template-columns: repeat(2, 12.5vw); display: grid;
grid-template-columns: repeat(4);
text-align: center; text-align: center;
background-color: rgba(104, 104, 104, 1); background-color: rgba(104, 104, 104, 1);
opacity: .8;
transform: none;
}
.sideItem:hover {
opacity: 1;
transition: opacity .5s;
} }
.text { .sideText {
font-family: "Roboto"; font-family: "Roboto";
font-size: 24px; font-size: 24px;
color: white; color: white;
grid-column: 2/3; grid-column: 6/7;
text-align: center;
}
#fridgeIcon {
background-color: white;
clip-path: circle();
height: 100px;
grid-row: 2/6;
grid-column: 1/2;
margin: 10px;
} }
.icon { #recipesIcon {
background-color: white;
clip-path: circle();
height: 100px;
grid-row: 5/9;
grid-column: 1/2; grid-column: 1/2;
margin: 10px;
} }
.circle { #statsIcon {
margin: 5px; background-color: white;
clip-path: circle(); clip-path: circle();
height: 100px;
grid-row: 8/12;
grid-column: 1/2;
margin: 10px;
}
#toBuyIcon {
background-color: white; background-color: white;
clip-path: circle();
height: 100px;
grid-row: 11/15;
grid-column: 1/2;
margin: 10px;
} }
.fridge { .fridge {
grid-row: 3/4; grid-row: 3/4;
grid-column: 1/3;
} }
.recipes { .recipes {
grid-row: 6/7; grid-row: 6/7;
grid-column: 1/3;
} }
.stats { .stats {
grid-row: 9/10; grid-row: 9/10;
grid-column: 1/3;
} }
.toBuy { .toBuy {
grid-row: 12/13; grid-row: 12/13;
grid-column: 1/3;
} }
@font-face { @font-face {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment