General layout/formatting improvements
This commit is contained in:
parent
bcd78d9cdf
commit
c331927f2d
@ -24,8 +24,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<div class="header-right">
|
<div class="header-right">
|
||||||
{{- if .Site.Params.ThemeStyleSwitcher }}
|
{{- if .Site.Params.ThemeStyleSwitcher }}
|
||||||
<div id="change-theme-button" style="display:none;" class="clickable-header-label">
|
<div id="change-theme-button" style="display:none;" class="clickable-header-label" onclick="toggle_theme()">
|
||||||
<img class="color-adapting-image" width="30" src="" onclick="toggle_theme()">
|
<img class="color-adapting-image" width="30" src="" alt="change theme button">
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<label id="show-hide-menu-label" class="clickable-header-label" for="toggle-1">
|
<label id="show-hide-menu-label" class="clickable-header-label" for="toggle-1">
|
||||||
|
@ -65,6 +65,8 @@ a:hover {
|
|||||||
/* Improvements to Hugo Chroma syntax highlighting */
|
/* Improvements to Hugo Chroma syntax highlighting */
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
/* set the tab size for browsers that support it */
|
/* set the tab size for browsers that support it */
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
-moz-tab-size: 4;
|
-moz-tab-size: 4;
|
||||||
@ -235,6 +237,7 @@ blockquote {
|
|||||||
.links {
|
.links {
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
line-height: 1;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: 9pt;
|
margin-top: 9pt;
|
||||||
@ -311,7 +314,7 @@ blockquote {
|
|||||||
body {
|
body {
|
||||||
font-size: 13pt;
|
font-size: 13pt;
|
||||||
font-family: Lato, Arial, Helvetica, sans-serif;
|
font-family: Lato, Arial, Helvetica, sans-serif;
|
||||||
line-height: 1.4em;
|
line-height: 1.4;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -531,15 +534,15 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-content {
|
.header-content {
|
||||||
margin: 10pt;
|
margin: 8pt 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.body-content {
|
.body-content {
|
||||||
margin: 10pt;
|
margin: 10pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title a {
|
||||||
font-size: 130%
|
vertical-align: -10%; /* we don't want the font descender space to be centered as well */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user