Difference between revisions of "Template:Tartu TUIT"

Line 132: Line 132:
 
               if (url == (this.href)) {
 
               if (url == (this.href)) {
 
                 $(this).closest("div").addClass("project-menu-item-active");
 
                 $(this).closest("div").addClass("project-menu-item-active");
 +
              }
 +
          });
 +
$(".hp-menu a").each(function() {
 +
              if (url == (this.href)) {
 +
                $(this).closest("div").addClass("hp-menu-item-active");
 
               }
 
               }
 
           });
 
           });
Line 555: Line 560:
 
   border-color: transparent;
 
   border-color: transparent;
 
   display: inline-block;
 
   display: inline-block;
 +
  padding: 13px 25px;
 
   font-size: 16px;
 
   font-size: 16px;
 
   font-weight: bold;
 
   font-weight: bold;
Line 563: Line 569:
 
.project-menu-item a,
 
.project-menu-item a,
 
.hp-menu-item a {
 
.hp-menu-item a {
  padding: 13px 25px;
 
 
   color: inherit!important;
 
   color: inherit!important;
 
   /* blue colors for links too */
 
   /* blue colors for links too */
Line 922: Line 927:
 
}
 
}
 
.project-background-references {
 
.project-background-references {
   padding-right: 30%;
+
   padding-right: 30%!important;
 
}
 
}
 
.project-results-header {
 
.project-results-header {
Line 1,137: Line 1,142:
 
   }
 
   }
 
}
 
}
 +
  
  

Revision as of 13:30, 31 October 2017