Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:CollapsibleCode/styles.css: Difference between revisions

Template page
Created page with "#collapsible-container{ position: relative; max-width: 500px; } #collapsible-container-header{ text-align: center; line-height: 2; font-size: large; font-weight: bold; color: white; background: #8b0024; border-top-left-radius: 10px; border-top-right-radius: 10px; } #collapsible-container-header .fa-chevron-down{ display: none; } .mw-collapsed #collapsible-container-header .fa-chevron-up{ display: none; } .mw-collapsed #collapsible-container-header .fa-che..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
#collapsible-container{
#collapsible-container{
position: relative;
position: relative;
max-width: 500px;
max-width: 100%;
width: 100%;
background: var(--color-surface-2);
border: 4px solid var(--color-surface-2);
border-radius: 10px;
}
}


#collapsible-container-header{
#collapsible-container-header{
text-align: center;
text-align: left;
padding-left: 0.5em;
line-height: 2;
line-height: 2;
font-size: large;
font-size: large;
font-weight: bold;
font-weight: bold;
color: white;
color: var(--color-base);
background: #8b0024;
background: var(--color-surface-2);
border-top-left-radius: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-top-right-radius: 10px;

Latest revision as of 00:57, 25 December 2024

#collapsible-container{
	position: relative;
	max-width: 100%;
	width: 100%;
	background: var(--color-surface-2);
	border: 4px solid var(--color-surface-2);
	border-radius: 10px;
}

#collapsible-container-header{
	text-align: left;
	padding-left: 0.5em;
	line-height: 2;
	font-size: large;
	font-weight: bold;
	color: var(--color-base);
	background: var(--color-surface-2);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#collapsible-container-header .fa-chevron-down{
	display: none;
}

.mw-collapsed #collapsible-container-header .fa-chevron-up{
	display: none;
}

.mw-collapsed #collapsible-container-header .fa-chevron-down{
	display: inline;
}

.mw-collapsed #collapsible-container-header{
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.mw-collapsible-toggle{
	width: 100%;
	line-height: 2;
	position: absolute;
	font-size: large;
	opacity: 0;
	left: 0;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.