Browse Source

update css and format html file

master
Adam Veldhousen 2 months ago
parent
commit
7265438890
Signed by: adam <adamveld12@gmail.com> GPG Key ID: 6DB29003C6DD1E4B
3 changed files with 8 additions and 7 deletions
  1. +1
    -4
      assets/css/layout.scss
  2. +5
    -0
      assets/css/syntax_edit.css
  3. +2
    -3
      layouts/_default/baseof.html

+ 1
- 4
assets/css/layout.scss View File

@@ -1,6 +1,7 @@
@import "nav";
@import "list";
@import "syntax";
@import "syntax_edit";

html,
body {
@@ -68,10 +69,6 @@ p {
.highlight {
line-height: 1.5em;
margin: 15px 0;

.chroma {
padding-right: 10px;
}
}

#openring {


+ 5
- 0
assets/css/syntax_edit.css View File

@@ -0,0 +1,5 @@
/* LineHighlight */ .chroma .hl { background-color: white; color: black }
/* Comment */ .chroma .c { color: white }
/* CommentHashbang */ .chroma .ch { color: white }
/* CommentMultiline */ .chroma .cm { color: white }
/* CommentSingle */ .chroma .c1 { color: white }

+ 2
- 3
layouts/_default/baseof.html View File

@@ -12,8 +12,8 @@
<title>{{ .Title }}</title>

{{ $style := resources.Get (printf "css/colors-%s.scss" (.Site.Params.scheme | default "dark")) | toCSS | minify | fingerprint }}
<link rel="preload" href="{{ $style.Permalink }}" as="style">

<link rel="preload" href="{{ $style.Permalink }}" as="style">
<link rel="stylesheet" href="{{ $style.Permalink }}">

{{ partial "head.html" . }}
@@ -37,7 +37,6 @@
<footer id="footer">
{{ partial "foot.html" . }}
</footer>
</div>

</div>
</body>
</html>

Loading…
Cancel
Save