Difference between revisions of "Template:Video/styles.css"

From Appropedia
Jump to navigation Jump to search
Line 1: Line 1:
.video.ve-ce-leafNode {
+
.video {
background: black;
+
max-width: 640px;
display: inline-block;
+
}
 +
.video-data {
 +
background: #f9f9f9;
 +
border: 1px solid #aaa;
 +
border-top: 0;
 +
padding: 1em;
 +
}
 +
.video-edit {
 +
float: right;
 +
}
 +
.video-title {
 +
font-size: large;
 +
}
 +
.video-annotations {
 +
margin-top: 1em;
 
}
 
}
  
Line 8: Line 22:
 
clear: right;
 
clear: right;
 
}
 
}
 +
}
 +
 +
/**
 +
* Visual editor fix/hack
 +
*/
 +
.video.ve-ce-leafNode {
 +
background: black;
 +
display: inline-block;
 
}
 
}

Revision as of 13:47, 25 November 2020

.video {
	max-width: 640px;
}
.video-data {
	background: #f9f9f9;
	border: 1px solid #aaa;
	border-top: 0;
	padding: 1em;
}
.video-edit {
	float: right;
}
.video-title {
	font-size: large;
}
.video-annotations {
	margin-top: 1em;
}

@media screen and (max-width:640px) {
	.video {
		clear: right;
	}
}

/**
 * Visual editor fix/hack
 */
.video.ve-ce-leafNode {
	background: black;
	display: inline-block;
}