Template:Team:Waterloo/NavBar

From 2009.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 11: Line 11:
<script type="text/javascript">
<script type="text/javascript">
$(function() {
$(function() {
-
$("h1").addClass("ui-corner-all");
+
$("h1, img").addClass("ui-corner-all");
$("h2").addClass("ui-corner-all");
$("h2").addClass("ui-corner-all");
$("#toctitle>h2").removeClass("ui-corner-all");
$("#toctitle>h2").removeClass("ui-corner-all");
$("h3").addClass("ui-corner-all");
$("h3").addClass("ui-corner-all");
 +
$("h4").addClass("ui-corner-all");
$("h1").addClass("ui-state-highlight");
$("h1").addClass("ui-state-highlight");
$("h2").addClass("ui-state-highlight");
$("h2").addClass("ui-state-highlight");
$("#toctitle>h2").removeClass("ui-state-highlight");
$("#toctitle>h2").removeClass("ui-state-highlight");
$("h3").addClass("ui-state-highlight");
$("h3").addClass("ui-state-highlight");
 +
$("h4").addClass("ui-state-default");
-
$("table").addClass("ui-widget-content");
+
$("table, thumb").addClass("ui-widget-content");
-
$("table").addClass("ui-corner-all");
+
$("table, .thumb").addClass("ui-corner-all");
 +
// $(".gallery").removeClass("ui-corner-all");
 +
$(".gallery").removeClass("ui-widget-content");
  $("#titleHeader>table, #toc").removeClass("ui-corner-all");
  $("#titleHeader>table, #toc").removeClass("ui-corner-all");
  $("#titleHeader>table, #toc").removeClass("ui-widget-content");
  $("#titleHeader>table, #toc").removeClass("ui-widget-content");
 +
$("#toc").addClass("ui-state-highlight");
 +
$("#toc").addClass("ui-corner-all");
 +
$("td, th").css("border-style", "hidden");
});
});
Line 31: Line 38:
h1, h2, h3 {
h1, h2, h3 {
     padding: 10px;
     padding: 10px;
-
}
 
-
 
-
.wikitable {
 
-
    padding: 0px;
 
-
    margin: 0px;
 
}
}

Latest revision as of 00:40, 22 October 2009