Commit acbe068d authored by Andrea Tsai's avatar Andrea Tsai

Updated css of sidebar scaling and subheader

parent 6caed8e0
...@@ -19,16 +19,20 @@ body { ...@@ -19,16 +19,20 @@ body {
.lowerPage { .lowerPage {
width: 100vw; width: 100vw;
display: grid; display: grid;
grid-template-columns: repeat(6, 16.67vw); grid-template-columns: repeat(6, 25vw);
grid-template-rows: 12.5vh 87.5vh;
text-align: left; text-align: left;
position: fixed;
background-color: white;
} }
.sidebar { .sidebar {
height: 100%; height: 100%;
position: fixed; position: fixed;
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);
grid-template-columns: repeat(2, 12.5vw);
grid-column: 1/2; grid-column: 1/2;
z-index:1; z-index:1;
...@@ -36,10 +40,9 @@ body { ...@@ -36,10 +40,9 @@ body {
} }
.sideItem { .sideItem {
display: grid; 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; opacity: 0.8;
transform: none; transform: none;
} }
.sideItem:hover { .sideItem:hover {
...@@ -50,38 +53,38 @@ body { ...@@ -50,38 +53,38 @@ body {
font-family: "Roboto"; font-family: "Roboto";
font-size: 24px; font-size: 24px;
color: white; color: white;
grid-column: 6/7; grid-column: 2/3;
text-align: center; text-align: center;
} }
#fridgeIcon { #fridgeIcon {
background-color: white; background-color: white;
clip-path: circle(); clip-path: circle();
height: 100px; height: 15vh;
grid-row: 2/6; grid-row: 1/6;
grid-column: 1/2; grid-column: 1/2;
margin: 10px; margin: 10px;
} }
#recipesIcon { #recipesIcon {
background-color: white; background-color: white;
clip-path: circle(); clip-path: circle();
height: 100px; height: 15vh;
grid-row: 5/9; grid-row: 4/9;
grid-column: 1/2; grid-column: 1/2;
margin: 10px; margin: 10px;
} }
#statsIcon { #statsIcon {
background-color: white; background-color: white;
clip-path: circle(); clip-path: circle();
height: 100px; height: 15vh;
grid-row: 8/12; grid-row: 7/12;
grid-column: 1/2; grid-column: 1/2;
margin: 10px; margin: 10px;
} }
#toBuyIcon { #toBuyIcon {
background-color: white; background-color: white;
clip-path: circle(); clip-path: circle();
height: 100px; height: 15vh;
grid-row: 11/15; grid-row: 10/15;
grid-column: 1/2; grid-column: 1/2;
margin: 10px; margin: 10px;
} }
...@@ -102,10 +105,51 @@ body { ...@@ -102,10 +105,51 @@ body {
grid-column: 1/3; grid-column: 1/3;
} }
.pageSubhead {
grid-column: 2/7;
grid-row: 1/2;
background-color: white;
display: grid;
grid-template-columns: 3vw repeat(6, 15.67vw) 3vw;
}
.subheader {
font-family: "Roboto Medium";
font-size: 10vh;
grid-column: 2/3;
text-align: center;
}
.addItem {
font-family: "Roboto Medium";
font-size: 18px;
grid-column: 3/5;
margin-top: 40px;
margin-left: 54px;
text-align: center;
}
.changeView {
font-family: "Roboto Medium";
font-size: 14px;
grid-column: 5/7;
margin-top: 40px;
text-align: center;
}
.listView {
grid-column: 2/7;
grid-row: 2/3;
background-color: white;
display: grid;
}
@font-face { @font-face {
font-family: Roboto Bold; font-family: Roboto Bold;
src: url(Roboto-Bold.ttf); src: url(Roboto-Bold.ttf);
} }
@font-face {
font-family: Roboto Medium;
src: url(Roboto-Medium.ttf);
}
@font-face { @font-face {
font-family: Roboto; font-family: Roboto;
src: url(Roboto-Regular.ttf); src: url(Roboto-Regular.ttf);
......
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