(32 intermediate revisions by 2 users not shown) | |||
Line 23: | Line 23: | ||
/***************************************************** CUSTOM WIKI SETTINGS ****************************************************/ | /***************************************************** CUSTOM WIKI SETTINGS ****************************************************/ | ||
+ | |||
+ | #bodyContent a[href ^="https://"], .link-https { | ||
+ | padding-right: 16px; | ||
+ | color: white; !important! | ||
+ | } | ||
+ | |||
+ | a:hover { | ||
+ | color: white; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | color: white; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #bodyContent a[href ^="http://"], #bodyContent a[href ^="gopher://"] { | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | #bodyContent a[href ^="https://"], .link-https { | ||
+ | padding-right: 16px; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: white; | ||
+ | text-decoration: underline; | ||
+ | } | ||
b, strong { | b, strong { | ||
Line 390: | Line 419: | ||
align-content: center; | align-content: center; | ||
width:300px; | width:300px; | ||
− | height: | + | height:495px; |
} | } | ||
.img-responsive2{ | .img-responsive2{ | ||
− | + | align-content: center; | |
− | height: | + | width:400px; |
+ | height:400px; | ||
+ | transform: rotate(90deg); | ||
} | } | ||
.img-responsive3{ | .img-responsive3{ | ||
− | width: | + | width:500px; |
− | height: | + | height:350px; |
} | } | ||
Line 600: | Line 631: | ||
.team-img { | .team-img { | ||
width:400px; | width:400px; | ||
− | height: | + | height:400px; |
} | } | ||
Line 718: | Line 749: | ||
} | } | ||
− | .ui-widget { | + | .ui-widget { |
− | + | border: 1px solid black; | |
} | } | ||
− | .ui-tooltip, .arrow:after { | + | .ui-tooltip, .arrow:after { |
background: white; | background: white; | ||
border: 1px solid white; | border: 1px solid white; | ||
} | } | ||
− | + | .ui-tooltip { | |
− | .ui-tooltip { | + | |
padding: 10px 20px; | padding: 10px 20px; | ||
color: black; | color: black; | ||
Line 737: | Line 767: | ||
border: 1px solid white !important; | border: 1px solid white !important; | ||
} | } | ||
− | .arrow { | + | .arrow { |
width: 70px; | width: 70px; | ||
height: 16px; | height: 16px; | ||
Line 746: | Line 776: | ||
bottom: -17px; | bottom: -17px; | ||
} | } | ||
− | .arrow.top { | + | .arrow.top { |
top: -17px; | top: -17px; | ||
bottom: auto; | bottom: auto; | ||
} | } | ||
− | .arrow.left { | + | .arrow.left { |
left: 20%; | left: 20%; | ||
} | } | ||
− | .arrow:after { | + | .arrow:after { |
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
Line 767: | Line 797: | ||
transform: rotate(45deg); | transform: rotate(45deg); | ||
} | } | ||
− | .arrow.top:after { | + | .arrow.top:after { |
bottom: -20px; | bottom: -20px; | ||
top: auto; | top: auto; | ||
} | } | ||
− | .hidden { | + | .hidden { |
visibility: hidden; | visibility: hidden; | ||
} | } | ||
− | .fireTip { | + | .fireTip { |
margin-left: 0px; | margin-left: 0px; | ||
} | } | ||
− | + | .cart { | |
− | + | overflow:hidden; | |
− | + | padding:10px 3px; | |
− | + | background: yellow; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</style> | </style> | ||
Line 902: | Line 925: | ||
}); | }); | ||
+ | |||
+ | $(document).ready(function(){ | ||
+ | $("#masterclass-popover").popover({ | ||
+ | html : true, | ||
+ | placement: 'bottom', | ||
+ | title: $("#masterclass-popover-head").html(), | ||
+ | content: $("#masterclass-popover-content").html() | ||
+ | }); | ||
+ | |||
+ | $("small.download-notice a").click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | $(document).on("click", ".tooltip", function() { | ||
+ | $(this).tooltip( | ||
+ | { | ||
+ | items: ".tooltip", | ||
+ | content: function(){ | ||
+ | return $(this).data('description'); | ||
+ | }, | ||
+ | close: function( event, ui ) { | ||
+ | var me = this; | ||
+ | ui.tooltip.hover( | ||
+ | function () { | ||
+ | $(this).stop(true).fadeTo(400, 1); | ||
+ | }, | ||
+ | function () { | ||
+ | $(this).fadeOut("400", function(){ | ||
+ | $(this).remove(); | ||
+ | }); | ||
+ | } | ||
+ | ); | ||
+ | ui.tooltip.on("remove", function(){ | ||
+ | $(me).tooltip("destroy"); | ||
+ | }); | ||
+ | }, | ||
+ | } | ||
+ | ); | ||
+ | $(this).tooltip("open"); | ||
+ | }); | ||
</script> | </script> | ||
Line 941: | Line 1,005: | ||
<li> | <li> | ||
<div class="dropdown"> | <div class="dropdown"> | ||
− | <a href="https://2017.igem.org/Team:UCopenhagen/Safety"><button class="dropbtn">Safety</button></a> | + | <a href="https://2017.igem.org/Team:UCopenhagen/Safety"><button class="dropbtn">Safety & Labnotes</button></a> |
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/Safety">Safety</a> | <a href="https://2017.igem.org/Team:UCopenhagen/Safety">Safety</a> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/Notebook">Notebook</a> | <a href="https://2017.igem.org/Team:UCopenhagen/Notebook">Notebook</a> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/Protocols">Protocols</a> | <a href="https://2017.igem.org/Team:UCopenhagen/Protocols">Protocols</a> | ||
+ | <a href="https://2017.igem.org/Team:UCopenhagen/Improve">Improve</a> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 964: | Line 1,029: | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/HP/Silver">Overview</a> | <a href="https://2017.igem.org/Team:UCopenhagen/HP/Silver">Overview</a> | ||
− | |||
<a href="https://2017.igem.org/Team:UCopenhagen/HP/Ethics">Ethics</a> | <a href="https://2017.igem.org/Team:UCopenhagen/HP/Ethics">Ethics</a> | ||
+ | <a href="https://2017.igem.org/Team:UCopenhagen/HP/Gold_Integrated">Integrated</a> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/HP/Events">Events</a> | <a href="https://2017.igem.org/Team:UCopenhagen/HP/Events">Events</a> | ||
<a href="https://2017.igem.org/Team:UCopenhagen/HP/Media">Media</a> | <a href="https://2017.igem.org/Team:UCopenhagen/HP/Media">Media</a> | ||
</div> | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
</li> | </li> |
Latest revision as of 03:57, 2 November 2017