From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Hyperlinks! Date: Mon, 13 Apr 2020 20:09:26 +0200 Message-ID: <87d08buujt.fsf@elephly.net> References: <87eesrlkil.fsf@gnu.org> <20200413132638.1ce12721@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO3Wd-0004Uc-GU for guix-devel@gnu.org; Mon, 13 Apr 2020 14:09:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO3Wc-0005P6-IT for guix-devel@gnu.org; Mon, 13 Apr 2020 14:09:39 -0400 In-reply-to: <20200413132638.1ce12721@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Danny Milosavljevic writes: > On Mon, 13 Apr 2020 12:58:42 +0200 > Ludovic Court=C3=A8s wrote: > >> (If anyone knows how to get =E2=80=98a.syntax-symbol=E2=80=99 CSS differ= ent from just >> =E2=80=98a=E2=80=99, I=E2=80=99m all ears!) [=E2=80=A6] > a.syntax-symbol { > color: red; > } > a:not(.syntax-symbol) { > background-color: blue; > } The first definition would suffice if it came after any style definition for just =E2=80=9Ca=E2=80=9D. If this doesn=E2=80=99t work it would be because a more specific rule exists (e.g. =E2=80=9C.example div.foo span.bar a=E2=80=9D); in that case you just= need to define a *more* specific style rule. -- Ricardo