MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (20 intermediate revisions by the same user not shown) | |||
| Line 38: | Line 38: | ||
src: url(/fonts/Roboto/latin_700.woff2) format('woff2'); | src: url(/fonts/Roboto/latin_700.woff2) format('woff2'); | ||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; | ||
} | |||
p, li { | |||
font-size: 1.2rem !important; | |||
} | |||
h1 { | |||
font-size: 2.5rem !important; | |||
} | |||
h2 { | |||
font-size: 1.7rem !important; | |||
} | |||
.header-container.header-chrome { | |||
background-color: #A9E431; | |||
} | } | ||
| Line 52: | Line 68: | ||
/* primeren kurzor pri glavnem meniju */ | /* primeren kurzor pri glavnem meniju */ | ||
#main-menu-input { cursor: pointer; } | #main-menu-input { cursor: pointer; } | ||
#p-navigation .menu__item--random { display: none; } | |||
/* EU footer */ | /* EU footer */ | ||
| Line 66: | Line 84: | ||
.page-Frontpage .firstHeading { display: none; } | .page-Frontpage .firstHeading { display: none; } | ||
/* Search na click tudi v desktop nacinu | /* Search na click tudi v desktop nacinu | ||
@media screen and (min-width: 640px) { | @media screen and (min-width: 640px) { | ||
.client-js #searchIcon { | .client-js #searchIcon { | ||
| Line 73: | Line 91: | ||
.minerva-header .search-box { | .minerva-header .search-box { | ||
display: none; | display: none; | ||
} | |||
} | |||
*/ | |||
.minerva-search-form { | |||
justify-content: flex-end; | |||
} | |||
@media screen and (min-width: 640px) { | |||
.minerva-header .search-box { | |||
width: 19em; | |||
max-width: 19em; | |||
} | } | ||
} | } | ||
/* | |||
.navigation-drawer { | |||
display: none; | |||
} | |||
*/ | |||
.minerva-header .branding-box { | |||
height: 100%; | |||
} | |||
.minerva-header .branding-box a { | |||
color: transparent; | |||
background: url("/images/logo C 3.svg"); | |||
height: 100%; | |||
background-repeat: no-repeat; | |||
background-position: center; | |||
} | |||
/* Skrij tekst v novi */ | |||
.minerva-footer-logo { | .minerva-footer-logo { | ||
color: transparent; | color: transparent; | ||
padding-bottom: 5rem !important; | |||
position: relative; | |||
} | |||
.footer-content { | |||
margin-top: 0rem !important; | |||
} | } | ||
| Line 88: | Line 140: | ||
border: none; | border: none; | ||
background: transparent; | background: transparent; | ||
} | |||
#footer-icons { | |||
width: 100%; | |||
order: 0; | |||
position: absolute; | |||
left: 0; | |||
right: 0; | |||
top: 0; | |||
align-items: center; | |||
} | } | ||
#footer-1ico img { | #footer-1ico img { | ||
| Line 96: | Line 157: | ||
height: 10rem; | height: 10rem; | ||
width: auto; | width: auto; | ||
margin | margin: -3rem -2rem; | ||
} | |||
#footer-poweredbyico { | |||
margin-left: auto; | |||
} | |||
#mw-mf-page-left > ul.hlist { display: none; } | |||
.minerva-footer { | |||
background-color: #19249C; | |||
color: white; | |||
} | |||
/* novice v stolpcih */ | |||
@media screen and (min-width: 768px) { | |||
.novica { | |||
width: 50%; | |||
float: left; | |||
padding-right: .5rem; | |||
box-sizing: border-box; | |||
} | |||
} | } | ||
Latest revision as of 09:54, 8 September 2026
/* CSS placed here will be applied to all skins */
/* Roboto font */
/* latin-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
src: url(/fonts/Roboto/latin-ext_400.woff2) format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
src: url(/fonts/Roboto/latin_400.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
src: url(/fonts/Roboto/latin-ext_700.woff2) format('woff2');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
src: url(/fonts/Roboto/latin_700.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
p, li {
font-size: 1.2rem !important;
}
h1 {
font-size: 2.5rem !important;
}
h2 {
font-size: 1.7rem !important;
}
.header-container.header-chrome {
background-color: #A9E431;
}
/* umik meta-gumbov (editiranje ipd.) nelogiranim uporabnikom. */
/* Velja za Minerva Neue skin; ostali morejo biti drugačni. */
body:not(.is-authenticated) ul#p-associated-pages,
body:not(.is-authenticated) ul#p-views {
display: none !important;
}
/* skrij ikone glavne navigacije v burger meniju */
ul#p-interaction .minerva-icon { visibility: hidden; }
/* primeren kurzor pri glavnem meniju */
#main-menu-input { cursor: pointer; }
#p-navigation .menu__item--random { display: none; }
/* EU footer */
#footer-places-EU { margin-top: 1rem; }
#footer-places-EU img {
height: 5rem;
clear: both;
display: block;
float: left;
margin: 0 1rem 1rem 0;
}
/* Skrij title na frontpage */
.page-Frontpage .firstHeading { display: none; }
/* Search na click tudi v desktop nacinu
@media screen and (min-width: 640px) {
.client-js #searchIcon {
display: block;
}
.minerva-header .search-box {
display: none;
}
}
*/
.minerva-search-form {
justify-content: flex-end;
}
@media screen and (min-width: 640px) {
.minerva-header .search-box {
width: 19em;
max-width: 19em;
}
}
/*
.navigation-drawer {
display: none;
}
*/
.minerva-header .branding-box {
height: 100%;
}
.minerva-header .branding-box a {
color: transparent;
background: url("/images/logo C 3.svg");
height: 100%;
background-repeat: no-repeat;
background-position: center;
}
/* Skrij tekst v novi */
.minerva-footer-logo {
color: transparent;
padding-bottom: 5rem !important;
position: relative;
}
.footer-content {
margin-top: 0rem !important;
}
#footer-places-privacy {
display: none;
}
/* Noga - logoti partnerjev */
.footer-icons .cdx-button.cdx-button--fake-button--enabled {
border: none;
background: transparent;
}
#footer-icons {
width: 100%;
order: 0;
position: absolute;
left: 0;
right: 0;
top: 0;
align-items: center;
}
#footer-1ico img {
height: 6rem;
width: auto;
}
#footer-2ico img {
height: 10rem;
width: auto;
margin: -3rem -2rem;
}
#footer-poweredbyico {
margin-left: auto;
}
#mw-mf-page-left > ul.hlist { display: none; }
.minerva-footer {
background-color: #19249C;
color: white;
}
/* novice v stolpcih */
@media screen and (min-width: 768px) {
.novica {
width: 50%;
float: left;
padding-right: .5rem;
box-sizing: border-box;
}
}