* {margin:0; padding:0;} html,body{height:100%;} .box {height:100%;background: #020622;} .title { display: -webkit-flex; display: flex; height: 2.67rem; width: 100%; background-image:url("/image/pelma/image5.png"); background-size: 100% 100%; background-repeat: no-repeat; position: relative; } .title-pelma { position: absolute; height: 100%; width: 100%; display: -webkit-flex; display: flex; } .title-pelma-content { margin: auto; color: #66E5F8; font-size:1.5em; font-weight:bold; } .title-school{ position:absolute; z-index: 100; color: #66E5F8; height: 1.2rem; font-size:1rem; left: 1.52rem; bottom: 0px; padding:0px; margin:0px } .title-pelma-vertion{ position:absolute; z-index: 100; color: #66E5F8; height: 1.2rem; font-size:1rem; right: 1.52rem; bottom: 0px; padding:0px; margin:0px } .detail{ margin: 1.52rem; height: 90%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; } /*压力图*/ .diagram{ margin: auto; display: -webkit-flex; display: flex; height: 70%; -webkit-justify-content: space-between; justify-content: space-between; width: 100%; } .diagram-chunk{ width: 49.5%; position: relative; } /*背景*/ .diagram-chunk-back{ width: 100%; height: 100%; display: -webkit-flex; display: flex; position: absolute; } .diagram-chunk-left{ width: 1.5%; height: 100%; background-image:url("/image/pelma/image1.png"); background-size: 100% 100%; background-repeat: no-repeat; } .diagram-chunk-middle{ display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; width: 97%; height: 100%; background-image:url("/image/pelma/image4.png"); background-size: 100% 100%; background-repeat: no-repeat; } .diagram-chunk-right{ width: 1.5%; height: 100%; background-image:url("/image/pelma/image1.png"); background-size: 100% 100%; background-repeat: no-repeat; transform: rotateY(180deg); } .diagram-chunk-title{ height: 100%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; } .diagram-chunk-title-top{ text-align: center; color: #66E5F8; width: 10rem; height: 1.52rem; background-image:url("/image/pelma/image2.png"); background-size: 100% 100%; background-repeat: no-repeat; } .diagram-chunk-title-middle{ width: 10rem; height: 100%; background-image:url("/image/pelma/image3.png"); background-size: 100% 100%; background-repeat: no-repeat; } /*压力图*/ .diagram-chunk-default{ position: absolute; width: 100%; height: 100%; z-index: 100; } .diagram-chunk-default .picture{ width: 100%; height: 100%; } /*源码展示*/ .sound-code{ margin: auto; display: -webkit-flex; display: flex; width: 100%; height: 25%; margin-top: 1.29rem; } .sound-code-chunk{ position: relative; width: 100%; height: 100%; /*background-color: #718096;*/ } /*背景*/ .sound-code-chunk-back{ width: 100%; height: 100%; display: -webkit-flex; display: flex; float: left; position: absolute; } .sound-code-chunk-left{ width: 1.5%; height: 100%; background-image:url("/image/pelma/image1.png"); background-size: 100% 100%; background-repeat: no-repeat; } .sound-code-chunk-middle{ display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; width: 97%; height: 100%; background-image:url("/image/pelma/image4.png"); background-size: 100% 100%; background-repeat: no-repeat; } .sound-code-chunk-right{ width: 1.5%; height: 100%; background-image:url("/image/pelma/image1.png"); background-size: 100% 100%; background-repeat: no-repeat; transform: rotateY(180deg); } .sound-code-chunk-title{ height: 100%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; } .sound-code-chunk-title-top{ text-align: center; color: #66E5F8; width: 10rem; height: 1.52rem; background-image:url("/image/pelma/标题1.png"); background-size: 100% 100%; background-repeat: no-repeat; } .sound-code-chunk-title-middle{ width: 10rem; height: 100%; background-image:url("/image/pelma/image3.png"); background-size: 100% 100%; background-repeat: no-repeat; } /*源码内容*/ .sound-code-chunk-default{ position: absolute; width: 100%; height: 100%; z-index: 100; display: -webkit-flex; display: flex; } .sound-code-chunk-default-content{ width: 90%; height: 50%; margin: auto; color: #66E5F8; overflow: hidden; }