]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/css/style.css
Merge pull request #2940 from annando/1611-dead-contacts
[friendica.git] / view / theme / frio / css / style.css
index a9c1a67d446e474f355f3d652d747a4d0a125f04..19f0d5af050f2e40202c826df635ce885400670a 100644 (file)
@@ -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
@@ -1142,6 +1157,9 @@ section #jotOpen {
 #profile-jot-wrapper button#jot-submit {
     margin-top: 5px;
 }
+#profile-jot-wrapper #character-counter {
+    padding: 10px 15px;
+}
 
 /* ACL */
 /*#jot-modal-body {
@@ -2389,3 +2407,11 @@ body .tread-wrapper .hovercard a:hover {
 body .tread-wrapper .hovercard:hover .hover-card-content a {
     color: $link_color !important;
 }
+
+/*
+ * some temporary workarounds until this will solved
+ * elsewhere (e.g. new templates)
+ */
+section .profile-match-wrapper {
+    float: left;
+}