added parameter for centered view
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
This commit is contained in:
parent
e6f8847460
commit
0d2a41242a
@ -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">
|
||||
|
@ -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
@ -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
Loading…
Reference in New Issue
Block a user