X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fcss%2Fstyle.css;h=e284310b860a815fee2e15a1c55ede601029fca7;hb=c32b2463b96643c794113146543624e8f993084c;hp=a9c1a67d446e474f355f3d652d747a4d0a125f04;hpb=8064ff6ecb04734cb09835a153581b03f9e88f3f;p=friendica.git diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index a9c1a67d44..e284310b86 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -38,6 +38,18 @@ body a { color: $link_color; text-decoration: none; } +/* Anchors incorrectly display with a fixed top menu. This global rule offsets all + * anchors so that accessing them with a # link will actually scroll the associated + * content in the visible part of the page. + * + * anchor.top should be the opposite of body.padding-top + */ +body a[name]:not([href]) { + display: block; + position: relative; + top: -110px; + visibility: hidden; +} body a:hover, body a:focus, body a:active, body a.active, body .btn-link:hover{ /*color: #59d6e4;*/ @@ -75,6 +87,9 @@ blockquote { .hidden { display: none !important; } +code { + white-space: pre; +} /* * standard page elements