From nobody Mon Sep 8 17:08:18 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1756303343; cv=none; d=zohomail.com; s=zohoarc; b=EAD3TLlkK6mFjjOyu3nXC6sMhGyPcqBsVDVyllp47cGH9fBDrxWUZMcDX71tNRj7Dl1zp/WgkP7+h4OdtRRvgiFjh99/4FgQIP0HDnjmcQ6W2zgiFmiOa4K3uJaKDygbDh4mIr+Ags4pOGlL69UEXHpdOiuiA/fsW/6jVdnWEVU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1756303343; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=lCrZcUpo93wopfPsT8mXqdlKPRFuPPB7h+06167eOX8=; b=R5zx1zLh6m+s7dphIqGK158A9tBKs8SILxXg2wdVQjg2s/nYbs1nmwXF2Fc1HX9lcyo5pW3vTXNYc/uMJmGg58vkxILGuiEOiCOX6UxfqUoYmtiOpRqYnQxdT33VDHt1qaXVOzUPOhgMaE6Vy4xXQTWl6cc9J3+3kKi8rCVlt6A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1756303343296178.57782793218428; Wed, 27 Aug 2025 07:02:23 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 54CA5440B8; Wed, 27 Aug 2025 10:02:22 -0400 (EDT) Received: from [172.19.199.3] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 1E2B1440EE; Wed, 27 Aug 2025 09:51:30 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 993) id 9702444038; Wed, 27 Aug 2025 09:51:21 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B618643F8E for ; Wed, 27 Aug 2025 09:51:15 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-639-LuECJAqVPH-oyo1FS3X5Gw-1; Wed, 27 Aug 2025 09:51:14 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5EF6719560AA for ; Wed, 27 Aug 2025 13:51:13 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.44.22.3]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9044918003FC for ; Wed, 27 Aug 2025 13:51:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1756302675; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lCrZcUpo93wopfPsT8mXqdlKPRFuPPB7h+06167eOX8=; b=NnkV1DqCnPkBldo/Tla0E9Gv+1QiWA2iOYJJxqV3A+jdQG16i2BaEq/diNAyKxNXSeiZWk +ozva+2RT3kc3KuTpOK1L7smf13l8XibqQSyfqPU0Ne+xCu4x2O1aaMacH9h4qU2H8OuMv v+y3tw9Ue8RLOKKFS8139nMYsP6fLKs= X-MC-Unique: LuECJAqVPH-oyo1FS3X5Gw-1 X-Mimecast-MFC-AGG-ID: LuECJAqVPH-oyo1FS3X5Gw_1756302673 To: devel@lists.libvirt.org Subject: [PATCH 2/4] css: Add style for '.. note:' and '.. warning:' rST roles Date: Wed, 27 Aug 2025 15:51:06 +0200 Message-ID: <19f4a435eab9b5476bb6a1356fdddec69330beb8.1756302563.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: sKlqfpCBzF8NPstz3pJZOq7Ils1UFpZrBQiVyMiZ5U0_1756302673 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: OKZ3YQY22O3YGD5D62EVM6ZTCZFUOG4Q X-Message-ID-Hash: OKZ3YQY22O3YGD5D62EVM6ZTCZFUOG4Q X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1756303345116116600 Content-Type: text/plain; charset="utf-8" From: Peter Krempa One of our kbase docs already uses '.. note:' and we could use e.g. '.. warning:' to replace some of emphasiszed paragraphs to make them more prominent. Introduce style for the generated HTML to add some hilight for them. Signed-off-by: Peter Krempa --- docs/css/generic.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/css/generic.css b/docs/css/generic.css index df37ceea37..87cd94d9f4 100644 --- a/docs/css/generic.css +++ b/docs/css/generic.css @@ -91,6 +91,32 @@ pre { padding: 1em; } +.admonition-title { + font-size: 110%; + font-weight: bold; +} + +div.admonition, +aside.admonition { + border: 1px solid #999999; +} + +.admonition p { + padding: 0 1em 0 1em; +} + +.note .admonition-title { + margin: 0; + padding: 0.5em 1em 0.5em 1em; + background: #6cb5ac; +} + +.warning .admonition-title { + margin: 0; + padding: 0.5em 1em 0.5em 1em; + background: #ffcc44; +} + a { color: rgb(0, 95, 97); } --=20 2.51.0