Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1337cookie/f41aec552cec0e7902d829634cc44c7c to your computer and use it in GitHub Desktop.
Save 1337cookie/f41aec552cec0e7902d829634cc44c7c to your computer and use it in GitHub Desktop.
Userstyle to increase usability on learn.unreal.com/courses
/* ==UserStyle==
@name Unreal Engine Courses large video player and controls visible.
@namespace learn.unrealengine.com
@namespace cdnapisec.kaltura.com
@version 1.0.1
@description Large video player, always visible playback controls for learn.unrealengine.com courses
@author 1337cookie
==/UserStyle== */
@-moz-document domain("cdnapisec.kaltura.com") {
.controlBarContainer {
opacity: 1;
}
.controlBarContainer.hover {
opacity: 1;
border: 1px;
}
.videoHolder {
height: calc(100% - 2.8em)!important;
}
.watched {
background-color: #252525;
}
.largePlayBtn {
top: 90%;
left: 90%;
}
}
@-moz-document domain("learn.unrealengine.com") {
.panel-body {
margin-left: 0px;
width: 100%;
}
.fs-module-media>div{
padding-bottom: calc(56.25% + 2.1em)!important;
height: 100px;
}
.fs-module-media>div>iframe{
max-height: calc(100vh - 2em);
}
#page-content-wrapper {
margin-top: 0;
}
}
@1337cookie
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment