Difference between revisions of "Template:Peking/NavBar"

 
(35 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
         /* Clear the default wiki settings */
 
         /* Clear the default wiki settings */
  
         #home_logo, #sideMenu { display:none; }
+
         #home_logo, #sideMenu {
         #sideMenu, #top_title, .patrollink {display:none;}
+
            display: none;
         #content { width:100%; padding:0px; margin-top:-7px; margin-left:0px;}
+
        }
         body {background-color:white; }
+
 
         #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
+
         #sideMenu, #top_title, .patrollink {
 +
            display: none;
 +
        }
 +
 
 +
         #content {
 +
            width: 100%;
 +
            padding: 0px;
 +
            margin-top: -7px;
 +
            margin-left: 0px;
 +
        }
 +
 
 +
         body {
 +
            background-color: white;
 +
        }
 +
 
 +
         #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 {
 +
            margin-bottom: 0px;
 +
        }
  
 
     </style>
 
     </style>
  
 
     <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
 
     <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
 +
    <script type="text/javascript" src="https://2017.igem.org/Template:Peking/mdl/materialminjs?
 +
action=raw&ctype=text/javascript"></script>
 +
    <link href="https://2017.igem.org/Template:Peking/mdl/component?action=raw&ctype=text/css" rel="stylesheet">
 +
    <script type="text/javascript"
 +
            src="https://2017.igem.org/Template:Peking/mdl/componentjs?action=raw&ctype=text/javascript"></script>
  
 
     <link rel="stylesheet" type="text/css"
 
     <link rel="stylesheet" type="text/css"
 
           href="https://2017.igem.org/Template:Peking/mdl/MDLnew?action=raw&ctype=text/css">
 
           href="https://2017.igem.org/Template:Peking/mdl/MDLnew?action=raw&ctype=text/css">
  
    <script type="text/javascript" src="https://2017.igem.org/Template:Peking/mdl/materialminjs?
 
action=raw&ctype=text/javascript"></script>
 
  
  
</head>
 
  
  
 +
    <link rel="stylesheet" type="text/css"
 +
          href="https://2017.igem.org/Template:Peking/mdl/main?action=raw&ctype=text/css">
 +
    <!-- Fonts -->
 +
    <link rel="stylesheet" type="text/css"
 +
          href="https://2017.igem.org/Template:Peking/mdl/fonts?action=raw&ctype=text/css">
 +
    <link rel="stylesheet" type="text/css"
 +
          href="https://2017.igem.org/Template:Peking/mdl/icon?action=raw&ctype=text/css">
 +
 +
 +
</head>
  
  
  
<!-- The drawer is always open in large screens. The header is always shown,
 
  even in small screens. -->
 
  
  
 
<body>
 
<body>
  
<!-- Simple header with fixed tabs. -->
+
 
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header
+
 
            mdl-layout--fixed-tabs">
+
<!-- Always shows a header, even in smaller screens. -->
 +
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
 
     <header class="mdl-layout__header">
 
     <header class="mdl-layout__header">
 
         <div class="mdl-layout__header-row">
 
         <div class="mdl-layout__header-row">
 
             <!-- Title -->
 
             <!-- Title -->
             <span class="mdl-layout-title">Title</span>
+
             <a href="https://2017.igem.org/Team:Peking"><img src="https://static.igem.org/mediawiki/2017/c/cf/Peking_TeamLogoClassical.png" height="35"></a>
        </div>
+
 
        <!-- Tabs -->
+
            <a class="mdl-navigation__link" href="https://2017.igem.org/Team:Peking" style="color: #000000; font-size: x-large"><strong>Peking iGEM </strong> 2017</a>
        <div class="mdl-layout__tab-bar mdl-js-ripple-effect">
+
            <!-- Add spacer, to align navigation to the right -->
             <a href="#fixed-tab-1" class="mdl-layout__tab is-active">Tab 1</a>
+
            <div class="mdl-layout-spacer"></div>
            <a href="#fixed-tab-2" class="mdl-layout__tab">Tab 2</a>
+
            <!-- Navigation. We hide it in small screens. -->
            <a href="#fixed-tab-3" class="mdl-layout__tab">Tab 3</a>
+
             <nav class="mdl-navigation mdl-layout--large-screen-only">
 +
                <style>
 +
                    a:link {text-decoration: none;}
 +
                    a:visited {text-decoration: none;}
 +
                    a:active {text-decoration: none;}
 +
                    a:hover {}
 +
                </style>
 +
                <a class="mdl-navigation__link" href="https://2017.igem.org/Team:Peking">Home</a>
 +
                <a class="mdl-navigation__link" href="" style="color: #000; font-weight: 500 ">Project</a>
 +
                <a class="mdl-navigation__link" href="">Modelling</a>
 +
                <a class="mdl-navigation__link" href="">Software</a>
 +
                <a class="mdl-navigation__link" href="">Hardware</a>
 +
                <a class="mdl-navigation__link" href="">Lab</a>
 +
                <a class="mdl-navigation__link" href="">Practices</a>
 +
                <a class="mdl-navigation__link" href="">Parts</a>
 +
                <a class="mdl-navigation__link" href="">Team</a>
 +
            </nav>
 
         </div>
 
         </div>
 
     </header>
 
     </header>
   
 
    <main class="mdl-layout__content">
 
        <section class="mdl-layout__tab-panel is-active" id="fixed-tab-1">
 
            <div class="page-content"><!-- Your content goes here --></div>
 
        </section>
 
        <section class="mdl-layout__tab-panel" id="fixed-tab-2">
 
            <div class="page-content"><!-- Your content goes here --></div>
 
        </section>
 
        <section class="mdl-layout__tab-panel" id="fixed-tab-3">
 
            <div class="page-content"><!-- Your content goes here --></div>
 
        </section>
 
    </main>
 
 
