diff options
author | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 19:29:12 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anata@darapsa.co.id> | 2021-07-05 19:29:12 +0700 |
commit | 2ea4032a02b0d539151a4539d49152e000ffd463 (patch) | |
tree | d7fb78e95a898a6e9697d2ce20c9f3a234b31336 | |
parent | 5c0fd0bc2898264048403b1ec4e88d927ae361a6 (diff) |
add custom styles for navbar-fixed layout
-rw-r--r-- | templates/layout/noleft | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/templates/layout/noleft b/templates/layout/noleft index 134c12b..b282aca 100644 --- a/templates/layout/noleft +++ b/templates/layout/noleft @@ -12,20 +12,24 @@ <link href="__WWW_DIR__/css/bootstrap.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet"/> <style> - .bd-placeholder-img { + .bd-placeholder-img { font-size: 1.125rem; text-anchor: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; - } - - @media (min-width: 768px) { + } + @media (min-width: 768px) { .bd-placeholder-img-lg { - font-size: 3.5rem; + font-size: 3.5rem; } - } + } + /* Show it is fixed to the top */ + body { + min-height: 75rem; + padding-top: 4.5rem; + } </style> <link href="__WWW_DIR__/css/product.css" rel="stylesheet"> </head> |