feat: add color palette.

This commit is contained in:
jaywcjlove
2022-09-06 00:06:36 +08:00
parent 8720638f9d
commit 8f62d41020
16 changed files with 232 additions and 102 deletions

View File

@@ -5,14 +5,14 @@ a {
h1 {
color: inherit;
font-size: 1.5rem;
font-size: 16px;
font-weight: bold;
}
h2 {
color: inherit;
margin: 2.5rem 0 1rem 0;
font-size: 1.3em;
font-size: 16px;
font-weight: bold;
}
@@ -20,19 +20,19 @@ h3 {
color: inherit;
margin: 1em 0 1em 0;
font-weight: bold;
font-size: 1em;
font-size: 14px;
}
h4 {
color: inherit;
margin: 0.6em 0 0.6em 0;
font-weight: bold;
font-size: 0.9em;
font-size: 12px;
}
p {
color: initial;
font-size: 0.85em;
font-size: 14px;
line-height: 1.5em;
}
@@ -46,7 +46,7 @@ ol {
li {
margin: 0;
font-size: 0.85em;
font-size: 14px;
line-height: 1.5em;
}
@@ -63,7 +63,7 @@ pre {
padding: 1em;
color: rgb(51, 51, 51);
background: rgb(248, 248, 248);
font-size: 0.85em;
font-size: 14px;
font-weight: 400;
letter-spacing: normal;
word-spacing: 0px;
@@ -76,7 +76,7 @@ table {
width: 100% !important;
border-collapse: collapse;
line-height: 1.35;
font-size: 0.85em;
font-size: 14px;
}
td {
@@ -93,7 +93,7 @@ th {
.code-highlight {
text-align: left;
font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;
font-size: 0.85em;
font-size: 14px;
margin: 0px;
white-space: nowrap;
}
@@ -120,14 +120,14 @@ th {
display: table;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1em;
font-size: 14px;
font-weight: bold;
margin: 3rem 0 0.6rem 0;
padding-left: 0.2rem;
}
.footnotes-list {
font-size: 0.75em;
font-size: 10px;
font-style: italic;
line-height: 1.2;
margin: 0.4rem 0;

View File

@@ -1,7 +1,7 @@
a {
color: #576b95;
color: #009874;
text-decoration: none;
font-size: 0.85em;
font-size: 14px;
}
h1 {
@@ -11,11 +11,11 @@ h1 {
line-height: 1.75;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1em;
font-size: 16px;
font-weight: bold;
margin: 2em auto 1em;
padding: 0 1em;
border-bottom: 2px solid #009874;
border-bottom: 3px solid #009874;
margin-top: 0;
}
@@ -26,7 +26,7 @@ h2 {
line-height: 1.75;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.3em;
font-size: 16px;
font-weight: bold;
margin: 4em auto 2em;
padding: 0 0.3em;
@@ -34,22 +34,17 @@ h2 {
background: #009874;
}
p {
font-size: 0.85em;
line-height: 1.5em;
}
h3 {
text-align: left;
color: #3f3f3f;
line-height: 1.2;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.1em;
font-size: 14px;
font-weight: bold;
margin: 2em 8px 0.75em 0;
padding-left: 8px;
border-left: 3px solid #009874;
border-left: 5px solid #009874;
}
ul {
@@ -63,23 +58,29 @@ ol {
li {
margin: 0;
line-height: 1.5em;
color: rgb(30 41 59);
font-size: 0.85em;
font-size: 14px;
line-height: 1.5em;
}
p {
font-size: 14px;
line-height: 1.5em;
padding: 0.5em 0 !important;
margin-bottom: 0 !important;
margin-top: 0 !important;
}
blockquote {
text-align: left;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 0.85em;
font-size: 14px;
font-style: normal;
border-left: none;
padding: 0.1rem 1rem;
padding: 0.5em 1em;
border-radius: 4px;
background: rgba(27, 31, 35, 0.05);
margin: 1rem 0;
line-height: 1.5em;
margin: 1em 0;
}
pre {
@@ -113,7 +114,7 @@ table {
width: 100% !important;
border-collapse: collapse;
line-height: 1.35;
font-size: 0.85em;
font-size: 14px;
}
td {
@@ -131,7 +132,7 @@ th {
text-align: left;
line-height: 1.75;
font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;
font-size: 0.85em;
font-size: 14px;
margin: 0px;
white-space: nowrap;
}
@@ -159,14 +160,14 @@ th {
display: table;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1em;
font-size: 14px;
font-weight: bold;
margin: 3em 0 0.6em 0;
padding-left: 0.2em;
}
.footnotes-list {
font-size: 0.75em;
font-size: 10px;
font-style: italic;
line-height: 1.2;
margin: 0.4rem 0;

View File

@@ -1,7 +1,7 @@
a {
color: #576b95;
color: #0f4c81;
text-decoration: none;
font-size: 0.85em;
font-size: 14px;
}
h1 {
@@ -11,11 +11,11 @@ h1 {
line-height: 1.75;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.2em;
font-size: 16px;
font-weight: bold;
margin: 2em auto 1em;
padding: 0 1em;
border-bottom: 2px solid #0f4c81;
border-bottom: 3px solid #0f4c81;
margin-top: 0;
}
@@ -26,7 +26,7 @@ h2 {
line-height: 1.75;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.2em;
font-size: 16px;
font-weight: bold;
margin: 4em auto 2em;
padding: 0 0.3em;
@@ -34,22 +34,17 @@ h2 {
background: #0f4c81;
}
p {
font-size: 0.85em;
line-height: 1.5em;
}
h3 {
text-align: left;
color: #3f3f3f;
line-height: 1.2;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.1em;
font-size: 14px;
font-weight: bold;
margin: 2em 8px 0.75em 0;
padding-left: 8px;
border-left: 3px solid #0f4c81;
border-left: 5px solid #0f4c81;
}
ul {
@@ -63,23 +58,29 @@ ol {
li {
margin: 0;
line-height: 1.5em;
color: rgb(30 41 59);
font-size: 0.85em;
font-size: 14px;
line-height: 1.5em;
}
p {
font-size: 14px;
line-height: 1.5em;
padding: 0.5em 0 !important;
margin-bottom: 0 !important;
margin-top: 0 !important;
}
blockquote {
text-align: left;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 0.85em;
font-size: 14px;
font-style: normal;
border-left: none;
padding: 0.1rem 1rem;
padding: 0.5em 1em;
border-radius: 4px;
background: rgba(27, 31, 35, 0.05);
margin: 1rem 0;
line-height: 1.5em;
margin: 1em 0;
}
pre {
@@ -113,7 +114,7 @@ table {
width: 100% !important;
border-collapse: collapse;
line-height: 1.35;
font-size: 0.85em;
font-size: 14px;
}
td {
@@ -131,7 +132,7 @@ th {
text-align: left;
line-height: 1.75;
font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;
font-size: 0.85em;
font-size: 14px;
margin: 0px;
white-space: nowrap;
}
@@ -150,7 +151,7 @@ th {
padding: 0.1em 0.3em;
border-radius: 0.3em;
font-weight: bold;
font-size: 1em;
font-size: 14px;
top: -0.1em;
position: relative;
}
@@ -159,14 +160,14 @@ th {
display: table;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1em;
font-size: 14px;
font-weight: bold;
margin: 3em 0 0.6em 0;
padding-left: 0.2em;
}
.footnotes-list {
font-size: 0.75em;
font-size: 10px;
font-style: italic;
line-height: 1.2;
margin: 0.4rem 0;

View File

@@ -1,7 +1,7 @@
a {
color: #576b95;
color: #ffb11b;
text-decoration: none;
font-size: 0.85em;
font-size: 14px;
}
h1 {
@@ -11,7 +11,7 @@ h1 {
line-height: 1.15;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.3em;
font-size: 16px;
font-weight: bold;
margin: 2em auto 1em;
padding: 0 1em 0.3em 1em;
@@ -24,18 +24,13 @@ h2 {
line-height: 1.35;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1.2em;
font-size: 16px;
font-weight: bold;
padding: 0 0.3em;
margin: 2em 0 1em 0;
box-shadow: inset 0 -0.7rem 0 0 #ffb11b;
}
p {
font-size: 0.85em;
line-height: 1.5em;
}
h3 {
text-align: left;
color: #3f3f3f;
@@ -60,8 +55,15 @@ ol {
li {
margin: 0;
line-height: 1.5em;
color: rgb(30 41 59);
font-size: 0.85em;
font-size: 14px;
}
p {
font-size: 14px;
line-height: 1.5em;
padding: 0.5em 0 !important;
margin-bottom: 0 !important;
margin-top: 0 !important;
}
blockquote {
@@ -69,13 +71,13 @@ blockquote {
line-height: 1.5em;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 0.85em;
font-size: 14px;
font-style: normal;
border-left: none;
padding: 0.1rem 1rem;
padding: 0.5em 1em;
border-radius: 4px;
background: rgba(27, 31, 35, 0.05);
margin: 1rem 0;
margin: 1em 0;
}
pre {
@@ -109,7 +111,7 @@ table {
width: 100% !important;
border-collapse: collapse;
line-height: 1.35;
font-size: 0.85em;
font-size: 14px;
}
td {
@@ -127,7 +129,7 @@ th {
text-align: left;
line-height: 1.75;
font-family: Menlo, 'Operator Mono', Consolas, Monaco, monospace;
font-size: 0.85em;
font-size: 14px;
margin: 0px;
white-space: nowrap;
}
@@ -146,7 +148,7 @@ th {
padding: 0.1em 0.3em;
border-radius: 0.3em;
font-weight: bold;
font-size: 0.85em;
font-size: 14px;
top: -0.1em;
position: relative;
}
@@ -155,14 +157,14 @@ th {
display: table;
font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif;
font-size: 1em;
font-size: 14px;
font-weight: bold;
margin: 3em 0 0.6em 0;
padding-left: 0.2em;
}
.footnotes-list {
font-size: 0.75em;
font-size: 10px;
font-style: italic;
line-height: 1.2;
margin: 0.4rem 0;