From 3cd6e8559bd3fbd16097ca88a4c601a55b6ada3a Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Mon, 4 Nov 2024 12:32:34 -0500 Subject: [PATCH] tweak capabilities font sizes across break points --- src/components/capabilities/capabilities.css | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/capabilities/capabilities.css b/src/components/capabilities/capabilities.css index 725281c..5ddb0fc 100644 --- a/src/components/capabilities/capabilities.css +++ b/src/components/capabilities/capabilities.css @@ -3,16 +3,17 @@ background-color: var(--color-secondary); } -.capabilities em, -.capabilities strong, -.capabilities code { - font-size: var(--font-size-1); -} - .container { padding: var(--size-fluid-2); } +.content, +.content strong, +.content em, +.content code { + font-size: var(--font-size-2); +} + .section { display: inline-block; border-radius: var(--radius-5); @@ -94,12 +95,6 @@ margin: 0; } -.content { - margin: 0; - text-align: left; - font-size: var(--font-size-1); -} - pre { margin: 0; } @@ -136,7 +131,7 @@ pre { .content strong, .content em, .content code { - font-size: var(--font-size-fluid-1) !important; + font-size: var(--font-size-3); } .snippet pre { @@ -160,4 +155,11 @@ pre { .container { padding: var(--size-9) var(--size-11); } + + .content, + .content strong, + .content em, + .content code { + font-size: var(--font-size-4); + } }