@media all {
* {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  font-family: sans-serif;
  font-family: 微软雅黑,SimSun,PingFang SC,PingFang SC Regular;
}

.page {
  margin: 0 auto 1em;
  width: 960px;
  height: 1360px;
  background-color: #fff;
  padding: 1.5em 3em;
  box-sizing: border-box;
}

p {
  line-height: 150%;
}

div.section {
  margin-bottom: 1em;
  position: relative;
}

div.section .line {
  margin: .3em 0;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  position: relative;
  margin-left: 2em;
}

div.section .line a {
  display: inline-block;
  font-size: 1em;
}

div.section .line a.center {
  position: absolute;
  display: inline;
  left: 45%;
  transform: translate(-50%, 0)
}

div.section .line-content {
  margin-left: 0em;
  text-indent: 2em;
}

div.section .section-content {
  margin-left: 2em;
  text-indent: 2em;
  margin-top: .4em;
}

div.section .keywords {
  margin-left: 2em;
  margin-top: .4em;
  font-size: 1.05em;
}

ul > li {
  margin-top: 0.2em;
  display: flex;
}

hr {
  background-color: rgb(35,70,102);
  height: .4em;
  border-width: 0;
  margin-top: 0;
  margin-bottom: 1.5em;
}

div.section > a {
  background-color: rgb(35,70,102);
  color: #fff;
  line-height: 2.5em;
  height: 2.5em;
  display: block;
  padding-left: 2em;
}

div.section > a::before {
  content: ' ';
  background-color: #fff;
  display: block;
  width: 5px;
  height: 2.5em;
  position: absolute;
  left: 10px;
}

div.person-info {
  display: flex;
  flex-direction: row;
  margin-bottom: 1.5em;
}

div.person-info > .picture {
  margin: 0 1em;
}

div.person-info > div.detials {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

div.person-info > div.detials > .info-group {
  flex: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

div.person-info > div.detials > .info-group > div {
  width: 35%;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.2em;
}

.github-link {
  transform: translateY(-20%);
}

.github-link > a {
  font-size: 1.2em;
  font-weight: 500;
}

div.person-info .test-grades tr:first-child {
  font-weight: 500;
}

div.person-info .test-grades td, div.person-info .test-grades th {
  font-size: 1.2em;
  width: 3em;
  text-align: center;
}

div.person-info .test-grades {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: center;
  margin-bottom: .7em;
  transform: translateY(-5%);
}

div.person-info .test-grades table {
  display: none;
}

div.person-info .test-grades > div:first-child {
  position: relative;
  font-size: 1.3em;
  width: 5em;
}

div.person-info .test-grades > div:first-child > a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex: 1;
  text-align: center  ;
}

div.person-info > div.detials > .info-group > div.first {
  width: 25% !important;
}

div.person-info > div.detials .top {
  display: flex;
  flex-direction: row;
  position: relative;
  flex: 1;
  color: rgb(35,70,102);
}

div.person-info > div.detials .name {
  font-size: 2.5em;
  display: flex ;
}

div.person-info > div.detials > .info-group > .info > a:first-child {
  display: inline-block;
  text-align: justify;
  text-align-last:justify;
  font-weight: 500;
  margin-right: .1em;
}

div.person-info > div.detials > .info-group > .info > a:first-child::after, .github-link > a:first-child::after {
  content: ':';
  margin-right: .5em;
}

div.person-info .logo > div {
  width: 5em;
  background-color: rgb(35,70,102);
  color: #fff;
  font-size: 1.2em;
  padding: .7em 2em;
  position: relative;
  text-align: center;
  font-weight: 500;
}

div.person-info .logo > div::before {
  content: ' ';
  list-style: none;
  display: inline-block;
  position: absolute;
  width: 3px;
  height: 100%;
  background-color: #fff;
  top: 0;
  left: 1em;
}

div.person-info .logo > div::after { 
  content: ' ';
  list-style: none;
  display: inline-block;
  position: absolute;
  width: 3px;
  height: 100%;
  background-color: #fff;
  top: 0;
  right: 1em;
}
}

body {
  background-color: rgb(118,127,149);
}

@media print {
  @page {
    size: A4;
  }

  body {
    background-color: #fff;
  }

  .page {
    margin: 0 !important;
  }
}