Authentication-Results: mail-b.sr.ht; dkim=pass header.d=alyssa.is header.i=@alyssa.is; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mail-b.sr.ht (Postfix) with ESMTPS id 0EBC011EF48 for <~qaul/community@lists.sr.ht>; Fri, 26 Feb 2021 13:50:56 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F0EB85C017E; Fri, 26 Feb 2021 08:50:55 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 26 Feb 2021 08:50:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=VRwg0q2VYyEln 9kJAxWzEVwJ+wSbQJGswy1yJXNJuTA=; b=fHpbSgTMzTKURjQCSNtTTxgOz8+Tz NTIzwf6CNcdF6zQwDoh2+xpkcaf+lBhukkLFVfGaArwU60UUR6Ejty9zzILKHh9y WKQLQzmzQDcMKJrru/QWWzCRV1mvPATnQZcEUi0HJTCfU0+SjluuFqHMVBqx3jCA fSNeWkPgdFwAczEluFNvBRfQasTS6zDDdB+HZE3G79J+H3aPHhlE0LY4FK3Gm8vU 4zsR4Mmxe1sLSEYlXP2myXgHEmtA5dJQyGGiiEKsGRJRoAfQHW56ShOr5lzZJP5m 8EBDWrtNKOAOtnbqc/1gRlI2gh2vC6ffthU37ZIqt4z1Vlr9SE5Zp5OJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=VRwg0q2VYyEln9kJAxWzEVwJ+wSbQJGswy1yJXNJuTA=; b=PmMxRU+R UIxuKoAhyGngBtEsaP1s9qkY9IO+dDcS1+qIWm4IImZs3FdXmVtMPvPkAFLWqFxA ZuhLm0imYJ/LgkD+BRCTImhdYH8f7B4n+3gw+WAS2Sb1TM+EpBRXdqkd4q7tCHeJ hcLf5p6iF89lNoPiQ6D+oicGHDfFpsu9+U0mfsxgbphiA+IXFSwR9hUy9qy/xyZI /P7rltXGqV/22rHVjvu9cUSLChUK+/Y57q63cnfMG8MKGG5HWhupiu8T5ca4xlSz fE5GMvRy2pqOJR2YIK3fGjRoIIAkGnKsPho6FCimY5/SrUyHUvt0+GTJt7oknMHr nVs+fibcoJ1IUA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrledugdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhihshhsrgcutfhoshhsuceohhhisegrlhihshhsrgdrihhs qeenucggtffrrghtthgvrhhnpefgfedukedvleeileeludefveehgeelgfegvddujedvtd ffueeuveffheeljeekvdenucfkphepjeelrddvfeehrdduvddvrddugeehnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepqhihlhhishhssegvvh gvrdhqhihlihhsshdrnhgvth X-ME-Proxy: Received: from eve.qyliss.net (p4feb7a91.dip0.t-ipconnect.de [79.235.122.145]) by mail.messagingengine.com (Postfix) with ESMTPA id 89A3724005E; Fri, 26 Feb 2021 08:50:55 -0500 (EST) Received: by eve.qyliss.net (Postfix, from userid 1000) id D8BE7EB2; Fri, 26 Feb 2021 13:50:54 +0000 (UTC) From: Alyssa Ross To: ~qaul/community@lists.sr.ht Cc: Katharina Fey Subject: [PATCH 2/3] docs/website: create reusable "block" class Date: Fri, 26 Feb 2021 13:50:45 +0000 Message-Id: <20210226135046.32283-3-hi@alyssa.is> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210226135046.32283-1-hi@alyssa.is> References: <20210226135046.32283-1-hi@alyssa.is> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Different blocks on a page share a lot of common behaviour, so let's make the CSS a bit easier to maintain by creating a single reusable "block" class, and standardizing on "block-*" as an additional class to give special behaviour to different types of blocks. --- docs/website/layouts/index.html | 6 ++--- .../qaul-theme/layouts/_default/baseof.html | 2 +- .../qaul-theme/layouts/_default/learning.html | 2 +- .../qaul-theme/layouts/_default/page.html | 2 +- .../qaul-theme/layouts/partials/footer.html | 2 +- .../themes/qaul-theme/static/css/qaul.css | 25 ++++++++----------- 6 files changed, 17 insertions(+), 22 deletions(-) diff --git a/docs/website/layouts/index.html b/docs/website/layouts/index.html index ac49e189..9d1298a7 100644 --- a/docs/website/layouts/index.html +++ b/docs/website/layouts/index.html @@ -12,7 +12,7 @@ {{ define "main" }} {{ with .Site.GetPage "home/intro" }} -
+
@@ -40,7 +40,7 @@ {{ end }} {{ with .Site.GetPage "home/about" }} -
+

{{ .Params.Introduction_Title }}

@@ -53,7 +53,7 @@ {{ end }} {{ with .Site.GetPage "home/contribute" }} -
+

{{ .Params.Contribute_Title }}

{{ .Params.Contribute | markdownify }} diff --git a/docs/website/themes/qaul-theme/layouts/_default/baseof.html b/docs/website/themes/qaul-theme/layouts/_default/baseof.html index a86827d0..fb6b226c 100644 --- a/docs/website/themes/qaul-theme/layouts/_default/baseof.html +++ b/docs/website/themes/qaul-theme/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{- partial "head.html" . -}} {{- block "head-override" .}}{{- end }} -
+