Templat:Current events/styles.css: Perbedaan antara revisi

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
dw>Izno
(remove none none; not necessary for currently supported browsers)
 
k (1 revisi diimpor)
 
(Tidak ada perbedaan)

Revisi terkini sejak 7 Oktober 2023 14.33

/* {{pp|small=y}} */
.current-events-main {
	margin: 0.5em 0;
	padding: 0.3em;
	background-color: white;
	border: 1px #cef2e0 solid;
}

.current-events-heading {
	background-color: #cef2e0;
	font-weight: bold;
}

.current-events-title {
	padding: 0.4em;
}

.current-events-navbar {
	list-style: none;
	margin: 0;
	font-size: small;
}

.current-events-navbar li {
	display: inline-block;
	padding: 0 0.4em;
}

.current-events-content {
	padding: 0 0.3em;
}

.current-events-content-heading {
	margin-top: 0.3em;
	font-weight: bold;
}

.current-events-more {
	border-width: 2px;
	font-size: 10pt;
	font-weight: bold;
	padding: 0.3em 0.6em;
}

.current-events-nav {
	margin: auto;
	text-align: center;
	line-height: 1.2;
}

.current-events-nav a {
	display: inline-block;
	margin: 0.5em;
	padding: 0.5em;
	background-color: #f4f4f4;
}

.current-events-nav a > div {
	font-weight: bold;
}

@media all and (min-width: 480px) {
	.current-events-heading {
		position: relative;
		padding-right: 12em;
	}
	
	.current-events-navbar {
		width: 12em;
		position: absolute;
		top: 50%;
		right: 0.4em;
		margin-top: -0.8em;
		text-align: right;
		white-space: nowrap;
	}
	
	.current-events-nav {
		max-width: 22em;
	}
	
	.current-events-nav a {
		width: 9em;
	}
}