diff --git a/layouts/index.html b/layouts/index.html index 8a4b2b3..4f1c0b4 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,7 @@ {{ define "main" }} {{ range $index, $page := first 10 (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
- + {{ .Title }} {{ if .Params.tags }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7750d63..8cf122c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,22 +12,21 @@
- +
\ No newline at end of file diff --git a/layouts/partials/header_includes.html b/layouts/partials/header_includes.html index a2abd3b..97679c3 100644 --- a/layouts/partials/header_includes.html +++ b/layouts/partials/header_includes.html @@ -1,3 +1,5 @@ + + diff --git a/static/css/syntax.css b/static/css/syntax.css new file mode 100644 index 0000000..777c96a --- /dev/null +++ b/static/css/syntax.css @@ -0,0 +1,59 @@ +/* Background */ .chroma { color: #f8f8f2; background-color: #2e3436; border-radius: 3px; border: 1px dashed #777; } +/* Error */ .chroma .err { color: #960050; background-color: #1e0010 } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: 100%; overflow: auto; display: block; } +/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; display: block; } +/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; } +/* Keyword */ .chroma .k { color: #66d9ef } +/* KeywordConstant */ .chroma .kc { color: #66d9ef } +/* KeywordDeclaration */ .chroma .kd { color: #66d9ef } +/* KeywordNamespace */ .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 } diff --git a/static/css/tango.css b/static/css/tango.css new file mode 100644 index 0000000..62d82ca --- /dev/null +++ b/static/css/tango.css @@ -0,0 +1,88 @@ +/* +Tango theme CSS. +Based on Bulma framework, inspired by linux.org.ru Tango theme. +*/ + +body { + font-family: "Arial", sans-serif!important; + background-color: #2e3436!important; + color: #babdb6!important; +} + +h1, h2, h3, h4, h5, h6, a, p, strong, blockquote { + color: #babdb6!important; +} + +blockquote { + background-color: #2e3436!important; + font-style: italic; + border-left: 5px solid #555753!important; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Open Sans", sans-serif; +} + +.button { + color: #eeeeec!important; + text-decoration: none!important; +} + +a { + color: #729fcf!important; + text-decoration: underline!important; +} + +.is-size-3 a { + color: #babdb6!important; +} + +.tag:hover, .button:hover { + box-shadow: 0 0 1px 1px #729fcf!important; +} + +.tag, .button { + background: #555753!important; +} + +.tag a { + color: #fcaf3e!important; +} + +.left-block { + background-color: #272C2D!important; +} + +ul li { + list-style-type: bullets!important; +} + +thead { + background-color: #555753!important; +} + +td { + border: 1px solid #555753!important; +} + +th, thead:hover { + color: #babdb6!important; + font-weight: normal!important; + border: 1px solid #555753!important; +} + +tr:hover { + background-color: #5c3566!important; +} + +pre { + color: #f8f8f2; + background-color: #2e3436; + border-radius: 3px; + border: 1px dashed #777; +} + +.footer { + background-color: #2e3436!important; + color: #babdb6!important; +} \ No newline at end of file