Permanently protected template

Template:Unsolved/styles.css: Difference between revisions

From Vigyanwiki
< Template:Unsolved
(Created page with "→‎{{pp-template}}: →‎Styles for "unsolved problem" summary: .unsolved { margin: 0 1em 1em; border: #ccc solid; padding: 0.35em 0.35em 0.35em 2.2em; background-color:...")
 
(copy margins from Module:Sidebar/styles.css)
Line 2: Line 2:
/* Styles for "unsolved problem" summary */
/* Styles for "unsolved problem" summary */
.unsolved {
.unsolved {
margin: 0 1em 1em;
margin: 0.5em 0 1em 1em;
border: #ccc solid;
border: #ccc solid;
padding: 0.35em 0.35em 0.35em 2.2em;
padding: 0.35em 0.35em 0.35em 2.2em;
Line 13: Line 13:
@media (min-width: 720px) {
@media (min-width: 720px) {
.unsolved {
.unsolved {
clear: right;
float: right;
float: right;
max-width: 25%;
max-width: 25%;

Revision as of 16:12, 21 August 2022

/* {{pp-template}} */
/* Styles for "unsolved problem" summary */
.unsolved {
	margin: 0.5em 0 1em 1em;
	border: #ccc solid;
	padding: 0.35em 0.35em 0.35em 2.2em;
	background-color: #eee;
	background-image: url("https://upload.wikimedia.org/wikipedia/commons/2/26/Question%2C_Web_Fundamentals.svg");
	background-position: top 50% left 0.35em;
	background-size: 1.5em;
	background-repeat: no-repeat;
}
@media (min-width: 720px) {
	.unsolved {
		clear: right;
		float: right;
		max-width: 25%;
	}
}
.unsolved-label {
	font-weight: bold;
}
.unsolved-body {
	margin: 0.35em;
	font-style: italic;
}
.unsolved-more {
	font-size: smaller;
}