Template:Container/styles.css: Difference between revisions

Template page
Content added Content deleted
(fixed border for header and changed border color on cosmos)
(force no bottom margin)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
font-family: sans-serif;
font-family: sans-serif;
margin-top: 0;
margin-top: 0;
margin-bottom: 0;
background-color: var(--theme-primary-0);
background-color: var(--theme-primary-0);
}
}
Line 44: Line 45:
margin-bottom: 0;
margin-bottom: 0;
padding-top: 4px;
padding-top: 4px;
border-bottom: none;
border-bottom: none !important;
border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
}

Latest revision as of 14:41, 23 January 2023

.container {
	margin-bottom: 1.5em;
}

.container-header {
	border: none;
	padding-left: 25px;
	padding-right: 25px;
	display: block;
	line-height: 45px;
	text-align: center;
	font-family: sans-serif;
	margin-top: 0;
	margin-bottom: 0;
	background-color: var(--theme-primary-0);
}

.container-body {
	padding: 20px 30px;
}

/*
 * Vector skin
 */

/*
 * Citizen skin
 */
body.skin-citizen .container-header {
	border-radius: var(--border-radius--medium) var(--border-radius--medium) 0 0;
	color: hsl(210, 3%, 12.9%);
}

body.skin-citizen .container-body {
	border: 1px solid var(--color-surface-3);
	border-top: none;
	border-radius: 0 0 var(--border-radius--medium) var(--border-radius--medium);
	background-color: var(--color-surface-2);
}

/*
 * Cosmos
 */
body.skin-cosmos .container-header {
	margin-bottom: 0;
	padding-top: 4px;
	border-bottom: none !important;
	border-radius: 4px 4px 0 0;
}

body.skin-cosmos .container-body {
	border: 1px solid var(--theme-primary-0);
	border-top: none;
	border-radius: 0 0 4px 4px;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.