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