Difference between revisions of "Template:Stanford-Brown/CSS"

Line 271: Line 271:
 
}
 
}
 
.homeimage{
 
.homeimage{
width: 50%;
+
width: 60%;
margin-left: 25%; /*margin-left + (-)margin-right + max-width = 100% */
+
margin-left: 20%; /*margin-left + (-)margin-right + max-width = 100% */
margin-right: -25%; /*if margin-left = margin-right, will be centered*/
+
margin-right: -20%; /*if margin-left = margin-right, will be centered*/
 
margin-top: 10px;
 
margin-top: 10px;
 
margin-bottom: 0px;
 
margin-bottom: 0px;
Line 281: Line 281:
 
}
 
}
 
.homeimage:active{
 
.homeimage:active{
width: 55%;
+
width: 65%;
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
}
 
}

Revision as of 01:58, 16 October 2016