theme colors now configured via CSS file, gyorb/master #40
parent
84e7c48409
commit
e65c6a3b8f
@ -1,63 +0,0 @@
|
||||
body {
|
||||
background-color: {{ .Param "colors.background" }};
|
||||
color: {{ .Param "colors.text" }};
|
||||
}
|
||||
|
||||
a { color: {{ .Param "colors.text" }}; }
|
||||
|
||||
pre {
|
||||
background: {{ .Param "colors.code-quote-bg" }};
|
||||
border: 1px solid {{ .Param "colors.text" }};
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: {{ .Param "colors.code-quote-bg" }};
|
||||
border-left: 3px solid {{ .Param "colors.text" }};
|
||||
}
|
||||
|
||||
table {
|
||||
margin: 1em auto;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
table, th, td {
|
||||
border: 1px solid {{ .Param "colors.text" }};
|
||||
}
|
||||
|
||||
th {
|
||||
background: {{ .Param "colors.text" }};
|
||||
color: {{ .Param "colors.background" }};
|
||||
}
|
||||
|
||||
.siteTitle a { color: {{ .Param "colors.main" }}; }
|
||||
|
||||
.post .content h1{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content h2{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content h3{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content h4{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content h5{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content h6{ color: {{ .Param "colors.main" }}; }
|
||||
.post .content a:hover { color: {{ .Param "colors.main" }}; }
|
||||
.social-link:hover { color: {{ .Param "colors.main" }}; }
|
||||
.nav-item-title:hover { color: {{ .Param "colors.main" }}; }
|
||||
.tag a:hover { color: {{ .Param "colors.main" }}; }
|
||||
.copyright { color: {{ .Param "colors.copyright" }} }
|
||||
.poweredby { color: {{ .Param "colors.copyright" }} }
|
||||
.poweredby a { color: {{ .Param "colors.copyright" }}; }
|
||||
.post-preview .title a{ color: {{ .Param "colors.main" }}; }
|
||||
.content-item a:hover{
|
||||
text-decoration: underline;
|
||||
color: {{ .Param "colors.main" }};
|
||||
}
|
||||
.post-list .title { color: {{ .Param "colors.main" }}; }
|
||||
.rmore { color: {{ .Param "colors.text" }}; }
|
||||
.rmore:hover { color: {{ .Param "colors.main" }}; }
|
||||
.terms .term a:hover {
|
||||
text-decoration: underline;
|
||||
color: {{ .Param "colors.main" }};
|
||||
}
|
Loading…
Reference in New Issue