common.css 2.65 KB
* {
  margin: 0;
  padding: 0;
}

body,
html {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'SimSun', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1f2f3d;
}

a {
  color: #409eff;
  text-decoration: none
}

.box {
  padding: 15px;
}

.flex {
  display: flex;
}

.box h2,
.box h3 {
  font-weight: 400;
}

.box h2 {
  font-size: 28px;
}

.box h3 {
  font-size: 22px;
  margin-top:20px;
  font-size:20px;
}

.box p {
  font-size: 16px;
  color: #5e6d82;
  line-height: 1.5em;
  /* margin: 1em 0; */
}

.box .paragraph {
  margin: 1em 0;
}

.box .bold {
  font-weight: bold;
}

.box .tips {
  color: #f56c6c;
}

.box .explain {
  color: #999999;
  font-size: 14px;
}

img {
  width: 80%;
  border: 1px solid #eaeefb;
  border-radius: 4px;
}

.article-img {
  width: 100%;
  text-align: center;
  margin: 1em 0;
}

/* .command pre {
  display: block;
  font-family: monospace;
  white-space: pre;
  margin: 1em 0px;
}

.command code {
  background-color: #f9fafc;
  border: 1px solid #eaeefb;
  border-radius: 4px;
} */

.hljs {
  display: block;
  line-height: 1.3;
  overflow-x: auto;
  font-family: Menlo, Monaco, Consolas, Courier, monospace;
  font-size: 16px;
  padding: 14px 20px;
  background-color: #f9fafc;
  border: 1px solid #eaeefb;
  padding-bottom: 25px;
  border-radius: 4px;
  -webkit-font-smoothing: auto;
  margin: 1em 0px;
}


table {
  width: 100%;
  color: #333;
  font-size: 15px;
  border-width: 1px 0 0 1px;
}

table td {
  height: 40px;
  padding: 0px 16px;
  border-bottom: 1px solid #cfd3d5;
  border-width: 0px 1px 1px 0px;
  white-space: nowrap;
}

code {
  display: initial;
  padding: 0 4px;
  margin: 0 5px;
  background: #f9f2f4;
  border-radius: 3px;
  font-size: 14px;
  color: #c7254e;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

pre {
  width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 10px;
  margin: 15px 0;
  display: block;
  line-height: 1.7;
  background-color: #201e2f;
  border-radius: 3px;
  font-size: 14px;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  overflow-x: auto;
  border: 1px solid #201e2f;
  color: #f8f8f2;
  word-wrap: normal;
}

pre code {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  color: #f8f8f2;
}

.hljs-name,
.hljs-attr,
.hljs-function,
.hljs-keyword {
  color: #f92672;
}

.hljs-string {
  color: #e6db74;
}

.hljs-comment {
  color: #75715e;
}

.hljs-selector-class,
.hljs-title {
  color: #a6e22e;
}

.hljs-attribute {
  color: #66d9ef;
}

.hljs-number {
  color: #ae81ff;
}

.hljs-regexp {
  color: #c82829;
}

.hljs-built_in {
  color: #f5871f;
}