* { box-sizing: border-box; padding: 0; margin: 0; position: relative; } li { list-style: none; } .flex { display: flex; } .flex1 { flex: 1; } .flex-between { justify-content: space-between; align-items: center; } .text-overflow2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .page { min-height: 100vh; background-image: url(/static/resume/male/page_bg.png); background-repeat: no-repeat; background-size: 100% 100%; padding: 5% 20px 10px; color: #fff; display: flex; flex-direction: column; font-size: 10rem; } .flex { display: flex; } .star-progress { width: 70rem; height: 10rem; background-image: url(/static/resume/male/resume7.png); background-repeat: repeat-x; background-size: 10rem 10rem; .star-progress-bar { background-image: url(/static/resume/male/resume10.png); background-repeat: repeat-x; background-size: 10rem 10rem; height: 10rem; } } .top-panel { background-image: url(/static/resume/male/resume6.png); background-size: 100% 100%; padding: 30px 30px 10px; min-height: 70vh; .top-panel-content { display: flex; align-items: center; margin-bottom: 20px; } .user-head { width: 87rem; height: 87rem; border-radius: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -ms-border-radius: 20px; -o-border-radius: 20px; margin-right: 20px; border: 2px solid rgba(81, 210, 255, 0.42); } .user-info { display: flex; align-items: center; } .user-items { display: flex; flex-wrap: wrap; padding: 0; margin: 0; max-width: 80%; li { margin: 10px 20px 10px 0; display: flex; align-items: center; min-width: 150px; img { width: 20px; height: 20px; margin-right: 5px; } } } } .info-panel { .info-title { height: 35px; background: rgba(81, 210, 255, 0.23); border-radius: 20px 0 0 0; -webkit-border-radius: 20px 0 0 0; -moz-border-radius: 20px 0 0 0; -ms-border-radius: 20px 0 0 0; -o-border-radius: 20px 0 0 0; span { position: absolute; left: -2px; top: -5px; height: 45px; line-height: 45px; width: 150px; text-align: center; background-image: url(/static/resume/male/resume15.png); background-size: 100% 100%; font-size: 20px; } } .info-content { padding: 20px 0 10px; ul { li { margin-bottom: 10px; h3 { margin-bottom: 10px; } p { color: #ccc; line-height: 1.5em; } } } } } .bottom-panel { display: flex; margin-top: 10px; min-height: 30vh; .panel { flex: 1; background: rgba(9, 65, 110, 0.32); border: 1px solid #51D2FF; margin-right: 20px; padding: 15px; display: flex; flex-direction: column; &:last-child { margin-right: 0; } .panel-title { display: flex; align-items: center; font-size: 10rem; img { height: 20px; margin-left: 10px; } } .panel-body { flex: 1; } [id^=echarts] { height: 100%; } } }