Compare commits
No commits in common. "ddf9a68ffcde326183528a22aacb062e1d6b580c" and "942fc7a6a9b338d6a31cde9d3519ce9cc630ac93" have entirely different histories.
ddf9a68ffc
...
942fc7a6a9
|
@ -1,463 +1,84 @@
|
||||||
.codehilite {
|
pre { line-height: 125%; background: #0d1117; color: #c9d1d9 }
|
||||||
padding-bottom: 1rem;
|
td.linenos .normal { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
|
||||||
}
|
span.linenos { color: #6e7681; background-color: #0d1117; padding-left: 5px; padding-right: 5px; }
|
||||||
|
td.linenos .special { color: #c9d1d9; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
|
||||||
.copy-code-button {
|
span.linenos.special { color: #c9d1d9; background-color: #6e7681; padding-left: 5px; padding-right: 5px; }
|
||||||
cursor: pointer;
|
.codehilite .hll { background-color: #6e7681 }
|
||||||
display: block;
|
.codehilite .c { color: #8b949e; font-style: italic } /* Comment */
|
||||||
margin: 1rem 0 -2px auto;
|
.codehilite .err { color: #f85149 } /* Error */
|
||||||
font-size: 1.1rem !important;
|
.codehilite .esc { color: #c9d1d9 } /* Escape */
|
||||||
}
|
.codehilite .g { color: #c9d1d9 } /* Generic */
|
||||||
|
.codehilite .k { color: #ff7b72 } /* Keyword */
|
||||||
pre {
|
.codehilite .l { color: #a5d6ff } /* Literal */
|
||||||
line-height: 125%;
|
.codehilite .n { color: #c9d1d9 } /* Name */
|
||||||
background: #0d1117;
|
.codehilite .o { color: #ff7b72; font-weight: bold } /* Operator */
|
||||||
color: #c9d1d9
|
.codehilite .x { color: #c9d1d9 } /* Other */
|
||||||
}
|
.codehilite .p { color: #c9d1d9 } /* Punctuation */
|
||||||
|
.codehilite .ch { color: #8b949e; font-style: italic } /* Comment.Hashbang */
|
||||||
td.linenos .normal {
|
.codehilite .cm { color: #8b949e; font-style: italic } /* Comment.Multiline */
|
||||||
color: #6e7681;
|
.codehilite .cp { color: #8b949e; font-weight: bold; font-style: italic } /* Comment.Preproc */
|
||||||
background-color: #0d1117;
|
.codehilite .cpf { color: #8b949e; font-style: italic } /* Comment.PreprocFile */
|
||||||
padding-left: 5px;
|
.codehilite .c1 { color: #8b949e; font-style: italic } /* Comment.Single */
|
||||||
padding-right: 5px;
|
.codehilite .cs { color: #8b949e; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||||
}
|
.codehilite .gd { color: #ffa198; background-color: #490202 } /* Generic.Deleted */
|
||||||
|
.codehilite .ge { color: #c9d1d9; font-style: italic } /* Generic.Emph */
|
||||||
span.linenos {
|
.codehilite .gr { color: #ffa198 } /* Generic.Error */
|
||||||
color: #6e7681;
|
.codehilite .gh { color: #79c0ff; font-weight: bold } /* Generic.Heading */
|
||||||
background-color: #0d1117;
|
.codehilite .gi { color: #56d364; background-color: #0f5323 } /* Generic.Inserted */
|
||||||
padding-left: 5px;
|
.codehilite .go { color: #8b949e } /* Generic.Output */
|
||||||
padding-right: 5px;
|
.codehilite .gp { color: #8b949e } /* Generic.Prompt */
|
||||||
}
|
.codehilite .gs { color: #c9d1d9; font-weight: bold } /* Generic.Strong */
|
||||||
|
.codehilite .gu { color: #79c0ff } /* Generic.Subheading */
|
||||||
td.linenos .special {
|
.codehilite .gt { color: #ff7b72 } /* Generic.Traceback */
|
||||||
color: #c9d1d9;
|
.codehilite .g-Underline { color: #c9d1d9; text-decoration: underline } /* Generic.Underline */
|
||||||
background-color: #6e7681;
|
.codehilite .kc { color: #79c0ff } /* Keyword.Constant */
|
||||||
padding-left: 5px;
|
.codehilite .kd { color: #ff7b72 } /* Keyword.Declaration */
|
||||||
padding-right: 5px;
|
.codehilite .kn { color: #ff7b72 } /* Keyword.Namespace */
|
||||||
}
|
.codehilite .kp { color: #79c0ff } /* Keyword.Pseudo */
|
||||||
|
.codehilite .kr { color: #ff7b72 } /* Keyword.Reserved */
|
||||||
span.linenos.special {
|
.codehilite .kt { color: #ff7b72 } /* Keyword.Type */
|
||||||
color: #c9d1d9;
|
.codehilite .ld { color: #79c0ff } /* Literal.Date */
|
||||||
background-color: #6e7681;
|
.codehilite .m { color: #a5d6ff } /* Literal.Number */
|
||||||
padding-left: 5px;
|
.codehilite .s { color: #a5d6ff } /* Literal.String */
|
||||||
padding-right: 5px;
|
.codehilite .na { color: #c9d1d9 } /* Name.Attribute */
|
||||||
}
|
.codehilite .nb { color: #c9d1d9 } /* Name.Builtin */
|
||||||
|
.codehilite .nc { color: #f0883e; font-weight: bold } /* Name.Class */
|
||||||
.codehilite .hll {
|
.codehilite .no { color: #79c0ff; font-weight: bold } /* Name.Constant */
|
||||||
background-color: #6e7681
|
.codehilite .nd { color: #d2a8ff; font-weight: bold } /* Name.Decorator */
|
||||||
}
|
.codehilite .ni { color: #ffa657 } /* Name.Entity */
|
||||||
|
.codehilite .ne { color: #f0883e; font-weight: bold } /* Name.Exception */
|
||||||
.codehilite .c {
|
.codehilite .nf { color: #d2a8ff; font-weight: bold } /* Name.Function */
|
||||||
color: #8b949e;
|
.codehilite .nl { color: #79c0ff; font-weight: bold } /* Name.Label */
|
||||||
font-style: italic
|
.codehilite .nn { color: #ff7b72 } /* Name.Namespace */
|
||||||
}
|
.codehilite .nx { color: #c9d1d9 } /* Name.Other */
|
||||||
|
.codehilite .py { color: #79c0ff } /* Name.Property */
|
||||||
/* Comment */
|
.codehilite .nt { color: #7ee787 } /* Name.Tag */
|
||||||
.codehilite .err {
|
.codehilite .nv { color: #79c0ff } /* Name.Variable */
|
||||||
color: #f85149
|
.codehilite .ow { color: #ff7b72; font-weight: bold } /* Operator.Word */
|
||||||
}
|
.codehilite .pm { color: #c9d1d9 } /* Punctuation.Marker */
|
||||||
|
.codehilite .w { color: #6e7681 } /* Text.Whitespace */
|
||||||
/* Error */
|
.codehilite .mb { color: #a5d6ff } /* Literal.Number.Bin */
|
||||||
.codehilite .esc {
|
.codehilite .mf { color: #a5d6ff } /* Literal.Number.Float */
|
||||||
color: #c9d1d9
|
.codehilite .mh { color: #a5d6ff } /* Literal.Number.Hex */
|
||||||
}
|
.codehilite .mi { color: #a5d6ff } /* Literal.Number.Integer */
|
||||||
|
.codehilite .mo { color: #a5d6ff } /* Literal.Number.Oct */
|
||||||
/* Escape */
|
.codehilite .sa { color: #79c0ff } /* Literal.String.Affix */
|
||||||
.codehilite .g {
|
.codehilite .sb { color: #a5d6ff } /* Literal.String.Backtick */
|
||||||
color: #c9d1d9
|
.codehilite .sc { color: #a5d6ff } /* Literal.String.Char */
|
||||||
}
|
.codehilite .dl { color: #79c0ff } /* Literal.String.Delimiter */
|
||||||
|
.codehilite .sd { color: #a5d6ff } /* Literal.String.Doc */
|
||||||
/* Generic */
|
.codehilite .s2 { color: #a5d6ff } /* Literal.String.Double */
|
||||||
.codehilite .k {
|
.codehilite .se { color: #79c0ff } /* Literal.String.Escape */
|
||||||
color: #ff7b72
|
.codehilite .sh { color: #79c0ff } /* Literal.String.Heredoc */
|
||||||
}
|
.codehilite .si { color: #a5d6ff } /* Literal.String.Interpol */
|
||||||
|
.codehilite .sx { color: #a5d6ff } /* Literal.String.Other */
|
||||||
/* Keyword */
|
.codehilite .sr { color: #79c0ff } /* Literal.String.Regex */
|
||||||
.codehilite .l {
|
.codehilite .s1 { color: #a5d6ff } /* Literal.String.Single */
|
||||||
color: #a5d6ff
|
.codehilite .ss { color: #a5d6ff } /* Literal.String.Symbol */
|
||||||
}
|
.codehilite .bp { color: #c9d1d9 } /* Name.Builtin.Pseudo */
|
||||||
|
.codehilite .fm { color: #d2a8ff; font-weight: bold } /* Name.Function.Magic */
|
||||||
/* Literal */
|
.codehilite .vc { color: #79c0ff } /* Name.Variable.Class */
|
||||||
.codehilite .n {
|
.codehilite .vg { color: #79c0ff } /* Name.Variable.Global */
|
||||||
color: #c9d1d9
|
.codehilite .vi { color: #79c0ff } /* Name.Variable.Instance */
|
||||||
}
|
.codehilite .vm { color: #79c0ff } /* Name.Variable.Magic */
|
||||||
|
.codehilite .il { color: #a5d6ff } /* Literal.Number.Integer.Long */
|
||||||
/* Name */
|
|
||||||
.codehilite .o {
|
|
||||||
color: #ff7b72;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Operator */
|
|
||||||
.codehilite .x {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Other */
|
|
||||||
.codehilite .p {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Punctuation */
|
|
||||||
.codehilite .ch {
|
|
||||||
color: #8b949e;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.Hashbang */
|
|
||||||
.codehilite .cm {
|
|
||||||
color: #8b949e;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.Multiline */
|
|
||||||
.codehilite .cp {
|
|
||||||
color: #8b949e;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.Preproc */
|
|
||||||
.codehilite .cpf {
|
|
||||||
color: #8b949e;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.PreprocFile */
|
|
||||||
.codehilite .c1 {
|
|
||||||
color: #8b949e;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.Single */
|
|
||||||
.codehilite .cs {
|
|
||||||
color: #8b949e;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment.Special */
|
|
||||||
.codehilite .gd {
|
|
||||||
color: #ffa198;
|
|
||||||
background-color: #490202
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Deleted */
|
|
||||||
.codehilite .ge {
|
|
||||||
color: #c9d1d9;
|
|
||||||
font-style: italic
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Emph */
|
|
||||||
.codehilite .gr {
|
|
||||||
color: #ffa198
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Error */
|
|
||||||
.codehilite .gh {
|
|
||||||
color: #79c0ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Heading */
|
|
||||||
.codehilite .gi {
|
|
||||||
color: #56d364;
|
|
||||||
background-color: #0f5323
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Inserted */
|
|
||||||
.codehilite .go {
|
|
||||||
color: #8b949e
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Output */
|
|
||||||
.codehilite .gp {
|
|
||||||
color: #8b949e
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Prompt */
|
|
||||||
.codehilite .gs {
|
|
||||||
color: #c9d1d9;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Strong */
|
|
||||||
.codehilite .gu {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Subheading */
|
|
||||||
.codehilite .gt {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Traceback */
|
|
||||||
.codehilite .g-Underline {
|
|
||||||
color: #c9d1d9;
|
|
||||||
text-decoration: underline
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Generic.Underline */
|
|
||||||
.codehilite .kc {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Constant */
|
|
||||||
.codehilite .kd {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Declaration */
|
|
||||||
.codehilite .kn {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Namespace */
|
|
||||||
.codehilite .kp {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Pseudo */
|
|
||||||
.codehilite .kr {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Reserved */
|
|
||||||
.codehilite .kt {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword.Type */
|
|
||||||
.codehilite .ld {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Date */
|
|
||||||
.codehilite .m {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number */
|
|
||||||
.codehilite .s {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String */
|
|
||||||
.codehilite .na {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Attribute */
|
|
||||||
.codehilite .nb {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Builtin */
|
|
||||||
.codehilite .nc {
|
|
||||||
color: #f0883e;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Class */
|
|
||||||
.codehilite .no {
|
|
||||||
color: #79c0ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Constant */
|
|
||||||
.codehilite .nd {
|
|
||||||
color: #d2a8ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Decorator */
|
|
||||||
.codehilite .ni {
|
|
||||||
color: #ffa657
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Entity */
|
|
||||||
.codehilite .ne {
|
|
||||||
color: #f0883e;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Exception */
|
|
||||||
.codehilite .nf {
|
|
||||||
color: #d2a8ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Function */
|
|
||||||
.codehilite .nl {
|
|
||||||
color: #79c0ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Label */
|
|
||||||
.codehilite .nn {
|
|
||||||
color: #ff7b72
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Namespace */
|
|
||||||
.codehilite .nx {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Other */
|
|
||||||
.codehilite .py {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Property */
|
|
||||||
.codehilite .nt {
|
|
||||||
color: #7ee787
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Tag */
|
|
||||||
.codehilite .nv {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Variable */
|
|
||||||
.codehilite .ow {
|
|
||||||
color: #ff7b72;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Operator.Word */
|
|
||||||
.codehilite .pm {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Punctuation.Marker */
|
|
||||||
.codehilite .w {
|
|
||||||
color: #6e7681
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Text.Whitespace */
|
|
||||||
.codehilite .mb {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Bin */
|
|
||||||
.codehilite .mf {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Float */
|
|
||||||
.codehilite .mh {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Hex */
|
|
||||||
.codehilite .mi {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Integer */
|
|
||||||
.codehilite .mo {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Oct */
|
|
||||||
.codehilite .sa {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Affix */
|
|
||||||
.codehilite .sb {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Backtick */
|
|
||||||
.codehilite .sc {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Char */
|
|
||||||
.codehilite .dl {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Delimiter */
|
|
||||||
.codehilite .sd {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Doc */
|
|
||||||
.codehilite .s2 {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Double */
|
|
||||||
.codehilite .se {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Escape */
|
|
||||||
.codehilite .sh {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Heredoc */
|
|
||||||
.codehilite .si {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Interpol */
|
|
||||||
.codehilite .sx {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Other */
|
|
||||||
.codehilite .sr {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Regex */
|
|
||||||
.codehilite .s1 {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Single */
|
|
||||||
.codehilite .ss {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.String.Symbol */
|
|
||||||
.codehilite .bp {
|
|
||||||
color: #c9d1d9
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Builtin.Pseudo */
|
|
||||||
.codehilite .fm {
|
|
||||||
color: #d2a8ff;
|
|
||||||
font-weight: bold
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Function.Magic */
|
|
||||||
.codehilite .vc {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Variable.Class */
|
|
||||||
.codehilite .vg {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Variable.Global */
|
|
||||||
.codehilite .vi {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Variable.Instance */
|
|
||||||
.codehilite .vm {
|
|
||||||
color: #79c0ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name.Variable.Magic */
|
|
||||||
.codehilite .il {
|
|
||||||
color: #a5d6ff
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal.Number.Integer.Long */
|
|
||||||
|
|
|
@ -37,6 +37,13 @@ blockquote {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.copy-code-button {
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
margin: 1rem 0 -2px auto;
|
||||||
|
font-size: 1.1rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
border: 0.1;
|
border: 0.1;
|
||||||
|
@ -63,9 +70,7 @@ button {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.lang {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Блок для правильной вёрстки аудио/видео начало */
|
/* Блок для правильной вёрстки аудио/видео начало */
|
||||||
/* Применяем max-width для замещаемых элементов и контролов формы. */
|
/* Применяем max-width для замещаемых элементов и контролов формы. */
|
||||||
|
@ -121,12 +126,6 @@ body {
|
||||||
grid-template-columns: repeat(6, 1fr);
|
grid-template-columns: repeat(6, 1fr);
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
|
||||||
display: grid;
|
|
||||||
align-content: space-between;
|
|
||||||
grid-row-end: 2
|
|
||||||
}
|
|
||||||
|
|
||||||
header,
|
header,
|
||||||
footer,
|
footer,
|
||||||
main {
|
main {
|
||||||
|
@ -136,17 +135,7 @@ main {
|
||||||
.social-icons {
|
.social-icons {
|
||||||
grid-column-start: 3;
|
grid-column-start: 3;
|
||||||
grid-column-end: 5;
|
grid-column-end: 5;
|
||||||
align-self: start;
|
|
||||||
justify-self: end;
|
justify-self: end;
|
||||||
grid-row-end: 2
|
|
||||||
}
|
|
||||||
|
|
||||||
#search {
|
|
||||||
grid-column-start: 4;
|
|
||||||
grid-column-end: 5;
|
|
||||||
justify-self: end;
|
|
||||||
align-self: end;
|
|
||||||
grid-row-end: 2
|
|
||||||
}
|
}
|
||||||
|
|
||||||
footer,
|
footer,
|
||||||
|
@ -179,16 +168,13 @@ main,
|
||||||
|
|
||||||
header {
|
header {
|
||||||
grid-column-end: 3
|
grid-column-end: 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width:50em) {
|
@media screen and (max-width:50em) {
|
||||||
|
|
||||||
header {
|
header,
|
||||||
grid-column-end: 4;
|
main {
|
||||||
}
|
|
||||||
|
|
||||||
main, #search, .social-icons {
|
|
||||||
grid-column-end: 7
|
grid-column-end: 7
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -23,9 +23,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</main>
|
</main>
|
||||||
{% include "components/social.j2" %}
|
{% include "components/social.j2" %}
|
||||||
{% if config.pagefind %}
|
|
||||||
{% include "components/search.j2" %}
|
|
||||||
{% endif %}
|
|
||||||
{% include "components/sidebar.j2" %}
|
{% include "components/sidebar.j2" %}
|
||||||
{% include "components/footer.j2" %}
|
{% include "components/footer.j2" %}
|
||||||
{% include "components/script.j2" %}
|
{% include "components/script.j2" %}
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
<p class="lang">
|
|
||||||
{% if home %}
|
{% if home %}
|
||||||
🌐
|
<p>🌐
|
||||||
{% for key, value in config.languages.items() %}
|
{% for key, value in config.languages.items() %}
|
||||||
{% if key != language %}
|
{% if key != language %}
|
||||||
<a href="/{{ key }}">{{ value.language_name }}</a>
|
<a href="/{{ key }}">{{ value.language_name }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<p>
|
||||||
🌐
|
🌐
|
||||||
{% for key, value in config.languages.items() %}
|
{% for key, value in config.languages.items() %}
|
||||||
{% if key != language %}
|
{% if key != language %}
|
||||||
|
@ -14,5 +15,5 @@
|
||||||
value.language_name }}</a>
|
value.language_name }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
|
||||||
</p>
|
</p>
|
||||||
|
{% endif %}
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
<meta name="title" content="{{ title }}" />
|
<meta name="title" content="{{ title }}" />
|
||||||
<meta name="description" content="{{ description | striptags }}" />
|
<meta name="description" content="{{ description | striptags }}" />
|
||||||
<link href="/css/style.css" rel="stylesheet">
|
<link href="/css/style.css" rel="stylesheet">
|
||||||
{% for include in config['css_includes'] %}
|
{% for include in config['css_includes'] %}
|
||||||
<link href="/css/{{ include }}" rel="stylesheet">
|
<link href="/css/{{ include }}" rel="stylesheet">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if config.custom_css %}
|
{% if config.custom_css %}
|
||||||
<link href="/css/{{ config.custom_css }}" rel="stylesheet">
|
<link href="/css/{{ config.custom_css }}" rel="stylesheet">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<header>
|
<header>
|
||||||
<a href="/{{ language }}/">
|
<a href="/{{ language }}">
|
||||||
<img src="/logo.svg" alt="{{ config['languages'][language]['title'] }}" />
|
<img src="/logo.svg" alt="{{ config['languages'][language]['title'] }}" />
|
||||||
<h3>{{ config['languages'][language]['description'] }}</h3>
|
<h3>{{ config['languages'][language]['description'] }}</h3>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<article>
|
<article>
|
||||||
<h2>
|
<h2>
|
||||||
<a class="index-title" href="/{{ language }}{{ url }}/" rel="permalink" title="{{ post.title }}">{{ post.title }}</a>
|
<a class="index-title" href="/{{ language }}{{ url }}" rel="permalink" title="{{ post.title }}">{{ post.title }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
{% include "components/author_and_date.j2" %}
|
{% include "components/author_and_date.j2" %}
|
||||||
{% include "components/image.j2" %}
|
{% include "components/image.j2" %}
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
<div id="search"></div>
|
|
||||||
<link href="/_pagefind/pagefind-ui.css" rel="stylesheet">
|
|
||||||
<script src="/_pagefind/pagefind-ui.js" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
window.addEventListener('DOMContentLoaded', (event) => {
|
|
||||||
new PagefindUI(
|
|
||||||
{
|
|
||||||
element: "#search",
|
|
||||||
translations: {
|
|
||||||
"placeholder": "",
|
|
||||||
"clear_search": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
});
|
|
||||||
</script>
|
|
|
@ -3,7 +3,7 @@
|
||||||
{% for section, urls in posts[language].items() %}
|
{% for section, urls in posts[language].items() %}
|
||||||
{% if section != "/" %}
|
{% if section != "/" %}
|
||||||
<p>
|
<p>
|
||||||
<a href="/{{ language}}/{{ section }}/">{{ translate(section, language) }} ({{ urls | length }})</a>
|
<a href="/{{ language}}/{{ section }}">{{ translate(section, language) }} ({{ urls | length }})</a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
<article data-pagefind-body>
|
<article>
|
||||||
<header>
|
<h1>{{ post.title }}</h1>
|
||||||
<h1>{{ post.title }}</h1>
|
|
||||||
</header>
|
|
||||||
{% include "components/author_and_date.j2" %}
|
{% include "components/author_and_date.j2" %}
|
||||||
{% include "components/image.j2" %}
|
{% include "components/image.j2" %}
|
||||||
{{ post.content }}
|
{{ post.content }}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
<div class="social-icons">
|
<div class="social-icons">
|
||||||
{% if config.languages[language].youtube %}
|
{% if config.languages[language].youtube %}
|
||||||
<a href="https://youtube.com/{{ config.languages[language].youtube }}">
|
<a href="https://youtube.com/{{ config.languages[language].youtube }}">
|
||||||
<img src="/images/youtube.svg" alt="{{ config.languages[language].title }}" width="60" />
|
<img src="/images/youtube.svg"
|
||||||
|
alt="{{ config.languages[language].title }}" width="100" />
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.languages[language].github %}
|
{% if config.languages[language].github %}
|
||||||
<a href="https://github.com/{{ config.languages[language].github }}">
|
<a href="https://github.com/{{ config.languages[language].github }}">
|
||||||
<img src="/images/github.svg" alt="{{ config.languages[language].title }}" width="60" />
|
<img src="/images/github.svg"
|
||||||
|
alt="{{ config.languages[language].title }}" width="100" />
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.languages[language].telegram %}
|
{% if config.languages[language].telegram %}
|
||||||
<a href="https://t.me/{{ config.languages[language].telegram }}">
|
<a href="https://t.me/{{ config.languages[language].telegram }}">
|
||||||
<img src="/images/telegram.svg" alt="{{ config.languages[language].title }}" width="60" />
|
<img src="/images/telegram.svg"
|
||||||
|
alt="{{ config.languages[language].title }}" width="100" />
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue