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

Line 209: Line 209:
 
.topnav .nav-links-container a:not(.nav-logo) {
 
.topnav .nav-links-container a:not(.nav-logo) {
 
   padding: 14px 16px; /* Might need to change */
 
   padding: 14px 16px; /* Might need to change */
 +
  font-size: calc(12px + (17 - 12) * ((100vw - 800px) / (1600 - 800))) !important;
 
}
 
}
  
Line 1,090: Line 1,091:
  
 
/* When the screen is less than x pixels wide, hide all navbar links. Show the link that should open and close the topnav (.menu-icon). If changing max-width, make sure to change JavaScript dropdown conditions in UCSC/NavBar as well! */
 
/* When the screen is less than x pixels wide, hide all navbar links. Show the link that should open and close the topnav (.menu-icon). If changing max-width, make sure to change JavaScript dropdown conditions in UCSC/NavBar as well! */
@media screen and (max-width: 1300px) {
+
@media screen and (max-width: 1200px) {
 
   .topnav .nav-logo {
 
   .topnav .nav-logo {
 
     margin-left: 5px;
 
     margin-left: 5px;

Revision as of 19:37, 26 September 2018