(178 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 { | ||
+ | font-weight: 900; | ||
+ | font-size: 16px; | ||
+ | } | ||
+ | |||
+ | #HQ_page h1, h2, h3, h4, h5 { | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | } | ||
+ | |||
+ | #HQ_page li { | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | text-align: justify; | ||
+ | font-weight: 300; | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | |||
+ | #HQ_page p { | ||
+ | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; | ||
+ | text-align: justify; | ||
+ | font-weight: 300; | ||
+ | font-size: 15px; | ||
+ | } | ||
body, | body, | ||
Line 37: | Line 89: | ||
h5, | h5, | ||
h6{ | h6{ | ||
− | font-family: " | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
font-weight: 800; | font-weight: 800; | ||
color: white; | color: white; | ||
Line 48: | Line 100: | ||
element.style ul{ | element.style ul{ | ||
− | font-family: " | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
font-weight: 700; | font-weight: 700; | ||
color: white; | color: white; | ||
Line 54: | Line 106: | ||
.topnav { | .topnav { | ||
− | padding-top: | + | padding-top: 15px; |
font-size: 14px; | font-size: 14px; | ||
− | min-height: | + | min-height:60px; |
− | background-color: # | + | background-color: #141414; |
} | } | ||
Line 69: | Line 121: | ||
padding-bottom: 50px; | padding-bottom: 50px; | ||
text-align: center; | text-align: center; | ||
− | color: # | + | color: #141414; |
background: url(../img/intro-bg.jpg) no-repeat center center; | background: url(../img/intro-bg.jpg) no-repeat center center; | ||
background-size: cover; | background-size: cover; | ||
Line 78: | Line 130: | ||
padding-bottom: 50px; | padding-bottom: 50px; | ||
text-align: center; | text-align: center; | ||
− | color: # | + | color: #141414; |
background: url(../img/intro2-bg.jpg) no-repeat center center; | background: url(../img/intro2-bg.jpg) no-repeat center center; | ||
background-size: cover; | background-size: cover; | ||
Line 84: | Line 136: | ||
.intro-header3 { | .intro-header3 { | ||
− | + | padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */ | |
− | padding-bottom: | + | padding-bottom: 50px; |
text-align: center; | text-align: center; | ||
color: #083F54; | color: #083F54; | ||
− | background: url(../ | + | background-image: url("https://static.igem.org/mediawiki/2017/3/3e/UCopenhagen_Wallpaper1_narrow.png"); |
− | background- | + | background-repeat; |
} | } | ||
.intro-header4 { | .intro-header4 { | ||
− | padding-top: 50px; | + | padding-top: 50px; |
padding-bottom: 50px; | padding-bottom: 50px; | ||
− | text-align: center; | + | /* text-align: center; */ |
− | color: | + | color: white; |
− | background-image: url( | + | background-image: url(https://static.igem.org/mediawiki/2017/3/3e/UCopenhagen_Wallpaper1_narrow.png); |
− | + | font-family: Helvetica; | |
+ | font-weight: 200; | ||
+ | font-size: 12px; | ||
} | } | ||
Line 160: | Line 214: | ||
.content-section-a { | .content-section-a { | ||
− | padding: | + | border: url("https://static.igem.org/mediawiki/2017/3/3e/UCopenhagen_Wallpaper1_narrow.png"); |
− | background-color: # | + | padding: 30px 0; |
+ | background-color: #083F54; | ||
+ | margin: 30px; | ||
} | } | ||
.content-section-b { | .content-section-b { | ||
− | padding: | + | border: url("https://static.igem.org/mediawiki/2017/3/3e/UCopenhagen_Wallpaper1_narrow.png"); |
− | background-color: # | + | padding: 30px 0; |
− | + | background-color: #055A3A; | |
− | + | margin: 30px; | |
} | } | ||
Line 177: | Line 233: | ||
.section-heading-spacer { | .section-heading-spacer { | ||
float: left; | float: left; | ||
+ | width: 200px; | ||
+ | border-top: 3px solid #fff1cd; | ||
+ | } | ||
+ | |||
+ | .section-heading-spacer2 { | ||
+ | float: center; | ||
width: 200px; | width: 200px; | ||
border-top: 3px solid #fff1cd; | border-top: 3px solid #fff1cd; | ||
Line 206: | Line 268: | ||
ul.banner-social-buttons { | ul.banner-social-buttons { | ||
float: left; | float: left; | ||
− | margin-top: | + | margin-top: 35px; |
} | } | ||
} | } | ||
Line 239: | Line 301: | ||
/* Dropdown Button */ | /* Dropdown Button */ | ||
.dropbtn { | .dropbtn { | ||
− | background-color: # | + | background-color: #141414; |
color: white; | color: white; | ||
padding: 16px; | padding: 16px; | ||
− | font-family: " | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
font-size: 14px; | font-size: 14px; | ||
border: none; | border: none; | ||
Line 282: | Line 344: | ||
/* Change the background color of the dropdown button when the dropdown content is shown */ | /* Change the background color of the dropdown button when the dropdown content is shown */ | ||
.dropdown:hover .dropbtn { | .dropdown:hover .dropbtn { | ||
− | background-color: # | + | background-color: #083F54; |
color: white; | color: white; | ||
} | } | ||
Line 290: | Line 352: | ||
padding-bottom: 50px; | padding-bottom: 50px; | ||
text-align: center; | text-align: center; | ||
− | color: # | + | color: #141414; |
} | } | ||
Line 304: | Line 366: | ||
#bg-video { | #bg-video { | ||
background: url('https://static.igem.org/mediawiki/2017/d/dc/UCopenhagen_bg.mp4') no-repeat; | background: url('https://static.igem.org/mediawiki/2017/d/dc/UCopenhagen_bg.mp4') no-repeat; | ||
− | background-size: | + | background-size: initial; |
position: fixed; | position: fixed; | ||
z-index: -1; | z-index: -1; | ||
left: 50%; | left: 50%; | ||
− | + | max-width: 100%; | |
− | + | ||
width: auto; | width: auto; | ||
height: auto; | height: auto; | ||
Line 351: | Line 412: | ||
.img-responsive{ | .img-responsive{ | ||
align-content: center; | align-content: center; | ||
− | width: | + | width:600px; |
− | height: | + | height:300px; |
} | } | ||
.img-responsive1{ | .img-responsive1{ | ||
− | width: | + | align-content: center; |
− | height: | + | width:300px; |
+ | 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 431: | Line 495: | ||
margin-bottom: 0; | margin-bottom: 0; | ||
border-bottom: 0px solid rgba(255, 255, 255, 0.3); | border-bottom: 0px solid rgba(255, 255, 255, 0.3); | ||
− | font-family: " | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
background-color: black; | background-color: black; | ||
} | } | ||
Line 444: | Line 508: | ||
} | } | ||
.scrollnav-custom .scrollnav-brand { | .scrollnav-custom .scrollnav-brand { | ||
− | font-weight: | + | font-weight: 800; |
} | } | ||
.scrollnav-custom .scrollnav-brand img { | .scrollnav-custom .scrollnav-brand img { | ||
− | height: | + | height: 30px; |
} | } | ||
.scrollnav-custom .scrollnav-brand:focus { | .scrollnav-custom .scrollnav-brand:focus { | ||
Line 483: | Line 547: | ||
.scrollnav-custom { | .scrollnav-custom { | ||
padding: 0; | padding: 0; | ||
− | + | background: #141414; | |
− | background: # | + | border-bottom: 0px solid rgba(255, 255, 255, 0.3); |
− | border-bottom: | + | font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif; |
+ | min-height:30px; | ||
+ | |||
} | } | ||
} | } | ||
Line 513: | Line 579: | ||
/* Some left and right padding inside the container */ | /* Some left and right padding inside the container */ | ||
− | .container { | + | .container{ |
padding: 0 16px; | padding: 0 16px; | ||
} | } | ||
Line 525: | Line 591: | ||
.title { | .title { | ||
− | color: | + | color: #838383; |
} | } | ||
Line 534: | Line 600: | ||
padding: 8px; | padding: 8px; | ||
color: black; | color: black; | ||
− | background-color: #; | + | background-color: #141414; |
text-align: center; | text-align: center; | ||
cursor: pointer; | cursor: pointer; | ||
Line 565: | Line 631: | ||
.team-img { | .team-img { | ||
width:400px; | width:400px; | ||
− | height: | + | height:400px; |
} | } | ||
+ | |||
+ | #globalWrapper { | ||
+ | position: relative; | ||
+ | font-size: 100%; | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
+ | |||
+ | .navbar-default { | ||
+ | background-color: #141414; | ||
+ | border-color: #141414; | ||
+ | } | ||
+ | |||
+ | #bodyContent a[href ^="https://"], .link-https { | ||
+ | padding-right: 16px; | ||
+ | background: white; | ||
+ | color: #333; | ||
+ | } | ||
+ | |||
+ | .carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img { | ||
+ | display: block; | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | #HQ_page td { | ||
+ | padding: 10px; | ||
+ | border: 1px solid #ccc; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | background-color: white; | ||
+ | font-family: Helvetica; | ||
+ | font-weight: 300; | ||
+ | } | ||
+ | |||
+ | #HQ_page th { | ||
+ | background-color: #f2f2f2; | ||
+ | padding: 10px; | ||
+ | color: black; | ||
+ | border: 1px solid #ccc; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | font-family: Helvetica; | ||
+ | font-weight: 501; | ||
+ | } | ||
+ | |||
+ | button, input, select, textarea { | ||
+ | font-family: Helvetica; | ||
+ | font-size: inherit; | ||
+ | background-color: black; | ||
+ | line-height: inherit; | ||
+ | } | ||
+ | |||
+ | caption { | ||
+ | padding-top: 8px; | ||
+ | padding-bottom: 8px; | ||
+ | color: white; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | /** LIGHTBOX MARKUP **/ | ||
+ | |||
+ | .lightbox { | ||
+ | /** Default lightbox to hidden */ | ||
+ | display: none; | ||
+ | |||
+ | /** Position and style */ | ||
+ | position: fixed; | ||
+ | z-index: 999; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | text-align: center; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | background: rgba(0,0,0,0.8); | ||
+ | } | ||
+ | |||
+ | .lightbox img { | ||
+ | /** Pad the lightbox image */ | ||
+ | max-width: 90%; | ||
+ | max-height: 80%; | ||
+ | margin-top: 5%; | ||
+ | } | ||
+ | |||
+ | .lightbox:target { | ||
+ | /** Remove default browser outline */ | ||
+ | outline: none; | ||
+ | |||
+ | /** Unhide lightbox **/ | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .fblogo { | ||
+ | display: inline-block; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | height: 200px; | ||
+ | } | ||
+ | |||
+ | #images{ | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover { | ||
+ | color: #fff; | ||
+ | background-color: #083F54; | ||
+ | } | ||
+ | |||
+ | #sidebar { | ||
+ | width: 190px; | ||
+ | position: fixed; | ||
+ | margin-right: 410px; | ||
+ | } | ||
+ | |||
+ | .ui-widget { | ||
+ | border: 1px solid black; | ||
+ | |||
+ | } | ||
+ | |||
+ | .ui-tooltip, .arrow:after { | ||
+ | background: white; | ||
+ | border: 1px solid white; | ||
+ | } | ||
+ | .ui-tooltip { | ||
+ | padding: 10px 20px; | ||
+ | color: black; | ||
+ | border-radius: 2px; | ||
+ | font: bold 14px "Helvetica Neue", Sans-Serif; | ||
+ | text-transform: uppercase; | ||
+ | box-shadow: 0 0 1px black; | ||
+ | border: 1px solid white !important; | ||
+ | } | ||
+ | .arrow { | ||
+ | width: 70px; | ||
+ | height: 16px; | ||
+ | overflow: hidden; | ||
+ | position: absolute; | ||
+ | left: 50%; | ||
+ | margin-left: -35px; | ||
+ | bottom: -17px; | ||
+ | } | ||
+ | .arrow.top { | ||
+ | top: -17px; | ||
+ | bottom: auto; | ||
+ | } | ||
+ | .arrow.left { | ||
+ | left: 20%; | ||
+ | } | ||
+ | .arrow:after { | ||
+ | content: ""; | ||
+ | position: absolute; | ||
+ | left: 20px; | ||
+ | top: -20px; | ||
+ | width: 25px; | ||
+ | height: 25px; | ||
+ | box-shadow: 0 0 1px black; | ||
+ | -webkit-transform: rotate(45deg); | ||
+ | -moz-transform: rotate(45deg); | ||
+ | -ms-transform: rotate(45deg); | ||
+ | -o-transform: rotate(45deg); | ||
+ | transform: rotate(45deg); | ||
+ | } | ||
+ | .arrow.top:after { | ||
+ | bottom: -20px; | ||
+ | top: auto; | ||
+ | } | ||
+ | .hidden { | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | |||
+ | .fireTip { | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | |||
+ | .cart { | ||
+ | overflow:hidden; | ||
+ | padding:10px 3px; | ||
+ | background: yellow; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 603: | Line 851: | ||
$(".navbar-collapse").collapse('hide'); | $(".navbar-collapse").collapse('hide'); | ||
}); | }); | ||
+ | |||
+ | function showhide(id) { | ||
+ | var e = document.getElementById(id); | ||
+ | e.style.display = (e.style.display == 'block') ? 'none' : 'block'; | ||
+ | } | ||
+ | |||
+ | $(function() { | ||
+ | |||
+ | var $sidebar = $("#sidebar"), | ||
+ | $window = $(window), | ||
+ | offset = $sidebar.offset(), | ||
+ | topPadding = 15; | ||
+ | |||
+ | $window.scroll(function() { | ||
+ | if ($window.scrollTop() > offset.top) { | ||
+ | $sidebar.stop().animate({ | ||
+ | marginTop: $window.scrollTop() - offset.top + topPadding | ||
+ | }); | ||
+ | } else { | ||
+ | $sidebar.stop().animate({ | ||
+ | marginTop: 0 | ||
+ | }); | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | $(window).load(function() { | ||
+ | $('li.notebook').addClass('active'); | ||
+ | $('li.n_over').addClass('active'); | ||
+ | |||
+ | $(".affix").css("width", $("#parent").width()); | ||
+ | }); | ||
+ | |||
+ | $(window).scroll(function() { | ||
+ | $(".affix").css("width", $("#parent").width()); | ||
+ | }); | ||
+ | |||
+ | $(window).resize(function() { | ||
+ | $(".affix").css("width", $("#parent").width()); | ||
+ | }); | ||
+ | |||
+ | |||
+ | $(function() { | ||
+ | $( document ).tooltip({ | ||
+ | items: "input", | ||
+ | content: function() { | ||
+ | return $('.myPopover').html(); | ||
+ | }, | ||
+ | position: { | ||
+ | my: "center bottom-20", | ||
+ | at: "center top", | ||
+ | using: function( position, feedback ) { | ||
+ | $( this ).css( position ); | ||
+ | $( "<div>" ) | ||
+ | .addClass( "arrow" ) | ||
+ | .addClass( feedback.vertical ) | ||
+ | .addClass( feedback.horizontal ) | ||
+ | .appendTo( this ); | ||
+ | } | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | $('.fireTip').click(function () { | ||
+ | if(!$(this).hasClass('open')) { | ||
+ | $('#age').trigger('mouseover'); | ||
+ | $(this).addClass('open'); | ||
+ | } else { | ||
+ | $('#age').trigger('mouseout'); | ||
+ | $(this).removeClass('open'); | ||
+ | } | ||
+ | |||
+ | }) | ||
+ | |||
+ | }); | ||
+ | |||
+ | $(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 641: | 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 663: | Line 1,028: | ||
<a href="https://2017.igem.org/Team:UCopenhagen/HP"><button class="dropbtn">Human Practices</button></a> | <a href="https://2017.igem.org/Team:UCopenhagen/HP"><button class="dropbtn">Human Practices</button></a> | ||
<div class="dropdown-content"> | <div class="dropdown-content"> | ||
− | <a href="https://2017.igem.org/Team:UCopenhagen/HP">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/ | + | <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/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