Difference between revisions of "Team:Vilnius-Lithuania/test/Experiments"

m
(Blanked the page)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Vilnius-Lithuania/menuOverlay}}
 
  
<html>
 
<head>
 
    <link rel="stylesheet" type="text/css" href="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/fonts.css&action=raw&ctype=text/css" />
 
    <link rel="stylesheet" type="text/css" href="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/CSS/ContentPage&action=raw&ctype=text/css" />
 
    <script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/ContentPage&action=raw&ctype=text/javascript"></script>
 
    <link rel="stylesheet" type="text/css" href="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/CSS/Experiments&action=raw&ctype=text/css" />
 
    <style>
 
        .introContainer::before {
 
            background-image: url(https://static.igem.org/mediawiki/2020/d/db/T--Vilnius-Lithuania--milk1.svg);
 
        }
 
    </style>
 
</head>
 
<body>
 
    <div class="introContainer">
 
        <span style="background-image: url(https://static.igem.org/mediawiki/2019/9/9a/T--Vilnius-Lithuania--cover11.jpg);"><div id="image-overlay"></div></span>
 
        <div class="heading"></div>
 
        <div class="heading other"></div>
 
    </div>
 
    <main id="section-text" class="elevate-navbar">
 
        <input id="headingTitleText" type="hidden" value="Experiments"/>
 
<div id="calendaroverlay" class="sideBlockOverlay"></div>
 
        <div id="calendarbutton" class="calendarbutton notshow">Calendar</div>
 
        <div id="calendar" class="sideBlock">
 
            <div class="title">Lab Weekly Calendar</div>
 
            <div class="months" id="calendarMonths"></div>
 
            <div class="days" id="calendarDays">
 
               
 
            </div>
 
        </div>
 
        <script>
 
function closeCalendar(){
 
calendarbutton.innerHTML = "Calendar";
 
calendarbutton.classList.remove("open");
 
calendar.classList.remove("open");
 
calendaroverlay.classList.remove("open");
 
}
 
function openCalendar(){
 
calendarbutton.innerHTML = "Close";
 
calendarbutton.classList.add("open");
 
calendar.classList.add("open");
 
calendaroverlay.classList.add("open");
 
}
 
 
calendaroverlay.onclick = closeCalendar;
 
 
calendarbutton.onclick = () => {
 
if (calendarbutton.classList.contains("open")) {
 
closeCalendar();
 
} else {
 
openCalendar();
 
}
 
};
 
 
const introContainer = document.querySelector(".introContainer");
 
function checkHideCalendarButton(){
 
let calendarButtonTop = calendarbutton.getBoundingClientRect().top;
 
let introContainerBottom = introContainer.getBoundingClientRect().bottom;
 
let footerTop = footerWrapper.getBoundingClientRect().top;
 
 
if (calendarButtonTop < introContainerBottom || calendarButtonTop > footerTop){
 
calendarbutton.classList.add("notshow");
 
}else{
 
calendarbutton.classList.remove("notshow");
 
}
 
}
 
window.addEventListener("resize", checkHideCalendarButton);
 
window.addEventListener("scroll", checkHideCalendarButton);
 
        </script>
 
        <div class="contentBlock">
 
            <div class="content">
 
                <div class="heading">Protocols and Safety</div>
 
                <div class="downloadButton">PDF</div>
 
                <div class="heading">Weekly Summary</div>
 
                <div class="sectionButtons">
 
                    <div id="buttonDetection" class="active">Detection</div>
 
                    <div id="buttonTreatment">Treatment</div>
 
                    <div id="buttonPrevention">Prevention</div>
 
                </div>
 
                <div class="weekName" id="weekName">March 30 - April 5</div>
 
                <div class="weekContent" id="weekContent">Since its inception iGEM has worked to ensure that excellence in synthetic biology goes beyond what happens in the lab. Decisions in science and engineering shape, and are shaped by, the societies we create. Social, political, economic, and ethical aspects of synthetic biology cannot be an afterthought of research and development. Rather, they should be considered from project conception all the way through the innovation process.<br><br>Synthetic biology is not just science or engineering. It is a practice of building life and the societies and environments that support that life. It is a practice that is intimately human, with all our flaws and virtues. This approach is embedded in the values we espouse, including: integrity; good sportsmanship; respect; honesty; celebration; cooperation; effort; and excellence.</div>
 
                <div class="weekButtons">
 
                    <div class="prevButton" id="prevButton"><span>Previous Week</span></div>
 
                    <div class="nextButton" id="nextButton"><span>Next Week</span></div>
 
                </div>
 
            </div>
 
        </div>
 
    </main>
 
    <script>
 
          document.getElementById("fixedOverlay").classList.add("project")
 
    </script>
 
    <script type="text/javascript" src="https://2020.igem.org/wiki/index.php?title=Template:Vilnius-Lithuania/JS/Experiments&action=raw&ctype=text/javascript"></script>
 
</body>
 
</html>
 
{{Vilnius-Lithuania/footer}}
 

Latest revision as of 11:18, 21 October 2020