Difference between revisions of "Team:UCSC/CSS-2"

Line 417: Line 417:
 
   display: block;
 
   display: block;
 
/*  padding: calc((100vh - 150px - 20px*10)/(2*11)) 1em; */
 
/*  padding: calc((100vh - 150px - 20px*10)/(2*11)) 1em; */
   padding: calc((100vh - (150px + 84px) - 30px*9)/(2*9)) 1em; /* In Style of page, replace "9"s with number of items in list */ /* calc((viewportHeight - (spaceAboveFirstItem + footerHeight) - heightOfTextAndSpaces*numberOfItems)/(twoPaddings*numberOfItems)) */
+
   padding: calc((100vh - (150px + 84px) - 30px*5)/(2*5)) 1em; /* In Style of page, replace "9"s with number of items in list */ /* calc((viewportHeight - (spaceAboveFirstItem + footerHeight) - heightOfTextAndSpaces*numberOfItems)/(twoPaddings*numberOfItems)) */
 
   border-radius: 7px;
 
   border-radius: 7px;
 
/*  background-color: var(--main-div-color, #545454); */
 
/*  background-color: var(--main-div-color, #545454); */

Revision as of 00:59, 20 September 2018