commit 1df47004d934ecf80b0634807b498a6b2fd2fddf parent 270c42bcb8d007d148a7fede7f2a4881600c4d8c Author: Yuval Langer <yuval.langer@gmail.com> Date: Wed, 12 Jun 2019 17:38:14 +0300 Add top div tag style. Diffstat:
M | _layouts/default.liquid | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/_layouts/default.liquid b/_layouts/default.liquid @@ -5,7 +5,8 @@ <title>{{ page.title }}</title> </head> <body> - <div> + <!-- A web hipster told me to centralize with the following top div style --> + <div style="max-width: 920px; margin: auto; padding: 20px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);"> <h2>{{ page.title }}</h2> {{ page.content }} </div>