merge upstream
This commit is contained in:
@@ -1,68 +1,78 @@
|
||||
@font-face {
|
||||
font-family: 'PT Sans';
|
||||
font-family: "PT Sans";
|
||||
src: local("PT Sans"), local("PTSans-Regular"), url("../fonts/PTSans-Regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'PT Sans';
|
||||
font-family: "PT Sans";
|
||||
src: local("PT Sans Bold"), local("PTSans-Bold"), url("../fonts/PTSans-Bold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
html {
|
||||
background: #66697c;
|
||||
font-size: 16px;
|
||||
font-size: calc(0.8rem + 0.3vw);
|
||||
padding: 0 calc(38% - 20em);
|
||||
background: #66697c;
|
||||
padding: 0 calc(38% - 21em);
|
||||
}
|
||||
|
||||
body {
|
||||
background: #ffffff;
|
||||
color: #212228;
|
||||
font-family: "PT Sans", -apple-system, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif;
|
||||
font-weight: 400;
|
||||
background: #ffffff;
|
||||
color: #1c1d22;
|
||||
box-shadow: 0 0 0 1px rgba(102, 105, 124, 0.3);
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
b, strong, th {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #68f;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
article a {
|
||||
color: #68f;
|
||||
header a, footer a, aside a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
header time {
|
||||
color: #8e8e91;
|
||||
color: #909194;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid rgba(142, 142, 145, 0.3);
|
||||
border: 1px solid rgba(144, 145, 148, 0.3);
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
article:not(:last-of-type) {
|
||||
border-bottom: 1.5px solid rgba(144, 145, 148, 0.2);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: rgba(142, 142, 145, 0.06);
|
||||
border-left: 3px solid rgba(142, 142, 145, 0.9);
|
||||
background: rgba(144, 145, 148, 0.06);
|
||||
border-left: 3px solid rgba(144, 145, 148, 0.9);
|
||||
padding: 1px 1.5em;
|
||||
opacity: .75;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
blockquote, figure {
|
||||
@@ -70,7 +80,7 @@ blockquote, figure {
|
||||
}
|
||||
|
||||
img, li {
|
||||
margin: .5em 0;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
img {
|
||||
@@ -80,47 +90,52 @@ img {
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
overflow-y: scroll;
|
||||
border-spacing: 1px;
|
||||
box-shadow: 0 0 0 1px rgba(142, 142, 145, 0.12) inset;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px rgba(144, 145, 148, 0.12) inset;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: .5em 1em;
|
||||
box-shadow: 0 0 0 1px rgba(142, 142, 145, 0.12);
|
||||
padding: 0.5em 1em;
|
||||
box-shadow: 0 0 0 1px rgba(144, 145, 148, 0.12);
|
||||
}
|
||||
|
||||
tr:hover, tr:nth-child(odd) td {
|
||||
background: rgba(142, 142, 145, 0.04);
|
||||
background: rgba(144, 145, 148, 0.04);
|
||||
}
|
||||
|
||||
pre {
|
||||
background: rgba(40, 41, 48, 0.9)!important;
|
||||
color: #ffffff;
|
||||
background: rgba(144, 145, 148, 0.12);
|
||||
border-radius: 2px;
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
margin: 1.5em 0;
|
||||
padding: .8em 1.2em;
|
||||
padding: 0.8em 1.2em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
font-size: .9em;
|
||||
background: rgba(142, 142, 145, 0.15);
|
||||
opacity: .7;
|
||||
font-size: 0.9em;
|
||||
background: rgba(144, 145, 148, 0.15);
|
||||
opacity: 0.7;
|
||||
border-radius: 2px;
|
||||
margin: 0 .1em;
|
||||
padding: .2em .4em;
|
||||
margin: 0 0.1em;
|
||||
padding: 0.2em 0.4em;
|
||||
}
|
||||
|
||||
body > header {
|
||||
body > header, body > footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: #2a2c33;
|
||||
color: #ffffff;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
body > header, body > article, body > footer {
|
||||
padding: 1.5em;
|
||||
}
|
||||
|
||||
article header {
|
||||
@@ -129,41 +144,33 @@ article header {
|
||||
|
||||
article header h1 {
|
||||
font-size: 1.7em;
|
||||
margin: 0 0 .1em;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin: .5em -1em;
|
||||
margin: 0.5em -1em;
|
||||
}
|
||||
|
||||
nav a {
|
||||
margin: .5em 1em;
|
||||
}
|
||||
|
||||
body > header, body > article {
|
||||
padding: 1.65em calc(20% - 4em);
|
||||
padding: 1.65em max(calc(20% - 4em), 1.5em);
|
||||
margin: 0.5em 1em;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html, body, body > header {
|
||||
background: #1c1d22;
|
||||
html, body, body > header, body > footer {
|
||||
background: #212228;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 0 0 1px #33353e;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 32em) {
|
||||
body > header, body > article, body > footer {
|
||||
padding: 1.65em calc(22% - 6em);
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.archive {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.archive time {
|
||||
display: inline-block;
|
||||
min-width: 10ch;
|
||||
margin: 0 .2em;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.more {
|
||||
@@ -173,8 +180,8 @@ body > header, body > article {
|
||||
.more a {
|
||||
border-radius: 2px;
|
||||
border: 1.5px solid #68f;
|
||||
padding: .4em .8em;
|
||||
transition: .2s background, .2s color;
|
||||
padding: 0.4em 0.8em;
|
||||
transition: 0.2s background, 0.2s color;
|
||||
}
|
||||
|
||||
.more a:hover {
|
||||
@@ -182,3 +189,23 @@ body > header, body > article {
|
||||
background: #68f;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
.archive {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.archive time {
|
||||
display: inline-block;
|
||||
min-width: 10ch;
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
background: rgba(47, 48, 57, 0.9)!important;
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
.katex {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
@@ -1,11 +1,11 @@
|
||||
@font-face {
|
||||
font-family: 'PT Sans';
|
||||
font-family: "PT Sans";
|
||||
src: local("PT Sans"), local("PTSans-Regular"), url("../fonts/PTSans-Regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'PT Sans';
|
||||
font-family: "PT Sans";
|
||||
src: local("PT Sans Bold"), local("PTSans-Bold"), url("../fonts/PTSans-Bold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
@@ -17,12 +17,12 @@ html {
|
||||
}
|
||||
|
||||
body {
|
||||
background: #ffffff;
|
||||
color: #212228;
|
||||
font-family: "PT Sans", -apple-system, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif;
|
||||
font-weight: 400;
|
||||
background: #ffffff;
|
||||
color: #1c1d22;
|
||||
margin: 0;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@@ -31,42 +31,53 @@ body {
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body {
|
||||
background: #1c1d22;
|
||||
background: #212228;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
b, strong, th {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #68f;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
article a {
|
||||
color: #68f;
|
||||
header a, footer a, aside a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
header time {
|
||||
color: #8e8e91;
|
||||
color: #909194;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid rgba(142, 142, 145, 0.3);
|
||||
border: 1px solid rgba(144, 145, 148, 0.3);
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
article:not(:last-of-type) {
|
||||
border-bottom: 1.5px solid rgba(144, 145, 148, 0.2);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: rgba(142, 142, 145, 0.06);
|
||||
border-left: 3px solid rgba(142, 142, 145, 0.9);
|
||||
background: rgba(144, 145, 148, 0.06);
|
||||
border-left: 3px solid rgba(144, 145, 148, 0.9);
|
||||
padding: 1px 1.5em;
|
||||
opacity: .75;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
blockquote, figure {
|
||||
@@ -74,7 +85,7 @@ blockquote, figure {
|
||||
}
|
||||
|
||||
img, li {
|
||||
margin: .5em 0;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
img {
|
||||
@@ -84,46 +95,50 @@ img {
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
overflow-y: scroll;
|
||||
border-spacing: 1px;
|
||||
box-shadow: 0 0 0 1px rgba(142, 142, 145, 0.12) inset;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 0 1px rgba(144, 145, 148, 0.12) inset;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: .5em 1em;
|
||||
box-shadow: 0 0 0 1px rgba(142, 142, 145, 0.12);
|
||||
padding: 0.5em 1em;
|
||||
box-shadow: 0 0 0 1px rgba(144, 145, 148, 0.12);
|
||||
}
|
||||
|
||||
tr:hover, tr:nth-child(odd) td {
|
||||
background: rgba(142, 142, 145, 0.04);
|
||||
background: rgba(144, 145, 148, 0.04);
|
||||
}
|
||||
|
||||
pre {
|
||||
background: rgba(40, 41, 48, 0.9)!important;
|
||||
color: #ffffff;
|
||||
background: rgba(144, 145, 148, 0.12);
|
||||
border-radius: 2px;
|
||||
font-size: .8em;
|
||||
font-size: 0.8em;
|
||||
margin: 1.5em 0;
|
||||
padding: .8em 1.2em;
|
||||
padding: 0.8em 1.2em;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
:not(pre) > code {
|
||||
font-size: .9em;
|
||||
background: rgba(142, 142, 145, 0.15);
|
||||
opacity: .7;
|
||||
font-size: 0.9em;
|
||||
background: rgba(144, 145, 148, 0.15);
|
||||
opacity: 0.7;
|
||||
border-radius: 2px;
|
||||
margin: 0 .1em;
|
||||
padding: .2em .4em;
|
||||
margin: 0 0.1em;
|
||||
padding: 0.2em 0.4em;
|
||||
}
|
||||
|
||||
body > header {
|
||||
body > header, body > footer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
box-shadow: 0 0 0.6em rgba(28, 29, 34, 0.05);
|
||||
border-bottom: 1px solid rgba(142, 142, 145, 0.16);
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
body > header, body > article, body > footer {
|
||||
padding: 1.5em;
|
||||
}
|
||||
|
||||
article header {
|
||||
@@ -132,39 +147,35 @@ article header {
|
||||
|
||||
article header h1 {
|
||||
font-size: 1.7em;
|
||||
margin: 0 0 .1em;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin: .5em -1em;
|
||||
margin: 0.5em -1em;
|
||||
}
|
||||
|
||||
nav a {
|
||||
margin: .5em 1em;
|
||||
margin: 0.5em 1em;
|
||||
}
|
||||
|
||||
body > header, body > article {
|
||||
padding: 1.5em;
|
||||
body > header {
|
||||
box-shadow: 0 0 .6em rgba(33, 34, 40 ,0.04);
|
||||
border-bottom: 1px solid rgba(144, 145, 148, 0.14);
|
||||
}
|
||||
|
||||
@media (min-width: 32em) {
|
||||
body > header, body > article {
|
||||
padding: 1.7em calc(38% - 12em);
|
||||
body > footer {
|
||||
box-shadow: 0 0 .6em rgba(33, 34, 40 ,0.04) inset;
|
||||
border-top: 1px solid rgba(144, 145, 148, 0.14);
|
||||
}
|
||||
|
||||
@media (min-width: 38em) {
|
||||
body > header, body > article, body > footer {
|
||||
padding: 1.7em calc(38% - 14em);
|
||||
}
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.archive {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.archive time {
|
||||
display: inline-block;
|
||||
min-width: 10ch;
|
||||
margin: 0 .2em;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
|
||||
.more {
|
||||
@@ -174,8 +185,8 @@ body > header, body > article {
|
||||
.more a {
|
||||
border-radius: 2px;
|
||||
border: 1.5px solid #68f;
|
||||
padding: .4em .8em;
|
||||
transition: .2s background, .2s color;
|
||||
padding: 0.4em 0.8em;
|
||||
transition: 0.2s background, 0.2s color;
|
||||
}
|
||||
|
||||
.more a:hover {
|
||||
@@ -183,3 +194,23 @@ body > header, body > article {
|
||||
background: #68f;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
.archive {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.archive time {
|
||||
display: inline-block;
|
||||
min-width: 10ch;
|
||||
margin: 0 0.2em;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
background: rgba(47, 48, 57, 0.9)!important;
|
||||
color: white!important;
|
||||
}
|
||||
|
||||
.katex {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
Reference in New Issue
Block a user