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

From Appropedia
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
.video.ve-ce-leafNode {
+
.video {
background: black;
+
max-width: 640px;
display: inline-block;
+
}
 +
.video-data {
 +
background: #f9f9f9;
 +
padding: 1em;
 +
}
 +
.video-title {
 +
font-size: large;
 +
}
 +
.video-annotations {
 +
margin-top: 1em;
 +
}
 +
.video-annotation-time {
 +
margin-right: 1em;
 
}
 
}
  
Line 8: Line 20:
 
clear: right;
 
clear: right;
 
}
 
}
 +
}
 +
 +
/**
 +
* Visual editor fix/hack
 +
*/
 +
.video.ve-ce-leafNode {
 +
background: black;
 +
display: inline-block;
 
}
 
}

Revision as of 15:50, 25 November 2020

.video {
	max-width: 640px;
}
.video-data {
	background: #f9f9f9;
	padding: 1em;
}
.video-title {
	font-size: large;
}
.video-annotations {
	margin-top: 1em;
}
.video-annotation-time {
	margin-right: 1em;
}

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

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