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

Line 335: Line 335:
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 
}
 
}
 +
 +
.homeimage2{
 +
width: 50%;
 +
margin-left: 25%; /*margin-left + (-)margin-right + max-width = 100% */
 +
margin-right: -25%; /*if margin-left = margin-right, will be centered*/
 +
margin-top: 10px;
 +
margin-bottom: 0px;
 +
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
 +
border-radius:250px;
 +
border:1px solid #dceaff;
 +
}
 +
.homeimage2:active{
 +
width: 50%;
 +
margin-left: 25%; /*margin-left + (-)margin-right + max-width = 100% */
 +
margin-right: -25%; /*if margin-left = margin-right, will be centered*/
 +
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.8);
 +
}
 +
 
.buttonlabel{
 
.buttonlabel{
 
text-align: center;
 
text-align: center;

Revision as of 03:32, 17 October 2016