Difference between revisions of "Template:Tongji China/Header"

 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- This document, originally from getmdl.io, was modified -->
 
 
<!--
 
  Material Design Lite
 
  Copyright 2015 Google Inc. All rights reserved.
 
 
  Licensed under the Apache License, Version 2.0 (the "License");
 
  you may not use this file except in compliance with the License.
 
  You may obtain a copy of the License at
 
 
      https://www.apache.org/licenses/LICENSE-2.0
 
 
  Unless required by applicable law or agreed to in writing, software
 
  distributed under the License is distributed on an "AS IS" BASIS,
 
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
  See the License for the specific language governing permissions and
 
  limitations under the License
 
-->
 
 
 
<html>
 
<html>
 
   <head>
 
   <head>
Line 26: Line 7:
  
 
     <style>
 
     <style>
 
  
 
     .main.view {
 
     .main.view {
Line 32: Line 12:
 
       top: 18px;
 
       top: 18px;
 
       left: 0;
 
       left: 0;
 +
      bottom: 0;
 +
      right: 0;
 
       width: 100%;
 
       width: 100%;
 
       height: 100%;
 
       height: 100%;
Line 46: Line 28:
 
     box-shadow: 0 0 20px rgba(0, 0, 0, 1);
 
     box-shadow: 0 0 20px rgba(0, 0, 0, 1);
 
     transition: 0.3s cubic-bezier(0.2, 1, 0.2, 1);
 
     transition: 0.3s cubic-bezier(0.2, 1, 0.2, 1);
 +
    }
 +
    a {
 +
      text-decoration: none !important;
 +
    }
 +
    /* unvisited link */
 +
    a:link {
 +
      color: green;
 +
    }
 +
 +
    /* visited link */
 +
    a:visited {
 +
      color: DarkGreen;
 +
    }
 +
 +
    /* mouse over link */
 +
    a:hover {
 +
      color: red;
 +
    }
 +
 +
    /* selected link */
 +
    a:active {
 +
      color: blue;
 
     }
 
     }
  
Line 58: Line 62:
 
       bars_box_active = false;
 
       bars_box_active = false;
  
       document.getElementById('mw-content-text').setAttribute("style","display:block;width:100%");
+
       document.getElementById('content').setAttribute("style","display:block;width:100%");
       document.getElementById('mw-content-text').style.width='100%';
+
       document.getElementById('content').style.width='100%';
 
     }
 
     }
 
     window.setTimeout(closeMenuDiv,50);
 
     window.setTimeout(closeMenuDiv,50);

Latest revision as of 01:41, 2 November 2017