Difference between revisions of "Team:NUDT CHINA"

Line 159: Line 159:
 
</script>
 
</script>
 
<style type="text/css">
 
<style type="text/css">
.myheader{height: 100%; text-align: center; background-color: rgba(255,255,255,0.3);margin:auto;}
+
.myheader{height: 100%; text-align: center; background-color: rgba(255,255,255,0.3);margin:0 auto;position: relative;}
 
.content{width:100%;}
 
.content{width:100%;}
 
li{ list-style:none;}
 
li{ list-style:none;}
Line 167: Line 167:
 
#lay-menu li.active{ background:black; cursor:default;}
 
#lay-menu li.active{ background:black; cursor:default;}
  
.myheader img{width:100%;align-self: center center;display: table-cell;vertical-align: middle;}
+
.myheader img{width:100%; margin: 0;
 +
position: absolute;
 +
  top: 50%;
 +
  transform: translate(0, -50%)}
 
#loading div{ width:100%; height:50%; position:absolute; left:0; background:#009ee0; z-index:50; transition:1s;text-align: center;}
 
#loading div{ width:100%; height:50%; position:absolute; left:0; background:#009ee0; z-index:50; transition:1s;text-align: center;}
 
#loading div:nth-of-type(1){ top:0;}
 
#loading div:nth-of-type(1){ top:0;}

Revision as of 10:26, 25 October 2017

Team:NUDT_CHINA