@charset "UTF-8";

/* 初始化html标签与全局变量 */
:root {
  /* 字体 */
  --font: 微软雅黑 14px;
  /* 边框 */
  --border: 1px solid #CCC;
  --height: 36px;
}

body {
  padding: 0;
  margin: 0;
  background: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

table {
  background: #FFF;
  border-radius: 5px;
}

a {
  text-decoration: none;
  color: #333;
}

.head {
  width: 100%;
  cursor: pointer;
}

.head .logo {
  font-weight: 900;
  display: none;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  border-bottom: 1px solid transparent;
}

.head .logo:hover {
  border-bottom: 1px solid #666;
}

.head #nav {
  margin: 0px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.head #nav .li {
  list-style: none;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: 20%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 18px;
  font-weight: 900;
  border-bottom: 3px solid transparent;
}

.head #nav .li:hover {
  background: #EEE;
  border-bottom: 3px solid #666;
}
.head #nav .hover{
  background: #DDD;
  border-bottom: 3px solid #333;  
}
/* 手机屏幕 */
@media screen and (max-width: 500px) {
  .head .logo {
    display: block;
  }

  .head #nav {
    display: none;
  }

  .head #nav .li {
    padding: 5PX;
    display: block;
    text-align: left;
    cursor: pointer;
    line-height: normal;
    box-sizing: border-box;
    width: 100%;
    border-bottom: var(--border);
  }
}

.book {
  margin-bottom: 20px;
  width: 100%;
  display: none;
  justify-content: center;
  flex-wrap: wrap;
}

.box {
  background: #FFF;
  opacity: 0.8;
  vertical-align: top;
  margin-top: 5px;
  margin-right: 5px;
  width: 160px;
  border: 1px solid #CCC;
  border-radius: 5px;
}
.box:hover{
  opacity: 1;
}
.book .title {
  border-radius: 5px 5px 0 0;
}

.c {
  text-align: center;
}

.ok {
  color: #0C3;
}
.none{
  display: none;
}
.flex{
  display: flex;
  display: -webkit-flex;
}
.menu {
  width: 55px;
  border-radius: 2px;
  border: 1px solid #CCC;
  background: #000;
  color: #EEE;
}
ol{
  margin: 0;
  padding: 5px;
}
ol li {
  margin-left: 1em;
  cursor: pointer;
}

ol li:hover {
  color: #15C
}

/* IDE样式 */
#ide {
  width: 100%;
  height: 100px;
  min-height: 1em;
  line-height: 1.5em;
  font-size: 14px;
  background: #FFF;
  color: #000;
  border: 1px solid #666;

  padding: 5px;
  box-sizing: border-box;
}

/* 终端样式 */
.title {
  background: #111;
  color: #FFF;
  text-align: center;
  cursor: pointer;
  height: 30px;
  line-height: 30px;
}

.show {
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  border-radius: 0 0 5px 5px;
}

.file {
  display: none;
}
.copy{
  text-align: center;
}