| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- html,
- body,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6,
- p,
- blockquote {
- margin: 0;
- padding: 0;
- font-weight: normal;
- -webkit-font-smoothing: antialiased;
- }
- /* 设置滚动条的样式 */
- ::-webkit-scrollbar {
- width: 6px;
- }
- /* 外层轨道 */
- ::-webkit-scrollbar-track {
- -webkit-box-shadow: inset006pxrgba(255, 0, 0, 0.3);
- background: rgba(0, 0, 0, 0.1);
- }
- /* 滚动条滑块 */
- ::-webkit-scrollbar-thumb {
- border-radius: 4px;
- background: rgba(0, 0, 0, 0.2);
- -webkit-box-shadow: inset006pxrgba(0, 0, 0, 0.5);
- }
- ::-webkit-scrollbar-thumb:window-inactive {
- background: rgba(0, 0, 0, 0.2);
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
- font-size: 13px;
- line-height: 25px;
- color: #393838;
- position: relative;
- // overflow-x: hidden;
- }
- table {
- margin: 10px 0 15px 0;
- border-collapse: collapse;
- }
- td,
- th {
- border: 1px solid #ddd;
- padding: 3px 10px;
- }
- th {
- padding: 5px 10px;
- }
- a, a:link, a:visited {
- color: #34495e;
- text-decoration: none;
- }
- a:hover, a:focus {
- color: #59d69d;
- text-decoration: none;
- }
- a img {
- border: none;
- }
- p {
- padding-left: 10px;
- margin-bottom: 9px;
- }
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: #404040;
- line-height: 36px;
- }
- h1 {
- color: #2c3e50;
- font-weight: 600;
- // margin-top: 35px;
- margin-bottom: 16px;
- font-size: 32px;
- padding-bottom: 16px;
- border-bottom: 1px solid #ddd;
- line-height: 50px;
- }
- h2 {
- font-size: 28px;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- h3 {
- clear: both;
- font-weight: 400;
- margin-top: 20px;
- margin-bottom: 20px;
- border-left: 3px solid #59d69d;
- padding-left: 8px;
- font-size: 18px;
- }
- h4 {
- font-size: 16px;
- }
- h5 {
- font-size: 14px;
- }
- h6 {
- font-size: 13px;
- }
- hr {
- margin: 0 0 19px;
- border: 0;
- border-bottom: 1px solid #ccc;
- }
- blockquote {
- padding: 13px 13px 21px 15px;
- margin-bottom: 18px;
- font-family: georgia, serif;
- font-style: italic;
- }
- blockquote:before {
- font-size: 40px;
- margin-left: -10px;
- font-family: georgia, serif;
- color: #eee;
- }
- blockquote p {
- font-size: 14px;
- font-weight: 300;
- line-height: 18px;
- margin-bottom: 0;
- font-style: italic;
- }
- code,
- pre {
- font-family: Monaco, Andale Mono, Courier New, monospace;
- }
- code {
- background-color: #fee9cc;
- color: rgba(0, 0, 0, 0.75);
- padding: 1px 3px;
- font-size: 12px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
- }
- pre {
- display: block;
- padding: 14px;
- margin: 0 0 18px;
- line-height: 16px;
- font-size: 11px;
- border: 1px solid #d9d9d9;
- white-space: pre-wrap;
- word-wrap: break-word;
- background: #f6f6f6;
- }
- pre code {
- background-color: #f6f6f6;
- color: #737373;
- font-size: 11px;
- padding: 0;
- }
- sup {
- font-size: 0.83em;
- vertical-align: super;
- line-height: 0;
- }
- * {
- -webkit-print-color-adjust: exact;
- }
- @media print {
- body,
- code,
- pre code,
- h1,
- h2,
- h3,
- h4,
- h5,
- h6 {
- color: black;
- }
- table,
- pre {
- page-break-inside: avoid;
- }
- }
- html,
- body {
- height: 100%;
- }
- .table-of-contents {
- position: fixed;
- top: 61px;
- left: 0;
- bottom: 0;
- overflow-x: hidden;
- overflow-y: auto;
- width: 260px;
- }
- .table-of-contents>ul>li>a {
- font-size: 20px;
- margin-bottom: 16px;
- margin-top: 16px;
- }
- .table-of-contents ul {
- // position: fixed;
- // top: 80px;
- // left: 40px;
- overflow: auto;
- margin: 0px;
- height: 100%;
- padding: 0px 0px;
- box-sizing: border-box;
- list-style-type: none;
- }
- .table-of-contents ul li {
- padding-left: 20px;
- }
- .table-of-contents a {
- padding: 2px 0px;
- display: block;
- text-decoration: none;
- }
- .content-right {
- // position: relative;
- // top: -20px;
- max-width: 700px;
- margin-left: 290px;
- padding-left: 70px;
- flex-grow: 1;
- h2:target{
- padding-top: 80px;
- }
- }
- body>p {
- margin-left: 30px;
- }
- body>table {
- margin-left: 30px;
- }
- body>pre {
- margin-left: 30px;
- }
- .curProject {
- position: fixed;
- top: 20px;
- font-size: 25px;
- color: black;
- margin-left: -240px;
- width: 240px;
- padding: 5px;
- line-height: 25px;
- box-sizing: border-box;
- }
- .g-doc {
- margin-top: 56px;
- padding-top: 24px;
- display: flex;
- }
- .curproject-name{
- font-size: 42px;
- }
- .m-header {
- background: #32363a;
- height: 56px;
- line-height: 56px;
- padding-left: 60px;
- display: flex;
- align-items: center;
- position: fixed;
- z-index: 9;
- top: 0;
- left: 0;
- right: 0;
- .title {
- font-size: 22px;
- color: #fff;
- font-weight: normal;
- -webkit-font-smoothing: antialiased;
- margin: 0;
- margin-left: 16px;
- padding: 0;
- line-height: 56px;
- border: none;
- }
- .nav {
- color: #fff;
- font-size: 16px;
- position: absolute;
- right: 32px;
- top: 0;
- a {
- color: #fff;
- margin-left: 16px;
- padding: 8px;
- transition: color .2s;
- }
- a:hover {
- color: #59d69d;
- }
- }
- }
- .m-footer {
- border-top: 1px solid #ddd;
- padding-top: 16px;
- padding-bottom: 16px;
- }
|