From 1a27f11e737dbc9bca62e5764464bcec373b8602 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 3 Jul 2017 17:04:59 +0200 Subject: [PATCH] Fix dropdown menus in static pages --- customize.dist/src/less/cryptpad.less | 20 +++++++++++--------- customize.dist/src/less/topbar.less | 2 +- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/customize.dist/src/less/cryptpad.less b/customize.dist/src/less/cryptpad.less index 2094ab624..106c57ab2 100644 --- a/customize.dist/src/less/cryptpad.less +++ b/customize.dist/src/less/cryptpad.less @@ -108,17 +108,19 @@ h6 { padding-top: .65001rem; } -a:not(.btn) { - cursor: pointer; - color: @cp-link; +p { + a:not(.btn) { + cursor: pointer; + color: @cp-link; - text-decoration: none; + text-decoration: none; - &:hover { - color: @cp-link-hover; - } - &:visited { - color: @cp-link-visited; + &:hover { + color: @cp-link-hover; + } + &:visited { + color: @cp-link-visited; + } } } a.btn { diff --git a/customize.dist/src/less/topbar.less b/customize.dist/src/less/topbar.less index a394c4eeb..3e8812ddd 100644 --- a/customize.dist/src/less/topbar.less +++ b/customize.dist/src/less/topbar.less @@ -72,7 +72,7 @@ } } } - a { + &.link a { font-weight: 500; font-size: 0.75em; color: @cp-link;