跳转到内容

Module:Side box/styles.css

维基百科,自由的百科全书

这是Module:Side box/styles.css当前版本,由Xiplus-abot留言 | 贡献编辑于2024年5月15日 (三) 20:51 (已更改“Module:Side box/styles.css”的保护设置:​高風險模板:117942引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)
.side-box {
	margin: 4px 0;
	box-sizing: border-box;
	border: 1px solid #aaa;
	font-size: 88%;
	line-height: 1.25em;
	background-color: #f9f9f9;
    display: flow-root;
}

.side-box-abovebelow,
.side-box-text {
	padding: 0.25em 0.9em;
}

.side-box-image {
	/* @noflip */
	padding: 2px 0 2px 0.9em;
	text-align: center;
}

.side-box-imageright {
	/* @noflip */
	padding: 2px 0.9em 2px 0;
	text-align: center;
}

/* roughly the skin's sidebar + size of side box */
@media (min-width: 500px) {
	.side-box-flex {
		display: flex;
		align-items: center;
	}
	
	.side-box-text {
		flex: 1;
	}
}

@media (min-width: 720px) {
	.side-box {
		width: 238px;
	}
	
	.side-box-right {
		/* @noflip */
		clear: right;
		/* @noflip */
		float: right;
		/* @noflip */
		margin-left: 1em;
	}
	
	/* derives from mbox classes, which do not float left in mbox-small-left
	 * so far as I can tell, that was a deliberate decision, since only .ambox
	 * supports mbox-left
	 */
	.side-box-left {
		/* @noflip */
		margin-right: 1em;
	}
}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy