added parameter for centered view

Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
This commit is contained in:
Felix Nüsse 2019-02-03 16:00:13 +01:00
parent e6f8847460
commit 0d2a41242a
No known key found for this signature in database
GPG Key ID: 2089A3431243E819
8 changed files with 21 additions and 8 deletions

View File

@ -7,7 +7,12 @@
{{ partial "head.html" . }}
</head>
<body class="">
<div class="container">
{{ if eq $.Site.Params.themeWidth "full" }}
<div class="container full">
{{ else }}
<div class="container half">
{{ end }}
{{ partial "header.html" . }}
<div class="content">

View File

@ -222,14 +222,22 @@ ol ol {
display: flex;
flex-direction: column;
padding: 40px;
border-right: 1px solid rgba(255, 255, 255, .1);
max-width: 864px;
min-height: 100vh;
@media (--phone) {
padding: 20px;
}
}
.full {
border-right: none;
margin: auto;
}
.half {border-right: 1px solid rgba(255, 255, 255, .1);}
.content {
display: flex;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -117,7 +117,7 @@ eval("\n\nvar container = document.querySelector(\".container\");\nvar menu = do
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/main.js */\"./source/js/main.js\");\nmodule.exports = __webpack_require__(/*! /Users/radek/Documents/Git/Moje/hugoBasicExample/themes/terminal/source/js/menu.js */\"./source/js/menu.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/main.js_./source/js/menu.js?");
eval("__webpack_require__(/*! /var/www/html/main/themes/hugo-theme-terminal/source/js/main.js */\"./source/js/main.js\");\nmodule.exports = __webpack_require__(/*! /var/www/html/main/themes/hugo-theme-terminal/source/js/menu.js */\"./source/js/menu.js\");\n\n\n//# sourceURL=webpack:///multi_./source/js/main.js_./source/js/menu.js?");
/***/ })

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long