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; --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-background-color: #141414;
--src-block-border-color: #84828f; --src-block-border-color: #84828f;
@ -23,9 +24,11 @@
body { body {
color: var(--site-text-color); color: var(--site-text-color);
background-color: var(--site-background-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? */ /* TODO: Should I use a different color for links? */
color: var(--site-text-color); color: var(--site-text-color);
} }
@ -47,7 +50,8 @@ body {
font-weight: 600; font-weight: 600;
text-decoration: none; text-decoration: none;
&:link, &:visited { &:link,
&:visited {
color: var(--site-text-color); color: var(--site-text-color);
} }
} }
@ -72,7 +76,7 @@ body {
/* A blog post in a blog stream (for example, the homepage). */ /* A blog post in a blog stream (for example, the homepage). */
.blog_stream_post { .blog_stream_post {
background: #1F1F1F; background: #1f1f1f;
padding: 1rem 0.2rem; padding: 1rem 0.2rem;
} }
@ -82,7 +86,6 @@ body {
padding-bottom: 1rem; padding-bottom: 1rem;
} }
p { p {
margin: 1rem 0; margin: 1rem 0;
} }
@ -119,7 +122,8 @@ body {
font-size: 1rem; font-size: 1rem;
} }
.code, .verbatim { .code,
.verbatim {
font-family: var(--src-font-family); font-family: var(--src-font-family);
font-size: 1rem; font-size: 1rem;
} }
@ -130,7 +134,8 @@ body {
margin: 1rem 0 1rem 2rem; margin: 1rem 0 1rem 2rem;
} }
h2, h3 { h2,
h3 {
margin: 1rem 0; margin: 1rem 0;
padding-bottom: 0.5rem; padding-bottom: 0.5rem;
} }

View File

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

View File

@ -0,0 +1 @@