added css for commento

This commit is contained in:
Gabriele Musco 2020-08-24 11:30:00 +02:00
parent c9316f4e91
commit 9b02fe074c
2 changed files with 48 additions and 1 deletions

View File

@ -181,3 +181,46 @@ ul {
margin: 5px 0; margin: 5px 0;
} }
} }
#commento {
color: $fg_color;
font-family: "JetBrains Mono", monospace;
textarea, #commento-markdown-help-root {
background: rgba(255, 255, 255, .05);
color: $fg_color;
border-radius: 0;
border: none;
td, td>*, td>*>* {
color: $fg_color;
pre {
font-family: "JetBrains Mono", monospace;
color: $dim_fg_color;
}
}
}
#commento-submit-button-root {
background: $accent_color;
color: $fg_color;
}
.commento-name {
color: $dim_fg_color;
}
.commento-sort-policy-buttons {
a {
border-bottom: none;
}
.commento-sort-policy-button-selected {
color: $accent_color;
}
}
.commento-card {
border-top: none;
margin: 25px 0;
}
.commento-body {
>*, *>*, >*>*>*, >*>*>*>*, >*>*>*>*>* {
color: $fg_color;
font-family: "JetBrains Mono", monospace;
}
}
}

View File

@ -14,7 +14,11 @@
{{ end }} {{ end }}
</article> </article>
{{ if .Site.Params.commento }} {{ if .Site.Params.commento }}
<script defer src="{{ .Site.Params.commento }}"></script> <script
defer
src="{{ .Site.Params.commento }}"
data-no-fonts="true"
></script>
<div id="commento"></div> <div id="commento"></div>
{{ end }} {{ end }}
{{ end }} {{ end }}