Kontent qismiga oʻtish

Andoza:Bosh Sahifa/styles.css: Versiyalar orasidagi farq

Ziyosferadan olingan
yangi
Tahrir izohi yoʻq
 
Qator 1: Qator 1:
/*
.main-top {
Bosh Sahifa dizayni
font-size: 1rem;
*/
display: none;
 
.mainBlock {
background: url(https://upload.wikimedia.org/wikipedia/commons/4/46/Bluebg_rounded.png) no-repeat 0.3rem 0.5rem;
border-radius: 0.7rem;
border: 1px solid #c2dfff;
padding: 0.2rem;
margin-bottom: 0.4rem;
position: relative;
    background-color: #fafffa;
    transition: background-color .5s;
}
}


.mainBlockTitle {
.mobile-only {
position: absolute;
font-size: 1rem;
left: 3.3rem;
margin-top: 1rem;
top: 0.5rem;
padding-bottom: 1.5rem;
font-size: 1.2em;
font-weight: bold;
letter-spacing: .2px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
}


.mainBlockIcon {
.main-top-left > p {
position: absolute;
font-size: 0.875em;
left: 0.75rem;
margin: 0;
top: 0.3rem;
}
}


.mainBlockContent {
.main-top-right {
margin: 0.35rem;
font-size: 0.875em;
padding-top: 2rem;
margin-top: 0.5em;
overflow: auto;
}
}


#tm:hover, #ym:hover, #xm:hover, #tr:hover, #kt:hover,
.main-top-right > ul {
#yan:hover, #bls:hover, #bgn:hover, #help:hover {
display: none;
background-color:#f4f8fd;
margin-top: 0.5rem;
}
}


body.skin-minerva .mainBlockTitle {
.main-top-right .mw-ui-button.mw-ui-quiet {
top: 4px;
padding-right: 0;
}
}


body.skin-modern .mainBlockTitle {
.main-top-header {
top: 10px;
border-bottom: 0;
margin-bottom: 0;
margin-top: 0;
}
}


body.skin-monobook .mainBlockTitle {
.main-top-articleCount {
top: 10px;
margin-bottom: 0;
}
}


body.skin-timeless .mainBlockTitle {
body.skin-minerva .main-top-articleCount {
top: 5px;
display: none;
}
}


body.skin-minerva .mainBlockContent {
.main-top-mobileSearch {
padding-top: 1.5em;
display: none;
margin-top: 1rem;
}
}


.main-header {
body.skin-minerva .main-top-mobileSearch {
border-bottom-color: transparent;
display: block;
margin-bottom: 0.25em;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
}


.main-plainlist > ul {
.main-top-mobileSearchButton {
list-style: none;
background: #fff;
margin: 0;
border: none;
padding: 0;
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
color: #72777d;
font-weight: normal;
max-width: none;
text-align: left;
width: 100%;
}
}


.main-plainlist li {
@media screen and (min-width: 875px) {
margin-bottom: 0;
.main-top {
background-position: 1.25rem 0.3rem;
background-repeat: no-repeat;
background-color: #f7fafc;
border: 1px solid #c2dfff;
border-radius: 10px;
margin-bottom: 1.5rem;
margin-top: 0.5rem;
display: block;
}
.main-top-articleCount {
margin-bottom: 0.5rem;
}
body.skin-minerva .main-top-articleCount {
display: block;
}
body.skin-minerva .main-top-mobileSearch {
display: none;
}
}
}


.main-top-right .mw-ui-quiet:hover,
@media screen and (min-width: 875px) {
.main-top-right .mw-ui-quiet:focus,
.mobile-only { display: none; }
.main-footer .mw-ui-quiet:hover,
.desktop-only { display: block; }
.main-footer .mw-ui-quiet:focus {
color: #0645ad;
}


.mw-headline-number {
.main-top-right {
    display: none;
flex: 2;
}
margin-top: 0;
 
text-align: right;
@media (min-width: 875px) {
.main {
display: flex;
margin: 0 -0.2rem 1.1rem -0.2rem;
width: calc(100% - (0.2rem + 2px));
}
.mainWrapper {
margin: 0 0.2rem;
   
}
}
#left {
.main-top-right > ul {
flex: 0 0 55%;
align-items: center;
flex-direction: row-reverse;
justify-content: right;
margin-top: 0;
text-align: left;
}
}
#right {
.main-top-createArticle + li .mw-ui-button.mw-ui-quiet {
flex: 0 0 45%;
padding-right: 1em;
}
}
}
}

2026-yil 3-mart, 12:44 dagi (joriy) koʻrinishi

.main-top {
	font-size: 1rem;
	display: none;
}

.mobile-only {
	font-size: 1rem;
	margin-top: 1rem;
	padding-bottom: 1.5rem;
}

.main-top-left > p {
	font-size: 0.875em;
	margin: 0;
}

.main-top-right {
	font-size: 0.875em;
	margin-top: 0.5em;
}

.main-top-right > ul {
	display: none;
	margin-top: 0.5rem;
}

.main-top-right .mw-ui-button.mw-ui-quiet {
	padding-right: 0;
}

.main-top-header {
	border-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
}

.main-top-articleCount {
	margin-bottom: 0;
}

body.skin-minerva .main-top-articleCount {
	display: none;
}

.main-top-mobileSearch {
	display: none;
	margin-top: 1rem;
}

body.skin-minerva .main-top-mobileSearch {
	display: block;
}

.main-top-mobileSearchButton {
	background: #fff;
	border: none;
	box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
	color: #72777d;
	font-weight: normal;
	max-width: none;
	text-align: left;
	width: 100%;
}

@media screen and (min-width: 875px) {
	.main-top {
		background-position: 1.25rem 0.3rem;
		background-repeat: no-repeat;
		background-color: #f7fafc;
		border: 1px solid #c2dfff;
		border-radius: 10px;
		margin-bottom: 1.5rem;
		margin-top: 0.5rem;
		display: block;
	}
	
	.main-top-articleCount {
		margin-bottom: 0.5rem;
	}
	
	body.skin-minerva .main-top-articleCount {
		display: block;
	}
	
	body.skin-minerva .main-top-mobileSearch {
		display: none;
	}
}

@media screen and (min-width: 875px) {
	.mobile-only { display: none; }
	.desktop-only { display: block; }

	.main-top-right {
		flex: 2;
		margin-top: 0;
		text-align: right;
	}
	
	.main-top-right > ul {
		align-items: center;
		flex-direction: row-reverse;
		justify-content: right;
		margin-top: 0;
		text-align: left;
	}
	
	.main-top-createArticle + li .mw-ui-button.mw-ui-quiet {
		padding-right: 1em;
	}
}