CI: autofix rust code.
rust-clippy Build rust-clippy has failed Details
rust-test Build rust-test has succeeded Details
format Build format has succeeded Details

This commit is contained in:
fluxcdbot 2023-12-23 01:46:40 +00:00
parent d5572c93cd
commit df339f20fa
3 changed files with 301 additions and 214 deletions

View File

@ -6,7 +6,8 @@
--stream-divider-color: #6ccff6;
--src-font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
--src-font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo,
Consolas, "DejaVu Sans Mono", monospace;
--src-block-background-color: #141414;
--src-block-border-color: #84828f;
@ -23,9 +24,11 @@
body {
color: var(--site-text-color);
background-color: var(--site-background-color);
font-family: source-sans-pro, Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', sans-serif;
font-family: source-sans-pro, Seravek, "Gill Sans Nova", Ubuntu, Calibri,
"DejaVu Sans", sans-serif;
a:link, a:visited {
a:link,
a:visited {
/* TODO: Should I use a different color for links? */
color: var(--site-text-color);
}
@ -47,7 +50,8 @@ body {
font-weight: 600;
text-decoration: none;
&:link, &:visited {
&:link,
&:visited {
color: var(--site-text-color);
}
}
@ -72,7 +76,7 @@ body {
/* A blog post in a blog stream (for example, the homepage). */
.blog_stream_post {
background: #1F1F1F;
background: #1f1f1f;
padding: 1rem 0.2rem;
}
@ -82,7 +86,6 @@ body {
padding-bottom: 1rem;
}
p {
margin: 1rem 0;
}
@ -119,7 +122,8 @@ body {
font-size: 1rem;
}
.code, .verbatim {
.code,
.verbatim {
font-family: var(--src-font-family);
font-size: 1rem;
}
@ -130,7 +134,8 @@ body {
margin: 1rem 0 1rem 2rem;
}
h2, h3 {
h2,
h3 {
margin: 1rem 0;
padding-bottom: 0.5rem;
}

View File

@ -3,19 +3,87 @@
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
@ -24,22 +92,35 @@ time, mark, audio, video {
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
ol,
ul {
list-style: none;
}
blockquote, q {
blockquote,
q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
content: none;
}
table {

View File

@ -0,0 +1 @@