Tango coloring for all supported elements
This commit is contained in:
parent
5b5619fa57
commit
6575335662
@ -1,7 +1,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ range $index, $page := first 10 (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
|
{{ range $index, $page := first 10 (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
|
||||||
<article>
|
<article>
|
||||||
<span class="is-size-2">
|
<span class="is-size-3">
|
||||||
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<div class="tags is-pulled-right">
|
<div class="tags is-pulled-right">
|
||||||
|
@ -12,22 +12,21 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-3">
|
<div class="column is-3">
|
||||||
<nav class="panel">
|
<div class="columns">
|
||||||
<p class="panel-heading">
|
<div class="column left-block">
|
||||||
|
<p class="is-size-3">
|
||||||
</p>
|
<a href="{{ relURL "/" }}">{{ .Site.Title | markdownify }}</a>
|
||||||
<div class="panel-block">
|
</p>
|
||||||
<div class="media">
|
<i class="is-size-6">{{ .Site.Params.description }} </i>
|
||||||
<div class="media-content">
|
<ul>
|
||||||
<p class="title is-4"><a href="{{ relURL "/" }}">{{ .Site.Title | markdownify }}</a></p>
|
{{ range .Site.Menus.main }}
|
||||||
<p class="subtitle is-5">{{ .Site.Params.description }} </p>
|
<li>
|
||||||
</div>
|
<a href="{{.URL}}">{{ .Name }}</a>
|
||||||
</div>
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{{ range .Site.Menus.main }}
|
</div>
|
||||||
<a class="panel-block" href="{{.URL}}">{{ .Name }}</a>
|
|
||||||
{{ end }}
|
|
||||||
</nav>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-9">
|
<div class="column is-9">
|
||||||
<main>
|
<main>
|
@ -1,3 +1,5 @@
|
|||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" />
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="{{ "css/bulma.css" | relURL}}" />
|
<link rel="stylesheet" type="text/css" href="{{ "css/bulma.css" | relURL}}" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="{{ "css/tango.css" | relURL}}" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="{{ "css/syntax.css" | relURL}}" />
|
||||||
|
59
static/css/syntax.css
Normal file
59
static/css/syntax.css
Normal file
@ -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 }
|
88
static/css/tango.css
Normal file
88
static/css/tango.css
Normal file
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user