From 2de06a068436ae60a042d5b83dedfb9e45bd9caa Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 19 Sep 2022 12:24:30 +1000 Subject: [PATCH] Tidy CSS --- website/src/css/custom.css | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index f9ee04cd0..134e1a800 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -98,22 +98,6 @@ html[data-theme="light"] .button--secondary { font-size: 1.5rem; } -@media all and (min-width: 600px) { - .hero__subtitle { - margin-top: 2rem; - font-size: 1.65rem; - } -} - - -@media all and (min-width: 1024px) { - .hero__subtitle { - margin-top: 2rem; - font-size: 1.75rem; - } -} - - /* Blockquote inspired by https://codepen.io/jupago/pen/GPxqLX. Copyright (c) 2022 by Juan Pablo (https://codepen.io/jupago/pen/GPxqLX) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: @@ -177,8 +161,12 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI .blockquote { max-width: 75%; } -} + .hero__subtitle { + margin-top: 2rem; + font-size: 1.65rem; + } +} @media all and (min-width: 1024px) { .blockquote h1 { @@ -189,6 +177,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI .blockquote { max-width: 50%; } + + .hero__subtitle { + margin-top: 2rem; + font-size: 1.75rem; + } } .blockquote h4 {