mirror of
https://github.com/LearnOpenGL-CN/LearnOpenGL-CN.git
synced 2025-08-23 04:35:28 +08:00
67 lines
1.2 KiB
CSS
67 lines
1.2 KiB
CSS
body {
|
|
font-family: "微软雅黑", "宋体", "Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin-bottom: 15px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
h1, h2 {
|
|
margin-top: 25px;
|
|
border-bottom: 1px solid #e1e4e5;
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.col-md-9 p {
|
|
line-height: 180%;
|
|
}
|
|
|
|
table td, table th {
|
|
font-size: 100% !important;
|
|
}
|
|
|
|
code {
|
|
font-size: 100%;
|
|
background: #F8F8F8;
|
|
}
|
|
|
|
p code {
|
|
font-size: 80%;
|
|
word-wrap: normal;
|
|
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
|
}
|
|
|
|
div.admonition code {
|
|
display: inline-block;
|
|
overflow-x: visible;
|
|
line-height: 18px;
|
|
color: #404040;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
background: rgba(255, 255, 255, 0.7);
|
|
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
video {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 800px) {
|
|
p, ol, ul {
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.hljs-comment {
|
|
font-style: normal;
|
|
font-size: 90%;
|
|
}
|