</div>
 
</div>
  
<!-- Wide card with share menu button -->
 
<style>
 
    .demo-card-wide.mdl-card {
 
        width: 512px;
 
    }
 
    .demo-card-wide > .mdl-card__title {
 
        color: #fff;
 
        height: 176px;
 
        background: url('../assets/demos/welcome_card.jpg') center / cover;
 
    }
 
    .demo-card-wide > .mdl-card__menu {
 
        color: #fff;
 
    }
 
</style>
 
  
<div class="demo-card-wide mdl-card mdl-shadow--2dp">
+
<div class="mdl-components mdl-js-components mdl-cell mdl-cell--12-col" style="padding-top: 60px;">
     <div class="mdl-card__title">
+
     <aside class="mdl-components__nav docs-text-styling mdl-shadow--4dp">
         <h2 class="mdl-card__title-text">Welcome</h2>
+
 
    </div>
+
         <a href="https://getmdl.io/components/index.html#Background"
    <div class="mdl-card__supporting-text">
+
          class="mdl-components__link mdl-component Background">
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+
            <div class="mdl-components__link-image"
        Mauris sagittis pellentesque lacus eleifend lacinia...
+
                style="background-image: url(&#39;../assets/comp_badges.png&#39;)">
    </div>
+
            </div>
    <div class="mdl-card__actions mdl-card--border">
+
            <span class="mdl-components__link-text" style="font-size: medium">Background</span>
        <a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
+
            Get Started
+
 
         </a>
 
         </a>
    </div>
+
 
    <div class="mdl-card__menu">
+
        <a href="https://getmdl.io/components/index.html#Introduction"
         <button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect">
+
          class="mdl-components__link mdl-component Introduction">
             <i class="material-icons">share</i>
+
            <div class="mdl-components__link-image"
         </button>
+
                style="background-image: url(&#39;../assets/comp_buttons.png&#39;)">
    </div>
+
            </div>
 +
            <span class="mdl-components__link-text" style="font-size: medium">Introduction</span>
 +
         </a>
 +
 
 +
        <a href="https://getmdl.io/components/index.html#Flip-flop"
 +
          class="mdl-components__link mdl-component FF">
 +
            <div class="mdl-components__link-image"
 +
                style="background-image: url(&#39;../assets/comp_cards.png&#39;)">
 +
            </div>
 +
            <span class="mdl-components__link-text"style="font-size: medium">Flip-flop</span>
 +
        </a>
 +
 
 +
        <a href="https://getmdl.io/components/index.html#Controller"
 +
          class="mdl-components__link mdl-component CU">
 +
            <div class="mdl-components__link-image"
 +
                style="background-image: url(&#39;../assets/comp_chips.png&#39;)">
 +
             </div>
 +
            <span class="mdl-components__link-text"style="font-size: medium">Controller</span>
 +
         </a>
 +
 
 +
        <a href="https://getmdl.io/components/index.html#Clock"
 +
          class="mdl-components__link mdl-component Clock">
 +
            <div class="mdl-components__link-image"
 +
                style="background-image: url(&#39;../assets/comp_dialog.png&#39;)">
 +
            </div>
 +
            <span class="mdl-components__link-text" style="font-size: medium">Clock</span>
 +
        </a>
 +
 
 +
        <a href="https://getmdl.io/components/index.html#Demonstrate"
 +
          class="mdl-components__link mdl-component Demonstrate">
 +
            <div class="mdl-components__link-image"
 +
                style="background-image: url(&#39;../assets/comp_layout.png&#39;)">
 +
            </div>
 +
            <span class="mdl-components__link-text" style="font-size: medium">Demonstrate</span>
 +
        </a>
 +
 
 +
        <a href="https://getmdl.io/components/index.html#Prospect"
 +
          class="mdl-components__link mdl-component Prospect">
 +
            <div class="mdl-components__link-image"
 +
                style="background-image: url(&#39;../assets/comp_lists.png&#39;)">
 +
            </div>
 +
            <span class="mdl-components__link-text" style="font-size: medium">Prospect</span>
 +
        </a>
 +
 
 +
    </aside>
 +
 
 +
    <section id="Background" class="mdl-components__page mdl-grid">
 +
        <p>1223</p>
 +
    </section>
 +
    <section id="Introduction" class="mdl-components__page mdl-grid">
 +
        <p>2334</p>
 +
    </section>
 
</div>
 
</div>
 +
 +
 +
  
  
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 04:18, 17 October 2017

Peking iGEM 2017