mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-02-23 22:24:13 +01:00
409 lines
7.2 KiB
CSS
409 lines
7.2 KiB
CSS
*,
|
|
*:before,
|
|
*:after {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: "Microsoft YaHei", "Helvetica Neue", "Microsoft YaHei UI", Arial, "Times New Roman", "Hiragino Sans GB", "STHeiti", "WenQuanYi Micro Hei", SimSun, Song, sans-serif;
|
|
color: #555;
|
|
line-height: 2em;
|
|
font-size: 16px;
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 0 10px;
|
|
background-color: #FFF;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-weight: bold;
|
|
line-height: 1.2em;
|
|
margin: 1.2em 0 0.6em 0;
|
|
}
|
|
|
|
p {
|
|
display: block;
|
|
margin: 0 0 1.1em;
|
|
letter-spacing: 0.04em;
|
|
/*text-align: justify;*/
|
|
/*margin-block-start: 1em;
|
|
margin-block-end: 1em;
|
|
margin-inline-start: 0px;
|
|
margin-inline-end: 0px;*/
|
|
}
|
|
|
|
h1 {
|
|
/*font-size: 41.6px;*/
|
|
font-size: 2.2em;
|
|
}
|
|
|
|
h2 {
|
|
/*font-size: 34.4px;*/
|
|
font-size: 1.7em;
|
|
}
|
|
|
|
h3 {
|
|
/*font-size: 27.2px;*/
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
h4 {
|
|
/*font-size: 20px;*/
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
h5 {
|
|
/*font-size: 18px;*/
|
|
font-size: 1.08em;
|
|
}
|
|
|
|
h6 {
|
|
/*font-size: 16px;*/
|
|
font-size: 1em;
|
|
}
|
|
|
|
a {
|
|
color: #1980e6;
|
|
text-decoration: none;
|
|
transition: background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;
|
|
-webkit-transition: background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;
|
|
}
|
|
|
|
a:hover,
|
|
a:focus {
|
|
color: #0f4d8a;
|
|
text-decoration: underline
|
|
}
|
|
|
|
a:focus {
|
|
outline: thin dotted;
|
|
outline: 5px auto -webkit-focus-ring-color;
|
|
outline-offset: -2px
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
/*line-height: 1.6em;*/
|
|
/*margin-top: 0;*/
|
|
/*margin-bottom: 1.1em;*/
|
|
margin: 0 0 1.4em 1.4em;
|
|
padding-left: 0;
|
|
}
|
|
|
|
li {
|
|
/*line-height: 1.6em;*/
|
|
}
|
|
|
|
pre, code {
|
|
font-family: "Source Code Pro","YaHei Consolas Hybrid","Microsoft YaHei Mono",Consolas,monospace;
|
|
}
|
|
|
|
pre {
|
|
display: block;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
white-space: nowrap;
|
|
padding: 0;
|
|
border: 0;
|
|
margin: 0 0 10.5px;
|
|
}
|
|
|
|
code {
|
|
color: #c7254e;
|
|
background-color: #f9f2f4;
|
|
border-radius: 4px;
|
|
white-space: normal;
|
|
padding: 2px 4px;
|
|
font-size: 90%;
|
|
}
|
|
|
|
pre code {
|
|
padding: 1em 1em !important;
|
|
border-radius: 0;
|
|
white-space: pre;
|
|
background-color: transparent;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
pre code.markdown-metadata {
|
|
/*border-left: .5em solid #80CBC4;*/
|
|
border-left: 0;
|
|
}
|
|
|
|
aside {
|
|
display: block;
|
|
float: right;
|
|
width: 390px;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 10px solid rgba(102,128,153,0.075);
|
|
background-color: rgba(102,128,153,0.05);
|
|
border-top-right-radius: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
padding: 10px 15px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
blockquote p {
|
|
/*color: #666;*/
|
|
margin-bottom: 1.1em;
|
|
font-size: 1em;
|
|
font-weight: 300;
|
|
}
|
|
|
|
blockquote p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
hr {
|
|
margin: 2em 0;
|
|
border: 0;
|
|
border-top: 1px solid rgba(102,128,153,0.1);
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
/*display: block;
|
|
text-align: left;
|
|
margin: 1em 0;
|
|
border: none;
|
|
height: 2px;
|
|
background: #999;*/
|
|
}
|
|
|
|
table {
|
|
margin-bottom: 20px;
|
|
border-collapse: collapse;
|
|
max-width: 100%;
|
|
background-color: transparent;
|
|
/*padding: 0;
|
|
border-collapse: collapse;*/
|
|
}
|
|
|
|
table tr {
|
|
border-top: 1px solid #ddd;
|
|
background-color: transparent;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
table tr th {
|
|
font-weight: bold;
|
|
border: 1px solid #ddd;
|
|
margin: 0;
|
|
padding: 0.5em;
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
table tr td {
|
|
border: 1px solid #ddd;
|
|
margin: 0;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
table tr th :first-child,
|
|
table tr td :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
table tr th :last-child,
|
|
table tr td :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
div.mermaid-diagram {
|
|
margin: 16px 0px 16px 0px;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
div.flowchart-diagram {
|
|
padding: 0px 5px 0px 5px;
|
|
margin: 16px 0px 16px 0px;
|
|
width: fit-content;
|
|
overflow: hidden;
|
|
}
|
|
|
|
div.plantuml-diagram {
|
|
padding: 5px 5px 0px 5px;
|
|
margin: 16px 0px 16px 0px;
|
|
width: fit-content;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.img-package {
|
|
text-align: center;
|
|
}
|
|
|
|
img.img-center {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
div.img-caption {
|
|
min-width: 20%;
|
|
max-width: 80%;
|
|
display: inline-block;
|
|
padding: 10px;
|
|
margin: 0 auto;
|
|
border-bottom: 1px solid #c0c0c0;
|
|
color: #6c6c6c;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.emoji_zero,
|
|
.emoji_one,
|
|
.emoji_two,
|
|
.emoji_three,
|
|
.emoji_four,
|
|
.emoji_five,
|
|
.emoji_six,
|
|
.emoji_seven,
|
|
.emoji_eight,
|
|
.emoji_nine {
|
|
margin-left: 5px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
div.preview-hint {
|
|
opacity: 0.5;
|
|
margin-top: 30%;
|
|
margin-bottom: 30%;
|
|
align-items: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
|
|
/* For Highlight.js Line Number */
|
|
|
|
table.hljs-ln tr {
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
table.hljs-ln tr td {
|
|
border: none;
|
|
background-color: transparent;
|
|
}
|
|
|
|
table.hljs-ln tr td.hljs-ln-numbers {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
|
|
text-align: center;
|
|
color: #AAA;
|
|
border-right: 1px solid #CCC;
|
|
vertical-align: top;
|
|
padding-right: 5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table.hljs-ln tr td.hljs-ln-code {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
background-color: #EAEAEA;
|
|
width: 14px;
|
|
height: 14px;
|
|
border: none;
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background-color: #EAEAEA;
|
|
}
|
|
|
|
::-webkit-scrollbar-button {
|
|
/* This selector affects the styling of both the up & down and left & right buttons of a scrollbar */
|
|
height: 14px;
|
|
width: 14px;
|
|
background-color: #EAEAEA;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:hover {
|
|
background-color: #D0D0D0;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:active {
|
|
background-color: #B2B2B2;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
/* This selector affects the styling of the area in the scrollbar between the two buttons */
|
|
background-color: #EAEAEA;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
/* This selector affects the styling of draggable element of the scollbar */
|
|
border: none;
|
|
background-color: #DADADA;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background-color: #D0D0D0;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:active {
|
|
background-color: #B2B2B2;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:horizontal:increment {
|
|
background-image: url(right.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:horizontal:decrement {
|
|
background-image: url(left.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:vertical:increment {
|
|
background-image: url(down.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
::-webkit-scrollbar-button:vertical:decrement {
|
|
background-image: url(up.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
}
|
|
|
|
::selection {
|
|
background: #1976D2;
|
|
color: #F5F5F5;
|
|
}
|
|
|
|
.modal-box {
|
|
background-color: rgb(234, 234, 234);
|
|
background-color: rgba(234, 234, 234, 0.95);
|
|
}
|
|
|
|
span.modal-close {
|
|
color: #666666;
|
|
}
|
|
|
|
span.modal-close:hover,
|
|
span.modal-close:focus {
|
|
color: #2f2f2f;
|
|
}
|