Difference between revisions of "Template:SDSZ-China"

Line 1,002: Line 1,002:
 
     width:100%
 
     width:100%
 
}
 
}
 
  
 
</style>
 
</style>
 +
</html>
 +
 +
<!-- CUT -->
 +
 +
<html>
 +
 +
<head>
 +
    <style type='text/css'>
 +
        #top_title, #sideMenu {
 +
            display: none;
 +
        }
 +
 +
        #content {
 +
            width: 100%;
 +
            margin: 0;
 +
            padding: 0;
 +
            background: #f3f4f4;
 +
        }
 +
 +
        p {
 +
            font-family: Lato !important;
 +
            font-size: 17px !important
 +
        }
 +
 +
        h1 {
 +
            font-size: 40 -px !important;
 +
        }
 +
 +
        body {
 +
            font-family: Lato !important;
 +
        }
 +
 +
        h3 {
 +
            font-size: 25 -px;
 +
        }
 +
 +
        #bg {
 +
            position: fixed;
 +
            z-index:-1;
 +
            top: 0;
 +
            left: 0;
 +
        }
 +
 +
        .bgwidth {
 +
            width: 100%;
 +
        }
 +
 +
        .bgheight {
 +
            height: 100%;
 +
        }
 +
    </style>
 +
    <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
 +
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
 +
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
 +
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
 +
 +
 +
<script>localStorage.clear();</script>
 +
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
 +
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
 +
        integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
 +
        crossorigin="anonymous"></script>
 +
 +
<script type="text/javascript" async
 +
        src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
 +
<script type="text/x-mathjax-config">
 +
    MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
 +
 +
</script>
 +
 +
<script type="text/javascript">
 +
    $("#category_navbar a").on('click', function (event) {
 +
        // Make sure this.hash has a value before overriding default behavior
 +
        if (this.hash !== "") {
 +
            // Prevent default anchor click behavior
 +
            event.preventDefault();
 +
 +
            // Store hash0
 +
            var hash = this.hash;
 +
 +
            // Using jQuery's animate() method to add smooth page scroll
 +
            // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
 +
            $('html, body').animate({
 +
                scrollTop: $(hash).offset().top
 +
            }, 800, function () {
 +
 +
                // Add hash (#) to URL when done scrolling (default click behavior)
 +
                window.location.hash = hash;
 +
            });
 +
        }  // End if
 +
    });
 +
 +
</script>
 +
 +
</head>
 +
<body>
 +
<div class="backgroundpic">
 +
    <img src="https://static.igem.org/mediawiki/2016/e/e5/T--TAS_Taipei--Taipei_Background_1.0.jpg" width="100%" height="100%" id="bg" alt="">
 +
</div>
 +
</body>
 
</html>
 
</html>

Revision as of 10:45, 1 November 2017