Difference between revisions of "Template:NYMU-Taipei-css"

Line 87: Line 87:
 
display: none; /* Hidden by default */
 
display: none; /* Hidden by default */
 
position: fixed; /* Fixed/sticky position */
 
position: fixed; /* Fixed/sticky position */
bottom: 1.2vw; /* Place the button at the bottom of the page */
+
bottom: 2vw; /* Place the button at the bottom of the page */
right: 1.8vw; /* Place the button 30px from the right */
+
right: 2vw; /* Place the button 30px from the right */
 
z-index: 99; /* Make sure it does not overlap */
 
z-index: 99; /* Make sure it does not overlap */
 
border: none; /* Remove borders */
 
border: none; /* Remove borders */
Line 95: Line 95:
 
color: white; /* Text color */
 
color: white; /* Text color */
 
cursor: pointer; /* Add a mouse pointer on hover */
 
cursor: pointer; /* Add a mouse pointer on hover */
padding: 2vw; /* Some padding */
+
padding: 2.2vw; /* Some padding */
 
border-radius: 10px; /* Rounded corners */
 
border-radius: 10px; /* Rounded corners */
 
}
 
}

Revision as of 17:21, 3 October 2017