|
|
(15 intermediate revisions by the same user not shown) |
Line 9: |
Line 9: |
| #content { padding:0px; width:100%; margin-top:0px; margin-left:0px; background-color: #F1F1F1; text-align: center} | | #content { padding:0px; width:100%; margin-top:0px; margin-left:0px; background-color: #F1F1F1; text-align: center} |
| | | |
− | </style> | + | </style> |
− | <link rel='stylesheet' id='-slimwriter-style-css' href='http://www.azirquantum.com/wp-content/themes/slimwriter/static/css/SHSBNU2017_style.css?ver=4.8.1' type='text/css' media='all' /> | + | <link rel='stylesheet' id='-slimwriter-style-css' href='http://www.azirquantum.net.cn/wp-content/themes/slimwriter/static/css/SHSBNU2017_style.css?ver=4.8.1' type='text/css' media='all' /> |
− | <style type="text/css" media="screen"> | + | <style type="text/css" media="screen"> |
− | html { margin-top: 32px !important; }
| + | html { margin-top: 32px !important; } |
− | * html body { margin-top: 32px !important; }
| + | * html body { margin-top: 32px !important; } |
− | @media screen and ( max-width: 782px ) {
| + | @media screen and ( max-width: 782px ) { |
| html { margin-top: 46px !important; } | | html { margin-top: 46px !important; } |
− | * html body { margin-top: 46px !important; }
| + | * html body { margin-top: 46px !important; } |
− | }
| + | } |
− | a {
| + | a { |
− | opacity: 1;
| + | opacity: 1; |
− | }
| + | } |
− | </style>
| + | |
− | <script>
| + | .scanlines { |
− | function Background_fitting(){
| + | position: absolute; |
− | screen_ratio = document.body.clientWidth/document.body.clientHeight | + | top: 0px; |
− | picture_ratio = 600/360
| + | left: 0px; |
− | if (screen_ratio>picture_ratio)
| + | width: 100%; |
− | { | + | height: 100%; |
− | ph=document.body.clientWidth/picture_ratio
| + | z-index: 2;) |
− | document.getElementById("background_picture_div").style.width=document.body.clientWidth
| + | } |
− | document.getElementById("background_picture_div").style.height=ph
| + | </style> |
− | document.getElementById("background_picture_div").style.top=document.body.clientHeight-ph
| + | |
− | } | + | |
− | else if (screen_ratio=pirture_ratio)
| + | |
− | { | + | |
− | document.getElementById("background_picture_div").style.width=document.body.clientWidth
| + | |
− | document.getElementById("background_picture_div").style.height=document.body.clientHeight
| + | |
− | } | + | |
− | else | + | |
− | {
| + | |
− | pw=document.body.clienHeighth*picture_ratio
| + | |
− | document.getElementById("background_picture_div").style.width=document.body.clientHeight
| + | |
− | document.getElementById("background_picture_div").style.height=pw
| + | |
− | document.getElementById("background_picture_div").style.top=document.body.clientWidth-pw
| + | |
− | }
| + | |
− | } | + | |
| | | |
− | </script>
| |
| </head> | | </head> |
− | <body class="home blog logged-in admin-bar no-customize-support" onload="Background_fitting()" onresize="Background_fitting()"> | + | |
− | <div onload="Background_fitting()" onresize="Background_fitting()">
| + | <body class="home blog logged-in admin-bar no-customize-support" > |
− | <div id="background_picture_div" style="overflow: hidden; z-index: -1; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; "> | + | <div style="overflow: hidden; z-index: -1; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; "> |
− | <img id="background_picture" src="http://hk-4.hostpark.cn:2082/cpsess9639011050/viewer/home%2frcajvtwp%2fpublic_html%2fwp-content%2fthemes%2fslimwriter%2fstatic%2fcss/testing_picture.jpg" style="position: absolute; display: block; left: 0px; top: 0px;"> | + | <img id="background_picture" src="http://www.azirquantum.net.cn/wp-content/themes/slimwriter/static/css/testing_picture.jpg" style="position: fixed; display: block; left: 0px; top: 0px;"> |
| </div> | | </div> |
| | | |
Line 61: |
Line 45: |
| | | |
| <div id="nav"> | | <div id="nav"> |
− | <nav class = "main" style = "font-size:20px; text-align: center;" > | + | <nav class = "main" style = "font-size:16px; text-align: center;" > |
| <a href="https://2017.igem.org/Team:SHSBNU_China/Project" style = "opacity: 1;">Project</a> | | <a href="https://2017.igem.org/Team:SHSBNU_China/Project" style = "opacity: 1;">Project</a> |
| <a> | </a> | | <a> | </a> |
Line 88: |
Line 72: |
| --> | | --> |
| | | |
− | <div id="branding"> | + | <div> |
− | <a id="logo" href="https://2017.igem.org/Team:SHSBNU_China"><img src="http://www.azirquantum.com/wp-content/themes/slimwriter/static/css/Home_GIF1.gif" /></a>
| + | |
| </div> | | </div> |
| | | |
Line 99: |
Line 82: |
| | | |
| <div class="entry-footer"> | | <div class="entry-footer"> |
| + | <P style = "font-family:arial;color:#5C5C5C;font-size:10px; text-align: center">iGEM 2017</P> |
| + | <P style = "font-family:arial;color:#5C5C5C;font-size:10px; text-align: center">Made by Azir.</P> |
| + | <p style = "font-family:arial;color:#5C5C5C;font-size:10px; text-align: center">The Second High School Attached Beijing Normal University International Division </p> |
| </div> | | </div> |
| | | |
| </div><!-- .concavebox --> | | </div><!-- .concavebox --> |
− | </div>
| |
| </body> | | </body> |
| </html> | | </html> |