Še nekaj popravkov
parent
253fdd0494
commit
a6117413d0
|
@ -2,6 +2,7 @@
|
|||
--bezh: #ffeebc;
|
||||
--rdeca: #fe0000;
|
||||
--rumena: #f8fa35;
|
||||
--modra: #214afc;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
@ -19,6 +20,10 @@ body {
|
|||
background: white !important;
|
||||
}
|
||||
|
||||
body.schunderkids {
|
||||
background: var(--modra) !important;
|
||||
}
|
||||
|
||||
#page {
|
||||
background: transparent !important;
|
||||
min-height: 100vh;
|
||||
|
@ -447,7 +452,7 @@ h1 {
|
|||
}
|
||||
|
||||
/* podstran slika glave */
|
||||
.block-views-block-slika-glave-za-podstran-block-1 {
|
||||
.block-views-blockslika-glave-za-podstran-block-1 {
|
||||
z-index: -100;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -456,7 +461,7 @@ h1 {
|
|||
bottom: 0;
|
||||
}
|
||||
|
||||
.block-views-block-slika-glave-za-podstran-block-1 img {
|
||||
.block-views-blockslika-glave-za-podstran-block-1 img {
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
|
@ -88,6 +88,12 @@ function linkclickHandler(event) {
|
|||
if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
|
||||
var link = event.target;
|
||||
while (link && link.tagName !== "A") link = link.parentNode;
|
||||
|
||||
if (link.classList.contains('colorbox')) {
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!link || !link.href || link.target) return;
|
||||
try {
|
||||
if (pendingForward) history.replaceState(null, "", link.href);
|
||||
|
|
Loading…
Reference in New Issue