Add site params content_max_width, metadata_max_width
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
<style>
|
||||
article > div {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -21,6 +17,22 @@ h1:hover .paige-header-link, h2:hover .paige-header-link, h3:hover .paige-header
|
||||
display: inline;
|
||||
}
|
||||
|
||||
section[class="paige-content"] > div {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
{{ with .Site.Params.paige.content_max_width }}
|
||||
section[class="paige-content"], section[class="paige-toc"] {
|
||||
max-width: {{ . }};
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.paige.metadata_max_width }}
|
||||
section[class="paige-metadata"] {
|
||||
max-width: {{ . }};
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
.paige-header-link {
|
||||
display: none;
|
||||
margin-left: 0.25ch;
|
||||
|
Reference in New Issue
Block a user