From c6ff46a5788771e7c186c57bcf9e8c9c9860da42 Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Wed, 22 Sep 2021 20:49:31 -0700 Subject: [PATCH] css: Add styling for checkerboard --- data/image-viewer.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/data/image-viewer.css b/data/image-viewer.css index 5f63485..8062ab2 100644 --- a/data/image-viewer.css +++ b/data/image-viewer.css @@ -12,3 +12,29 @@ headerbar.osd { .image-view { background-color: black; } + +.checkerboard picture { + background-color: #7f7f7f; + background-image: linear-gradient( + 45deg, + #cccccc 25%, + transparent 25% + ), + linear-gradient( + -45deg, + #cccccc 25%, + transparent 25% + ), + linear-gradient( + 45deg, + transparent 75%, + #cccccc 75% + ), + linear-gradient( + -45deg, + transparent 75%, + #cccccc 75% + ); + background-size: 20px 20px; + background-position: 0 0, 0 10px, 10px -10px, -10px 0px; +} \ No newline at end of file