模板:Cc-by-sa-layout/styles.css

< 模板:Cc-by-sa-layout
於 2025年3月5日 (三) 17:37 由 Lilauid留言 | 貢獻 所做的修訂 (建立內容為「→‎* * IMPORTANT: * * These styles are copied to [[MediaWiki:Filepage.css]]. * If you make any changes here, make sure to update that page as well. * * When previewing changes, you must use a file outside the File namespace. * * See [[Module talk:Information/styles.css]] (which is related) for details.:​ .responsive-license-cc { clear: both; text-align: center; box-sizing: border-box; width: 100%; justify-content: space-aroun…」的新頁面
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
/**
 * IMPORTANT:
 *
 * These styles are copied to [[MediaWiki:Filepage.css]].
 * If you make any changes here, make sure to update that page as well.
 *
 * When previewing changes, you must use a file outside the File namespace.
 *
 * See [[Module talk:Information/styles.css]] (which is related) for details.
 */
 
 .responsive-license-cc {
    clear: both; 
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    margin: 0.5em auto;
    color: #202122;
    background-color: #f9f9f9;
    border-width: 2px;
    border-style: solid;
    border-top-color: #e0e0e0;
    border-right-color: #e0e0e0;
    border-bottom-color: #e0e0e0;
    border-left-color: #e0e0e0;
    border-spacing: 8px;
    display: flex;
}
.responsive-license-cc div {
	margin: 4px;
}
.rlicense-text div {
	margin: 0.5em auto;
}

@media screen and (max-width: 640px) { /* For mobile devices */
	.responsive-license-cc {
		flex-flow: column;
	}
	.rlicense-text {
		order: 1;
	}
}