Posodobitev menija, strani in mobilne optimizacije
Deploy to Development and Production / deploy (push) Successful in 13s

- Preimenovan meni: Ponudba -> Poučevanje jezikov, Skupaj za vključevanje -> Medkulturno povezovanje
- Dodana kategorija Delavnice za vključevanje s podmenijem
- Posodobljena stran Poučevanje jezikov (odstranjena sekcija medkulturnega posredovanja)
- Posodobljena stran Medkulturno povezovanje (dodane cene, vsebina)
- Dodana sekcija Aktualne delavnice na naslovnico
- Dodana sekcija Priporočamo branje na naslovnico in Kdo sem
- Mobilna optimizacija za vse strani
- Popravki navigacije (hover/click, razporeditev)
- Popravki CSS za references sekcijo
This commit is contained in:
Mark committed 2026-01-06 22:33:15 +01:00
1 parent dc4c8a52be
commit 50fdb72b82
27 files changed
+2580 -4405

No files matched your search

+416 -13
View File
@@ -47,19 +47,20 @@ body.no-scroll {
}
.nav-container {
max-width: 1400px;
max-width: 100%;
width: 100%;
margin: 0 auto;
padding: 0 2rem;
padding: 0 1.5rem;
height: 100%;
display: flex;
justify-content: flex-start;
justify-content: space-between;
align-items: center
}
.logo {
display: flex;
align-items: center
align-items: center;
flex-shrink: 0
}
.logo a {
@@ -82,12 +83,8 @@ body.no-scroll {
.nav-links {
display: flex;
align-items: center;
/* Naj zasede ves preostali prostor v vrstici */
flex: 1;
/* Enakomerno porazdeli prostor med elementi */
/* Prvi element bo na začetku (levo), zadnji na koncu (desno) */
justify-content: space-between;
/* Fiksni odmik med Logotipom in "Naslovnico" */
justify-content: flex-end;
gap: 1.2rem;
margin-left: 3rem
}
@@ -5338,11 +5335,11 @@ footer {
}
.about-amra-wrapper {
max-width: 1100px;
max-width: 1300px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 3rem;
grid-template-columns: 1fr 1.2fr 280px;
gap: 2rem;
align-items: center
}
@@ -6237,3 +6234,409 @@ footer {
}
/* End blog styles */
/* --- Recommendation Box (Kdo sem) --- */
.recommendation-box {
background-color: #fffbf8; /* Zelo nežna topla barva */
border: 1px solid rgba(251, 99, 57, 0.15); /* Nežen oranžen rob */
border-radius: 24px; /* Zaobljeni robovi */
padding: 2rem;
width: 100%;
max-width: 420px; /* Enako kot slika */
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}
.recommendation-box h3 {
text-align: center;
font-size: 1.2rem;
color: #1f2530;
margin-bottom: 1.5rem;
border-bottom: 2px dotted rgba(251, 99, 57, 0.3);
padding-bottom: 0.5rem;
display: inline-block;
width: 100%;
}
.rec-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.rec-item {
display: flex;
align-items: center;
gap: 1rem;
text-decoration: none;
color: #3f4551;
font-weight: 600;
font-size: 0.95rem;
background: #ffffff;
padding: 0.8rem 1rem;
border-radius: 12px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.rec-item:hover {
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(251, 99, 57, 0.1);
color: #fb6339;
}
.rec-icon {
font-size: 1.4rem;
background: rgba(251, 99, 57, 0.1);
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}
/* --- Workshops Sidebar Inline (Aktualne delavnice - del sekcije) --- */
.workshops-sidebar-inline {
background: #ffffff;
border: 2px solid #3b5998;
border-radius: 18px;
padding: 1rem;
width: 100%;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
align-self: start;
margin-top: 60px;
}
.workshops-sidebar-inline h3 {
text-align: center;
font-size: 1rem;
color: #1f2530;
margin-bottom: 0.8rem;
padding-bottom: 0.6rem;
border-bottom: 2px solid #3b5998;
}
.workshops-sidebar-list {
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.workshop-sidebar-item {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: #1f2530;
background: #fdfcfa;
border-radius: 10px;
padding: 0.5rem;
transition: transform 0.2s ease, box-shadow 0.2s ease;
border: 1px solid rgba(59, 89, 152, 0.1);
}
.workshop-sidebar-item:hover {
transform: translateY(-2px);
box-shadow: 0 5px 12px rgba(59, 89, 152, 0.15);
}
.workshop-sidebar-item img {
width: 100%;
height: 95px;
object-fit: cover;
border-radius: 8px;
margin-bottom: 0.4rem;
}
.workshop-sidebar-item span {
font-size: 0.75rem;
font-weight: 600;
text-align: center;
line-height: 1.2;
}
/* Responsive: prikaži pod vsebino na manjših zaslonih */
@media (max-width: 1200px) {
.workshops-sidebar-inline {
display: none;
}
}
/* --- Recommendation Box Home (Naslovnica - sekcija z Amro) --- */
.recommendation-box-home {
background-color: #fffbf8;
border: 1px solid rgba(251, 99, 57, 0.15);
border-radius: 20px;
padding: 1.5rem;
width: 280px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
flex-shrink: 0;
}
.recommendation-box-home h3 {
text-align: center;
font-size: 1rem;
color: #1f2530;
margin-bottom: 1rem;
border-bottom: 2px dotted rgba(251, 99, 57, 0.3);
padding-bottom: 0.5rem;
}
.recommendation-box-home .rec-list {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.recommendation-box-home .rec-item {
display: flex;
align-items: center;
gap: 0.8rem;
text-decoration: none;
color: #3f4551;
font-weight: 600;
font-size: 0.8rem;
background: #ffffff;
padding: 0.5rem;
border-radius: 10px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 3px 8px rgba(0,0,0,0.03);
}
.recommendation-box-home .rec-item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px rgba(251, 99, 57, 0.1);
color: #fb6339;
}
.recommendation-box-home .rec-thumb {
width: 50px;
height: 50px;
object-fit: cover;
border-radius: 8px;
flex-shrink: 0;
}
/* Responsive */
@media (max-width: 992px) {
.about-amra-wrapper {
grid-template-columns: 1fr !important;
gap: 1.5rem;
}
.recommendation-box-home {
display: block !important;
width: 100%;
max-width: 100%;
}
.recommendation-box-home .rec-list {
display: grid;
grid-template-columns: 1fr;
gap: 0.6rem;
}
}
/* --- Dropdown hover za desktop --- */
@media (min-width: 769px) {
.nav-links .dropdown:hover > .dropdown-content {
display: block;
}
.nav-links .dropdown-submenu:hover > .dropdown-submenu-content {
display: block;
}
}
/* --- Dropdown main link (Pregled delavnic - samo mobile) --- */
.dropdown-main-link {
display: none !important;
}
@media (max-width: 768px) {
.dropdown-main-link {
display: block !important;
padding: 0.7rem 1rem;
color: #fb6339;
font-weight: 600;
border-bottom: 1px solid rgba(251, 99, 57, 0.2);
margin-bottom: 0.5rem;
}
.dropdown-main-link:hover {
background: rgba(251, 99, 57, 0.1);
}
}
/* --- Fix horizontal scroll on mobile --- */
html, body {
overflow-x: hidden;
max-width: 100vw;
}
@media (max-width: 768px) {
.hero-new-content {
grid-template-columns: 1fr !important;
gap: 1.5rem;
}
.hero-new-image {
margin-left: 0 !important;
margin-right: 0 !important;
order: 1;
}
.hero-new-text {
order: 2;
}
/* Aktualne delavnice - prikaži na mobile pod hero */
.workshops-sidebar-inline {
display: block !important;
margin-top: 0 !important;
order: 3;
width: 100%;
max-width: 100%;
}
.workshops-sidebar-inline h3 {
font-size: 1.1rem;
}
.workshops-sidebar-list {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.8rem;
}
.workshop-sidebar-item img {
height: 80px;
}
.workshop-sidebar-item span {
font-size: 0.7rem;
}
}
/* --- References section mobile optimization --- */
@media (max-width: 768px) {
.references-section {
padding: 40px 1rem;
}
.split-ref-layout {
grid-template-columns: 1fr !important;
gap: 1.5rem;
}
.ref-group-left {
grid-template-columns: 1fr !important;
gap: 1rem;
}
.references-kicker-custom {
font-size: 1.8rem !important;
text-align: center;
}
.reference-card {
padding: 1.2rem !important;
}
.reference-card p {
font-size: 0.9rem !important;
text-align: left !important;
}
.reference-author {
font-size: 0.85rem !important;
}
.reference-cta {
flex-wrap: wrap;
gap: 0.5rem;
}
}
/* --- Index page mobile optimization --- */
@media (max-width: 768px) {
.hero-new {
max-height: none !important;
padding: 100px 1rem 40px;
}
.hero-new-text h1 {
font-size: 1.8rem;
}
.hero-new-subtitle {
font-size: 1rem;
}
.hero-info-box {
padding: 1.2rem;
}
.hero-info-box h2 {
font-size: 1.1rem;
}
.hero-info-box p {
font-size: 0.9rem;
}
.features-section {
padding: 40px 1rem;
}
.features-intro h2 {
font-size: 1.3rem;
}
.features-grid {
grid-template-columns: 1fr !important;
gap: 1rem;
}
.feature-card {
padding: 1.2rem;
}
.feature-card h3 {
font-size: 1rem;
}
.about-amra-intro {
padding: 40px 1rem;
}
.about-amra-image img {
max-width: 250px;
margin: 0 auto;
}
.about-amra-content {
text-align: center;
}
.about-amra-content p {
font-size: 0.95rem;
}
.final-cta {
padding: 40px 1rem;
}
.final-cta h2 {
font-size: 1.3rem;
}
.final-cta-buttons {
flex-direction: column;
gap: 0.8rem;
}
.final-cta-buttons .cta-button {
width: 100%;
}
}