1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

CSS: clean up to match stylelint, csslint

This commit is contained in:
rohan kumar 2020-12-12 21:05:25 -08:00
parent 40ea94c33b
commit 74cb64baa1
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 257 additions and 62 deletions

View file

@ -1,5 +1,5 @@
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
html{ html {
background: black; background: black;
color: white; color: white;
} }
@ -11,9 +11,9 @@
hr { hr {
border-color: #5c5c5c; border-color: #5c5c5c;
} }
pre, pre,
code { code {
border: 1px solid #333; border: 1px solid #333;
} }
} }

View file

@ -25,6 +25,7 @@ header nav ul li {
display: inline; display: inline;
padding: 0 0.25rem; padding: 0 0.25rem;
} }
.home { .home {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;
@ -41,12 +42,12 @@ main .posts li {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
/* single.html styles */
h1 { h1 {
font-size: 1.5rem; font-size: 1.5rem;
line-height: 2rem; line-height: 2rem;
margin: 1.5rem 0 1rem; margin: 1.5rem 0 1rem;
} }
h2 { h2 {
font-size: 1.25rem; font-size: 1.25rem;
margin: 1.5rem 0 1rem; margin: 1.5rem 0 1rem;

View file

@ -1,59 +1,253 @@
/* Background */ .chroma { color: #f8f8f2; background-color: #272822 } /* Background */
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } .chroma {
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } background-color: #272822;
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; } color: #f8f8f2;
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } }
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } /* Error */
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f } .chroma .err {
/* Keyword */ .chroma .k { color: #66d9ef } background-color: #1e0010;
/* KeywordConstant */ .chroma .kc { color: #66d9ef } color: #960050;
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } }
/* KeywordNamespace */ .chroma .kn { color: #f92672 } /* LineTableTD */
/* KeywordPseudo */ .chroma .kp { color: #66d9ef } .chroma .lntd {
/* KeywordReserved */ .chroma .kr { color: #66d9ef } border: 0;
/* KeywordType */ .chroma .kt { color: #66d9ef } margin: 0;
/* NameAttribute */ .chroma .na { color: #a6e22e } padding: 0;
/* NameClass */ .chroma .nc { color: #a6e22e } vertical-align: top;
/* NameConstant */ .chroma .no { color: #66d9ef } }
/* NameDecorator */ .chroma .nd { color: #a6e22e } /* LineTable */
/* NameException */ .chroma .ne { color: #a6e22e } .chroma .lntable {
/* NameFunction */ .chroma .nf { color: #a6e22e } border: 0;
/* NameOther */ .chroma .nx { color: #a6e22e } border-spacing: 0;
/* NameTag */ .chroma .nt { color: #f92672 } display: block;
/* Literal */ .chroma .l { color: #ae81ff } margin: 0;
/* LiteralDate */ .chroma .ld { color: #e6db74 } overflow: auto;
/* LiteralString */ .chroma .s { color: #e6db74 } padding: 0;
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 } width: auto;
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 } }
/* LiteralStringChar */ .chroma .sc { color: #e6db74 } /* LineHighlight */
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 } .chroma .hl {
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 } background-color: #ffffcc;
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 } display: block;
/* LiteralStringEscape */ .chroma .se { color: #ae81ff } width: 100%;
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 } }
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 } /* LineNumbersTable */
/* LiteralStringOther */ .chroma .sx { color: #e6db74 } .chroma .lnt {
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 } color: #7f7f7f;
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 } margin-right: 0.4em;
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 } padding: 0 0.4em;
/* LiteralNumber */ .chroma .m { color: #ae81ff } }
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff } /* LineNumbers */
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff } .chroma .ln {
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff } color: #7f7f7f;
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff } margin-right: 0.4em;
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff } padding: 0 0.4em;
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff } }
/* Operator */ .chroma .o { color: #f92672 } /* Keyword */
/* OperatorWord */ .chroma .ow { color: #f92672 } .chroma .k {
/* Comment */ .chroma .c { color: #75715e } color: #66d9ef;
/* CommentHashbang */ .chroma .ch { color: #75715e } }
/* CommentMultiline */ .chroma .cm { color: #75715e } /* KeywordConstant */
/* CommentSingle */ .chroma .c1 { color: #75715e } .chroma .kc {
/* CommentSpecial */ .chroma .cs { color: #75715e } color: #66d9ef;
/* CommentPreproc */ .chroma .cp { color: #75715e } }
/* CommentPreprocFile */ .chroma .cpf { color: #75715e } /* KeywordDeclaration */
/* GenericDeleted */ .chroma .gd { color: #f92672 } .chroma .kd {
/* GenericEmph */ .chroma .ge { font-style: italic } color: #66d9ef;
/* GenericInserted */ .chroma .gi { color: #a6e22e } }
/* GenericStrong */ .chroma .gs { font-weight: bold } /* KeywordNamespace */
/* GenericSubheading */ .chroma .gu { color: #75715e } .chroma .kn {
color: #f92672;
}
/* KeywordPseudo */
.chroma .kp {
color: #66d9ef;
}
/* KeywordReserved */
.chroma .kr {
color: #66d9ef;
}
/* KeywordType */
.chroma .kt {
color: #66d9ef;
}
/* NameAttribute */
.chroma .na {
color: #a6e22e;
}
/* NameClass */
.chroma .nc {
color: #a6e22e;
}
/* NameConstant */
.chroma .no {
color: #66d9ef;
}
/* NameDecorator */
.chroma .nd {
color: #a6e22e;
}
/* NameException */
.chroma .ne {
color: #a6e22e;
}
/* NameFunction */
.chroma .nf {
color: #a6e22e;
}
/* NameOther */
.chroma .nx {
color: #a6e22e;
}
/* NameTag */
.chroma .nt {
color: #f92672;
}
/* Literal */
.chroma .l {
color: #ae81ff;
}
/* LiteralDate */
.chroma .ld {
color: #e6db74;
}
/* LiteralString */
.chroma .s {
color: #e6db74;
}
/* LiteralStringAffix */
.chroma .sa {
color: #e6db74;
}
/* LiteralStringBacktick */
.chroma .sb {
color: #e6db74;
}
/* LiteralStringChar */
.chroma .sc {
color: #e6db74;
}
/* LiteralStringDelimiter */
.chroma .dl {
color: #e6db74;
}
/* LiteralStringDoc */
.chroma .sd {
color: #e6db74;
}
/* LiteralStringDouble */
.chroma .s2 {
color: #e6db74;
}
/* LiteralStringEscape */
.chroma .se {
color: #ae81ff;
}
/* LiteralStringHeredoc */
.chroma .sh {
color: #e6db74;
}
/* LiteralStringInterpol */
.chroma .si {
color: #e6db74;
}
/* LiteralStringOther */
.chroma .sx {
color: #e6db74;
}
/* LiteralStringRegex */
.chroma .sr {
color: #e6db74;
}
/* LiteralStringSingle */
.chroma .s1 {
color: #e6db74;
}
/* LiteralStringSymbol */
.chroma .ss {
color: #e6db74;
}
/* LiteralNumber */
.chroma .m {
color: #ae81ff;
}
/* LiteralNumberBin */
.chroma .mb {
color: #ae81ff;
}
/* LiteralNumberFloat */
.chroma .mf {
color: #ae81ff;
}
/* LiteralNumberHex */
.chroma .mh {
color: #ae81ff;
}
/* LiteralNumberInteger */
.chroma .mi {
color: #ae81ff;
}
/* LiteralNumberIntegerLong */
.chroma .il {
color: #ae81ff;
}
/* LiteralNumberOct */
.chroma .mo {
color: #ae81ff;
}
/* Operator */
.chroma .o {
color: #f92672;
}
/* OperatorWord */
.chroma .ow {
color: #f92672;
}
/* Comment */
.chroma .c {
color: #75715e;
}
/* CommentHashbang */
.chroma .ch {
color: #75715e;
}
/* CommentMultiline */
.chroma .cm {
color: #75715e;
}
/* CommentSingle */
.chroma .c1 {
color: #75715e;
}
/* CommentSpecial */
.chroma .cs {
color: #75715e;
}
/* CommentPreproc */
.chroma .cp {
color: #75715e;
}
/* CommentPreprocFile */
.chroma .cpf {
color: #75715e;
}
/* GenericDeleted */
.chroma .gd {
color: #f92672;
}
/* GenericEmph */
.chroma .ge {
font-style: italic;
}
/* GenericInserted */
.chroma .gi {
color: #a6e22e;
}
/* GenericStrong */
.chroma .gs {
font-weight: bold;
}
/* GenericSubheading */
.chroma .gu {
color: #75715e;
}