From c77d6e009120355ddf304d7fa7f820110b994afe Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 23 Dec 2013 00:02:39 +0100 Subject: Tie background image to branding (not body), to hopefully fix broken rendering in webkit-based Replicant browser. --- branding.mdwn | 1 + local.scss | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 branding.mdwn diff --git a/branding.mdwn b/branding.mdwn new file mode 100644 index 0000000..0519ecb --- /dev/null +++ b/branding.mdwn @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/local.scss b/local.scss index 9a0c405..dafa97c 100644 --- a/local.scss +++ b/local.scss @@ -8,11 +8,14 @@ h1 { font-size: 2.75em; } -body { +.branding { + z-index: -1; + position: fixed; + height: 100%; + width: 100%; background-color: transparent; background-image: url("sr_logo.png"); background-repeat: no-repeat; - background-attachment: fixed; background-position: right bottom; } -- cgit v1.2.3