Browse Source

Še nekaj popravkov

master
root 4 months ago
parent
commit
a6117413d0
  1. 9
      web/themes/custom/schunder/css/stil.css
  2. 0
      web/themes/custom/schunder/js/nav.js
  3. 6
      web/themes/custom/schunder/js/skript.js

9
web/themes/custom/schunder/css/stil.css

@ -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%;

0
web/themes/custom/schunder/js/nav.js

6
web/themes/custom/schunder/js/skript.js

@ -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…
Cancel
Save