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

From Appropedia
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
.video {
 
.video {
max-width: 640px;
+
display: inline-block;
 +
width: 640px;
 +
max-width: 100%;
 
}
 
}
 
.video-data {
 
.video-data {
 
background: #f9f9f9;
 
background: #f9f9f9;
border: 1px solid #aaa;
 
border-top: 0;
 
 
padding: 1em;
 
padding: 1em;
}
 
.video-edit {
 
float: right;
 
 
}
 
}
 
.video-title {
 
.video-title {
Line 16: Line 13:
 
.video-annotations {
 
.video-annotations {
 
margin-top: 1em;
 
margin-top: 1em;
 +
}
 +
.video-annotation-time {
 +
margin-right: 1em;
 +
}
 +
.video .thumb {
 +
background: none;
 +
border: none;
 +
margin: 0;
 
}
 
}
  

Latest revision as of 17:18, 2 December 2020

.video {
	display: inline-block;
	width: 640px;
	max-width: 100%;
}
.video-data {
	background: #f9f9f9;
	padding: 1em;
}
.video-title {
	font-size: large;
}
.video-annotations {
	margin-top: 1em;
}
.video-annotation-time {
	margin-right: 1em;
}
.video .thumb {
	background: none;
	border: none;
	margin: 0;
}

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

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