diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-05 20:54:14 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-08-05 20:54:14 +0200 |
commit | e6122aa97802af393712f73d98530be611bd16d5 (patch) | |
tree | 9c96021368543c8324d8d9c13f6c71b4563741d6 | |
parent | 77bc6db2b40eeee12c3a754fed91a5fb861236da (diff) |
feat: Update blocked-page style variable naming
-rw-r--r-- | router.lisp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/router.lisp b/router.lisp index 8f000be..667e9d5 100644 --- a/router.lisp +++ b/router.lisp @@ -350,29 +350,29 @@ with KEY." (nyxt::define-internal-page-command-global display-blocked-page (&key url) (buffer "*Blocked Site*" 'nyxt:base-mode) "Show blocked internal page for URL." - (let ((blocked-style (theme:themed-css (nyxt:theme nyxt:*browser*) - `(body - :padding 0 - :margin 0) - `(.container - :display flex - :height 100vh - :justify-content center - :align-items center - :flex-direction column - :text-align center) - `(|#banner| - :display flex - :justify-content center - :flex-direction column - :width 70vw) - `(|#url| - :text-decoration none - :font-weight bold - :color ,theme:accent - :pointer-events none)))) + (let ((style (theme:themed-css (nyxt:theme nyxt:*browser*) + `(body + :padding 0 + :margin 0) + `(.container + :display flex + :height 100vh + :justify-content center + :align-items center + :flex-direction column + :text-align center) + `(|#banner| + :display flex + :justify-content center + :flex-direction column + :width 70vw) + `(|#url| + :text-decoration none + :font-weight bold + :color ,theme:accent + :pointer-events none)))) (spinneret:with-html-string - (:style blocked-style) + (:style style) (:div :class "container" (:img :src "https://nyxt.atlas.engineer/image/nyxt_128x128.png") (:div :id "banner" |