پرش به محتوا

پودمان:Infobox/styles.css: تفاوت میان نسخه‌ها

از ایران‌پدیا
اصلاح رنگ دیتا
برچسب: برگردانده‌شده
بروزرسانی
برچسب‌ها: واگردانی دستی برگردانده‌شده
خط ۱: خط ۱:
/* General Styles */
/* {{pp|small=y}} */
.infobox-body {
/*
    background: #ffffff;
* This TemplateStyles sheet deliberately does NOT include the full set of
    border-radius: 10px;
* infobox styles. We are still working to migrate all of the manual
    padding: 10px;
* infoboxes. See [[:en:MediaWiki talk:Common.css/to do#Infobox]]
text-align: center !important;
* DO NOT ADD THEM HERE
    display: table;
*/
/*
* not strictly certain these styles are necessary since the modules now
* exclusively output infobox-subbox or infobox, not both
* just replicating the module faithfully
*/
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}
.infobox-header {
 
    background-color: #20BEC6;
.infobox-3cols-child {
    /* color: darkslategrey; */
margin: auto;
    padding: 6px;
    border-radius: 9px 9px 0 0;
    font-family: 'IRANSansX', sans-serif;
    font-weight: 700;
}
.infobox-label {
    background-color: #3293C8;
    vertical-align: middle;
    padding: 8px;
    font-family: 'IRANSansX', sans-serif;
    font-weight: 700;
    min-width: 80px;
    text-align: right;
    border-radius: 5px;
}
}
.infobox-data {
 
    background: #20BEC6;
.infobox .navbar {
    padding: 8px;
font-size: 100%;
    border-radius: 5px;
}
.infobox-title {
    padding: 12px 10px;
    color: white;
    letter-spacing: 0.03em;
    margin-top: 10px;
    margin-bottom: 5px;
    background: #71C9CE;
    border-radius: 15px 40px 15px 40px;
    font-family: 'IRANSansX', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
}
}


/* Mobile Optimized Styles */
/* T281642 */
@media (max-width: 768px) {
body.skin-minerva .infobox-header,
    .infobox-body {
body.skin-minerva .infobox-subheader,
        border-radius: 8px;
body.skin-minerva  .infobox-above,
        padding: 8px;
body.skin-minerva .infobox-title,
    }
body.skin-minerva  .infobox-image,
    .infobox-header {
body.skin-minerva  .infobox-full-data,
        padding: 5px;
body.skin-minerva .infobox-below {
        font-size: 14px;
text-align: center;
        text-align: center;
    }
    .infobox-label {
        padding: 6px;
        min-width: auto;
        display: block;
        text-align: center;
        border-radius: 5px;
    }
    .infobox-data {
        padding: 6px;
        display: block;
        text-align: center;
    }
    .infobox-title {
        padding: 10px 8px;
        font-size: 20px;
        margin-top: 8px;
        margin-bottom: 4px;
        border-radius: 12px 30px 12px 30px;
        text-align: center;
    }
.infobox-body-for-bug {
width: 100%;
    display: inline-table;
    }
}
}

نسخهٔ ۲۶ اردیبهشت ۱۴۰۵، ساعت ۱۳:۳۷

/* {{pp|small=y}} */
/*
 * This TemplateStyles sheet deliberately does NOT include the full set of
 * infobox styles. We are still working to migrate all of the manual
 * infoboxes. See [[:en:MediaWiki talk:Common.css/to do#Infobox]]
 * DO NOT ADD THEM HERE
 */
/*
 * not strictly certain these styles are necessary since the modules now
 * exclusively output infobox-subbox or infobox, not both
 * just replicating the module faithfully
 */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-3cols-child {
	margin: auto;
}

.infobox .navbar {
	font-size: 100%;
}

/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva  .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva  .infobox-image,
body.skin-minerva  .infobox-full-data,
body.skin-minerva .infobox-below {
	text-align: center;
}