Difference between revisions of "Team:UCSC/TestingPage"

(Replaced content with "{{UCSC-Styles}} <html> <head> <meta charset="utf-8"> <title>iGEM Page In Progress</title> </head> <body> <div class="workInProgress">...")
Line 1: Line 1:
 +
{{UCSC-Styles}}
 +
 
<html>
 
<html>
 
     <head>
 
     <head>
Line 11: Line 13:
 
         </div>
 
         </div>
 
     </body>
 
     </body>
 
<style>
 
 
/* Define main theme variables */
 
body {
 
    background-color: #515151;
 
}
 
 
:root {
 
    --main-bg-color: #0C5798;
 
    --hover-bg-color: #8F8F8F;
 
    --active-bg-color: #084172;
 
 
    --main-txt-color: #F0AE2F;
 
    --hover-txt-color: #F0AE2F;
 
    --active-txt-color: #0C5798;
 
 
    /*--div-border-radius: 20px;*/
 
}
 
 
div, dropdown {
 
    background-color: var(--main-bg-color);
 
    border-radius: var(--div-border-radius);
 
}
 
 
p {
 
    color: var(--main-txt-color);
 
}
 
 
/*-----NAV BAR THEME-----*/
 
 
/* Add the background color to the top navigation */
 
.topnav {
 
    overflow: hidden;
 
    margin: -10px;
 
    margin-bottom: 0px;
 
}
 
 
/* Style the links inside the navigation bar */
 
.topnav a {
 
    float: left;
 
    display: block;
 
    color: var(--main-txt-color);
 
    text-align: center;
 
    padding: 14px 16px;
 
    text-decoration: none;
 
    font-size: 17px;
 
}
 
 
/* Add an active class to highlight the current page */
 
.active {
 
    background-color: var(--active-bg-color);
 
    color: white;
 
}
 
 
.topnav a:hover {
 
    border-radius: 0px;
 
}
 
 
.topnav div div > :first-child:hover {
 
    border-top-right-radius: var(--div-border-radius);
 
}
 
 
.topnav div div > :last-child:hover {
 
    border-bottom-left-radius: var(--div-border-radius);
 
    border-bottom-right-radius: var(--div-border-radius);
 
}
 
 
/* Hide the link that should open and close the topnav on small screens */
 
.topnav .icon {
 
    display: none;
 
}
 
 
/* Dropdown container - needed to position the dropdown content */
 
.dropdown {
 
    float: left;
 
    overflow: hidden;
 
    border-radius: 0px;
 
    background-color: inherit;
 
}
 
 
/* Style the dropdown button to fit inside the topnav */
 
.dropdown .dropbtn {
 
    font-size: 17px;
 
    border: none;
 
    outline: none;
 
    color: var(--main-txt-color);
 
    /*color: red;*/
 
    /*padding: 14px 16px;*/
 
    background-color: inherit;
 
    font-family: inherit;
 
    margin: 0;
 
}
 
 
/* Style the dropdown content (hidden by default) */
 
.dropdown-content {
 
    display: none;
 
    border-top-left-radius: 0px;
 
    position: absolute;
 
    min-width: 160px;
 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
    z-index: 1;
 
}
 
 
/* Style the links inside the dropdown */
 
.dropdown-content a {
 
    float: none;
 
    color: var(--main-txt-color);
 
    padding: 12px 16px;
 
    text-decoration: none;
 
    display: block;
 
    text-align: left;
 
}
 
 
/* Add a dark background on topnav links and the dropdown button on hover */
 
.topnav a:hover, .dropdown:hover .dropbtn {
 
    background-color: var(--hover-bg-color);
 
    color: var(--hover-txt-color);
 
}
 
 
/* Add a grey background to dropdown links on hover */
 
.dropdown-content a:hover {
 
    background-color: var(--hover-bg-color);
 
    color: var(--hover-txt-color);
 
}
 
 
/* Show the dropdown menu when the user moves the mouse over the dropdown button */
 
.dropdown:hover .dropdown-content {
 
    display: block;
 
}
 
 
/*-----PAGE IN PROGRESS-----*/
 
 
.workInProgress {
 
    margin: 25px;
 
    border-radius: 10px;
 
    /*border-style: dashed;
 
    border-color: var(--hover-bg-color);
 
    border-width: medium;*/
 
    padding: 10px;
 
    background-color: var(--main-bg-color);
 
    align-content: center;
 
    align-items: center;
 
    align-self: center;
 
}
 
 
.workInProgress:hover {
 
    background-color: green;
 
}
 
 
.workInProgress p {
 
    text-align: center;
 
    font-size: 2vw;
 
}
 
 
/*-----SCREEN RESPONSIVENESS (MOBILE VERSION)-----*/
 
 
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
 
@media screen and (max-width: 600px) {
 
    .topnav {
 
        background-color: var(--active-bg-color);
 
    }
 
  .topnav :not(:first-child) {display: none;}
 
  .topnav .icon {
 
    float: right;
 
    display: block;
 
  }
 
}
 
 
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
 
@media screen and (max-width: 600px) {
 
  .topnav.responsive {
 
      position: relative;
 
      background-color: var(--main-bg-color);
 
  }
 
  .topnav.responsive a.icon {
 
    position: absolute;
 
    right: 0;
 
    top: 0;
 
  }
 
  .topnav.responsive a {
 
    float: none;
 
    display: block;
 
    text-align: left;
 
  }
 
  .topnav.responsive .dropdown {float: none;}
 
  .topnav.responsive .dropdown-content {position: relative;}
 
  .topnav.responsive .dropdown .dropbtn {
 
    display: block;
 
    width: 100%;
 
    text-align: left;
 
  }
 
 
  .workInProgress p {
 
      text-align: center;
 
      font-size: 5vw;
 
  }
 
}
 
 
</style>
 
 
 
</html>
 
</html>

Revision as of 19:11, 31 May 2018

Template:UCSC-Styles

iGEM Page In Progress

Hello! Thank you for visiting our website. This page is currently being developed, but check back for updates!