Медијавики:Common.css

Извор: SI Wiki
Пређи на навигацију Пређи на претрагу

Напомена: Пошто објавите измене, можда ћете морати да обришете кеш прегледача како бисте их видели.

  • Firefox / Safari: Држите Shift и кликните на Reload или притисните Ctrl-F5 или Ctrl-R (⌘-R на Mac-у).
  • Google Chrome: Притисните Ctrl-Shift-R (⌘-Shift-R на Mac-у).
  • Internet Explorer / Edge: Држите Ctrl и кликните на Refresh или притисните Ctrl-F5.
  • Opera: Притисните Ctrl-F5.
/* [[Template:Tocright]] */
#tocright {
    float: right;
}

/* [[ОО2/Лаб 3 2021]] */
del {
    color: #888;
}

/* a, b, c numerisanje u uređenim listama i podlistama */
.abc-list ol, .abc-sublist ol ol {
    list-style-type: lower-alpha;
}

/* [[SI Wiki]] */
@media (min-width: 720px) {
	.mainpage__column {
		display: inline-block;
		vertical-align: top;
		width: 33%;
	}
}

/* [[MediaWiki:Sidebar]] */
#mw-navigation a[href="/wiki/Project:%D0%9F%D0%BE%D1%82%D1%80%D0%B5%D0%B1%D0%BD%D0%B0_%D0%BF%D0%BE%D0%BC%D0%BE%D1%9B"],
#mw-navigation a[href="/wiki/Project:%D0%9D%D0%B0%D0%BF%D1%80%D0%B0%D0%B2%D0%B8"] {
    font-weight: bold;
}

/* [[MediaWiki:Sitenotice]], [[MediaWiki:Anonnotice]] */
.sitenotice-box {
	background-color: #eee;
	border: 1px solid lightblue;
	display: flex;
	margin: auto;
	padding: 2px;
	width: 50%;
}

@media (max-width: 720px) {
	.sitenotice-box {
		width: 100%;
	}
}

.sitenotice-box > p {
	align-self: center;
}

.sitenotice-box .sitenotice-box__image {
	margin-right: 15px;
}

/* [[Template:File]] */
.file-description {
	text-align: center;
	width: 100%;
}

/* Sakrij podrazumevani birač licence */
.mw-htmlform-field-Licenses {
    display: none;
}

/* Uređivač mora uvek da bude monospace */
#wpTextbox1 {
	font-family: Courier New;
}

/* [[Пројектовање софтвера/Јануар 2020#2. zadatak]] */
.transparent-svg img, img.transparent-svg {
	background-color: white;
}

/* Stil za infokutije */
.portable-infobox {
	border: 1px solid var(--pi-border-color);
}

.portable-infobox .pi-title {
	text-align: center;
}

/* Stil pri štampanju */
@media print {
	#toc {
		display: none;
	}
}

/* Uklonjeni skins.vector.styles.responsive modul */
/* Videti https://github.com/wikimedia/mediawiki-skins-Vector/commit/68b989e */
@media screen and ( max-width: 720px ) {
	#mw-head {
		position: static !important;
		margin-top: 0.5em;
	}

	/* Move the panel to the bottom and display it as in-line lists */
	#mw-navigation #mw-panel {
        display: table;
        position: static;
        table-layout: fixed;
        width: 100%;
        overflow: hidden;
        font-size: 150%;
    }

    #mw-navigation #mw-panel .portal {
        display: block;
        width: 100%;
    }

	#mw-navigation #mw-panel ul li {
        list-style: none;
    }

	/* Hide the logo and tabs */
	#p-logo {
		display: none;
	}

	/* Rearrange various page elements to fill the now-available space */
	body .mw-footer {
		margin-left: 0;
		padding-top: 0;
	}

    /* don't need these in the footer either... */
    body .mw-footer #footer-info-lastmod,
	body .mw-footer #footer-info-viewcount {
        display: none;
    }
    
	#p-personal {
		display: table;
		position: relative;
		width: 100%;
		top: inherit;
		left: inherit;
		right: inherit;
	}

    #p-personal ul {
        padding-left: 0;
    }
    
	#right-navigation {
		/* float: none; Override not needed with `position: absolute` above. */
		position: absolute;
		top: inherit;
		right: 0;
		margin-top: 0;
	}

	#left-navigation {
		/* float: none; Override not needed with `position: absolute` above. */
		position: absolute;
		top: inherit;
		margin: 0;
		display: block;
	}

	#p-namespaces,
	#p-views,
	#p-variants {
		position: relative;
		top: 2.5em;
	}

	#p-namespaces {
		padding-left: 0;
	}

	#p-cactions {
		top: 2.5em;
		float: right;
	}

	#p-search {
		/* float: none; Override not needed with `position: absolute` above. */
		position: absolute;
		right: 0;
		width: 100vw;
		margin: 0;
	}

	#simpleSearch {
		margin: 0 3em;
		width: 80vw;
		padding: 0;
	}

	.vector-menu-dropdown .vector-menu-content-list {
		left: inherit;
		right: -1px;
	}

	.mw-body {
		/* Hide the 1px blue border on the left side */
		border-left: 0;
		margin-left: 0;
	}

	#mw-data-after-content {
		margin-left: 0;
	}
}

/* Vraćanje PI stila na onaj pre 1.39 */
.portable-infobox p {
    margin: 0;
}

/* Oznaka rešenih, delimično rešenih i nerešenih rokova */
.rok:before {
	color: green;
	content: "✓";
	padding-right: 3px;
}

.rok.delimicno-reseno:before {
	color: gold;
	content: "✎";
}

.rok.nereseno:before {
	color: red;
	content: "✕";
}

@media print {
	.rok:before {
		padding-right: 0;
	}
	.rok:before, .rok.delimicno-reseno:before, .rok.nereseno:before {
		content: none;
	}
}

/* SI Wiki ne koristi stranice za razgovor */
#ca-talk,
#pt-mytalk,
.mw-usertoollinks-talk,
span:not(.mw-usertoollinks):has(> .mw-usertoollinks-talk),
.mw-contributions-link-talk,
span:has(> .mw-contributions-link-talk),
#ca-edit.istalk,
#ca-addsection {
    display: none;
}

.mw-changeslist-links > span:not(:first-child):before {
    display: none;
}

.mw-changeslist-links > span:not(:last-child):after {
    content: ' | ';
}

/* [[Special:ConfirmAccount]] koristi .errorbox umesto .mw-message-box-error */
.errorbox {
    background-color: #fee7e6;
    border: 1px solid #d33;
    margin-bottom: 16px;
    padding: 12px 24px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}