From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cBXgNRIWpGZlfAEAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Jul 2024 21:33:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cBXgNRIWpGZlfAEAqHPOHw (envelope-from ) for ; Fri, 26 Jul 2024 23:33:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zoho.com header.s=zm2022 header.b=MnR1gSIX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722029586; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CEc7A1O7YK+xb5vzMVlMrMLnpLLrbqVpVyVvTIzdcOk=; b=OSYCYRu+HPsG8XD/nqsVafChdhwkpb8WpEX3z7O59+7NMTen35eRfpHZJbqokRMIXsoVIr SdXmpKXKGq87WQFFmurSaBrbqkcbOyNWETG72KZIRSaZum5Deeo5RKA5We/aqWCyie4XpD Bn5b75PZRQFN82iOBEir9rKH25owCCi2+0LiR4CW52P3k7x2oM2Dwtck5gvZRlesHqC/8B kTxoVWS1wxO+nvNFUPrN7ZI5e8Fegw0pm9JzR/wn+if1++zlGwkCDiIw3lGLPtR4Hzfju2 kgyYkoRbAPSTMuqz+HJXHCST03doD2fAR56aha5I0AsqewKGDKSs+mjmUoIjvQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zoho.com header.s=zm2022 header.b=MnR1gSIX; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1722029586; a=rsa-sha256; cv=fail; b=VVbjYfQp5ey8btDh2KDGCoWMB8mT00cVtdkQKbxugnxt/GgGE6AJzeg5Y169sypYJxzGX9 30nm+fDz2WKKtu3u4JrPYq9LbdLYqNjKeajdMeWnRlbB5m9gS5p2ulgIAYIc87V8GbCRsK pQ4YyW6jH2ijce+w0frqeUwvljT8Fw/LDuPx8RQ4yAK4o6TH+GtWhz55k6peXbe/6UCVwC hQle1NGLZSrTtw9wKZjxURWaBzmL9w3c2+RAqpdEY9MeoJH/phxwX4fzFJc1zGXa28e1Jf DvwkD5YONdIt9YSqDlsFzmX0vxQOZ4L7H05eNtMhsqPLpyjLnQ2BeU9+YesslQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A685ADED0 for ; Fri, 26 Jul 2024 23:33:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXSYe-0003eX-1U; Fri, 26 Jul 2024 17:33:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sXSYX-0003cw-UG for guix-patches@gnu.org; Fri, 26 Jul 2024 17:32:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sXSYX-0000oB-Lv for guix-patches@gnu.org; Fri, 26 Jul 2024 17:32:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sXSYg-0006wK-NG for guix-patches@gnu.org; Fri, 26 Jul 2024 17:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72314] [PATCH 2/2] website: Move screenshots style to the screenshots style sheet. Resent-From: sirgazil@zoho.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2024 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72314@debbugs.gnu.org Cc: Luis Felipe Received: via spool by 72314-submit@debbugs.gnu.org id=B72314.172202953726605 (code B ref 72314); Fri, 26 Jul 2024 21:33:02 +0000 Received: (at 72314) by debbugs.gnu.org; 26 Jul 2024 21:32:17 +0000 Received: from localhost ([127.0.0.1]:40157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXSXw-0006v3-VW for submit@debbugs.gnu.org; Fri, 26 Jul 2024 17:32:17 -0400 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sXSXr-0006up-EQ for 72314@debbugs.gnu.org; Fri, 26 Jul 2024 17:32:15 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1722029519; cv=none; d=zohomail.com; s=zohoarc; b=d41cG/uGia8Cg0SLcSXEO4CBnJGZo2saDXd83NXyiM1/zB+ay+jy7+TaVEvFzI8W4T4TSC8BT5lTtLGBU7MkEj7rtQ8LTIoRqZ0fxM8zoqRaoOkXMbeDqSZ4Mo6NOjK/KhJM2s5H6k0oM0Oa+ZLOZRjYmfcm/qKXy2irlIYiQzI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1722029519; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=CEc7A1O7YK+xb5vzMVlMrMLnpLLrbqVpVyVvTIzdcOk=; b=BG0HEmzv50Y8lw5+j+VF+J9wqg54jYP7WugmemygRfdsansJOUaLfvGxFUutrT+OChPYPElXPdYhXiS8yM/lPTva+WkCPhrLMN2KYHdWbQcU+m32nS7R3HiiiaW2urxJGHBfLdSVaUJoW9XSv9+Xjy5TY0hd3ZMeW4dL2C4ROsg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1722029519; s=zm2022; d=zoho.com; i=sirgazil@zoho.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Feedback-ID:Message-Id:Reply-To; bh=CEc7A1O7YK+xb5vzMVlMrMLnpLLrbqVpVyVvTIzdcOk=; b=MnR1gSIX9SS5ahqUnoT61DqofzHBRqQAkTxI/9alDS/1HJWxdChTi085uXnPfYrF x6dyzM7JzT1z+5fpnGWi9xyYoI17km+wopx3p270XXaWFCQXAWwxZOQZ846Lh7fBG5A vLGN5dyMklYmuAlGTevWfxUnH4GysEx+D6Gz9P1A= Received: by mx.zohomail.com with SMTPS id 1722029518630457.8685065542842; Fri, 26 Jul 2024 14:31:58 -0700 (PDT) Date: Fri, 26 Jul 2024 16:31:16 -0500 Message-ID: <20240726213122.26521-2-sirgazil@zoho.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240726213122.26521-1-sirgazil@zoho.com> References: <20240726213122.26521-1-sirgazil@zoho.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Feedback-ID: rr08011227ab1f3463812c6bb379eb5267000063ede760b550b731994bfab2af757dc406f1d1f7c0675b7139:zu080112278639129d98064d99570145fb0000db0ff598b9a3a65d314c75577af396fee25f3280e3e61fff79:rf080112266ff8f02e117e2d7f1c71246100003390b4ff119be51558988ef4630b725f8358b71186accfbd:ZohoMail X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: sirgazil@zoho.com X-ACL-Warn: , sirgazil--- via Guix-patches From: sirgazil--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.42 X-Migadu-Queue-Id: A685ADED0 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.42 X-TUID: 4Jgg1sXXj5/c From: Luis Felipe * website/themes/initial/css/index.css: Move screenshot rules to screenshots.css. * website/themes/initial/css/screenshots.css: Add screenshot rules from index.css. * website/apps/media/templates/screenshot.scm (screenshot-t): Don't use the index.css. * website/apps/media/templates/screenshots-overview.scm: (screenshots-overview-t): Likewise, and use screenshots.css instead. --- website/apps/media/templates/screenshot.scm | 3 +- .../media/templates/screenshots-overview.scm | 2 +- website/themes/initial/css/index.css | 61 ------------------ website/themes/initial/css/screenshots.css | 64 ++++++++++++++++++- 4 files changed, 65 insertions(+), 65 deletions(-) diff --git a/website/apps/media/templates/screenshot.scm b/website/apps/media/templates/screenshot.scm index a942ef6..377485a 100644 --- a/website/apps/media/templates/screenshot.scm +++ b/website/apps/media/templates/screenshot.scm @@ -26,8 +26,7 @@ system|GNU Hurd|GNU Guix package manager|GNU Guile|Guile \ Scheme|Transactional upgrades|Functional package \ management|Reproducibility") #\|) #:active-menu-item (C_ "website menu" "Media") - #:css (list (theme-url "css/index.css") - (theme-url "css/screenshots.css")) + #:css (list (theme-url "css/screenshots.css")) #:content `(main (section diff --git a/website/apps/media/templates/screenshots-overview.scm b/website/apps/media/templates/screenshots-overview.scm index 7663ad9..97e5af6 100644 --- a/website/apps/media/templates/screenshots-overview.scm +++ b/website/apps/media/templates/screenshots-overview.scm @@ -23,7 +23,7 @@ system|GNU Hurd|GNU Guix package manager|GNU Guile|Guile \ Scheme|Transactional upgrades|Functional package \ management|Reproducibility") #\|) #:active-menu-item (C_ "website menu" "Media") - #:css (list (theme-url "css/index.css")) + #:css (list (theme-url "css/screenshots.css")) #:content `(main (section diff --git a/website/themes/initial/css/index.css b/website/themes/initial/css/index.css index a04f3b6..da9caf4 100644 --- a/website/themes/initial/css/index.css +++ b/website/themes/initial/css/index.css @@ -228,73 +228,12 @@ h2 { color: #E6E6E6; } -.screenshots-box { - padding: 40px 0px 0px 0px; -} - -.screenshot-preview { - font-size: 0.7em; - margin: 40px auto; - max-width: 250px; - text-align: center; -} - -.screenshot-preview a, -.screenshot-preview img { - border-radius: 5px; - display: block; -} - -.screenshot-preview a:link, -.screenshot-preview a:visited { - border-color: transparent; - border-style: solid; - border-width: thin; - box-shadow: 0 0 4px gray; - color: white; - position: relative; -} - -.screenshot-preview a:active, -.screenshot-preview a:focus, -.screenshot-preview a:hover { - border-color: black; - box-shadow: 0 0 4px black; -} - - - -@media screen and (min-width: 300px) { - .screenshot-inset-shadow { - border-radius: 5px; - box-shadow: inset 0 0 4px black; - display: block; - height: 140px; - position: absolute; - top: 0px; - width: 250px; - } - - .screenshot-preview a:active .screenshot-inset-shadow, - .screenshot-preview a:focus .screenshot-inset-shadow, - .screenshot-preview a:hover .screenshot-inset-shadow { - box-shadow: none; - } -} - - @media screen and (min-width: 480px) { .button-big:link, .button-big:visited { display: inline-block; } - - .screenshot-preview { - display: inline-block; - margin: 15px; - vertical-align: top; - } } diff --git a/website/themes/initial/css/screenshots.css b/website/themes/initial/css/screenshots.css index 64f5f6a..296a99b 100644 --- a/website/themes/initial/css/screenshots.css +++ b/website/themes/initial/css/screenshots.css @@ -1,3 +1,65 @@ +.screenshots-box { + padding: 40px 0px 0px 0px; +} + +.screenshot-preview { + font-size: 0.7em; + margin: 40px auto; + max-width: 250px; + text-align: center; +} + +.screenshot-preview a, +.screenshot-preview img { + border-radius: 5px; + display: block; +} + +.screenshot-preview a:link, +.screenshot-preview a:visited { + border-color: transparent; + border-style: solid; + border-width: thin; + box-shadow: 0 0 4px gray; + color: white; + position: relative; +} + +.screenshot-preview a:active, +.screenshot-preview a:focus, +.screenshot-preview a:hover { + border-color: black; + box-shadow: 0 0 4px black; +} + .screenshot-viewer { background-color: black; -} \ No newline at end of file +} + + + +@media screen and (min-width: 300px) { + .screenshot-inset-shadow { + border-radius: 5px; + box-shadow: inset 0 0 4px black; + display: block; + height: 140px; + position: absolute; + top: 0px; + width: 250px; + } + + .screenshot-preview a:active .screenshot-inset-shadow, + .screenshot-preview a:focus .screenshot-inset-shadow, + .screenshot-preview a:hover .screenshot-inset-shadow { + box-shadow: none; + } +} + +@media screen and (min-width: 480px) { + .screenshot-preview { + display: inline-block; + margin: 15px; + vertical-align: top; + } +} -- 2.45.1