Jump to content

Template:Markup/styles.css: Difference between revisions

From Project Herzl
Adding {{pp-template}}
 
Project Herzl (talk | contribs)
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
/* {{pp-template|small=yes}} */
/* {{pp-template|small=yes}} */
div.template-markup-wrapper > :first-child {
.markup {
margin: 0;
margin-bottom: 0.5em;
border-width: medium;
padding: 0;
}
 
.markup > caption {
font-weight: bold;
}
 
.markup > tbody > tr > th[scope=col] {
width: 50%;
}
 
.markup > tbody > tr > td {
background: var(--background-color-interactive-subtle, #f8f9fa);
border: 1px solid #eaecf0;
padding: 5px;
vertical-align: top;
}
 
.markup-wrapper > :first-child {
margin-top: 0;
margin-top: 0;
}
}


div.template-markup-wrapper > :last-child {
.markup-wrapper > :last-child {
margin-bottom: 0;
margin-bottom: 0;
}
}


.template-markup {
.markup-markup {
margin:0;
margin: 0;
border:none;
border: none;
word-wrap:break-word;
overflow-wrap: break-word;
white-space:pre-wrap;
white-space: pre-wrap;
}
}


code.template-markup {
code.markup-markup {
padding:0;
padding: 0;
}
}


pre.template-markup {
pre.markup-markup {
padding:2px 0 0;
padding: 2px 0 0;
}
}

Latest revision as of 00:20, 28 September 2025

/* {{pp-template|small=yes}} */
.markup {
	margin: 0;
	margin-bottom: 0.5em;
	border-width: medium;
	padding: 0;
}

.markup > caption {
	font-weight: bold;
}

.markup > tbody > tr > th[scope=col] {
	width: 50%;
}

.markup > tbody > tr > td {
	background: var(--background-color-interactive-subtle, #f8f9fa);
	border: 1px solid #eaecf0;
	padding: 5px;
	vertical-align: top;
}

.markup-wrapper > :first-child {
	margin-top: 0;
}

.markup-wrapper > :last-child {
	margin-bottom: 0;
}

.markup-markup {
	margin: 0;
	border: none;
	overflow-wrap: break-word;
	white-space: pre-wrap;	
}

code.markup-markup {
	padding: 0;
}

pre.markup-markup {
	padding: 2px 0 0;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.