Skip to content

Instantly share code, notes, and snippets.

@ptgamr
Created August 7, 2018 19:57
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 ptgamr/473752460836fb109f357eab6c053de3 to your computer and use it in GitHub Desktop.
Save ptgamr/473752460836fb109f357eab6c053de3 to your computer and use it in GitHub Desktop.
coursera-stylus.css
body {
background-color: #333;
color: #ddd;
border-color: white !important;
}
body * {
border-color: #444 !important;
}
#rendered-content div.rc-PageHeader,
#rendered-content div.rc-PageHeader nav,
.c-phoenix-template-page,
.resource-link,
.theme-white {
background-color: #343434 !important;
color: #ddd !important;
}
.hover-color:hover,
.current-item {
background-color: #555 !important;
}
span,
i,
.color-primary-text {
color: #fff !important;
}
.cif-stack-2x {
color: #2ab573 !important;
}
.c-membership-tabs-container li.active a {
color: #ddd !important;
}
.c-membership-tabs-container li a:hover {
color: #ddd !important;
}
.card-rich-interaction {
background-color: #555 !important;
color: #ddd !important;
}
.c-dashboard-header {
color: #ddd !important;
}
div.video-container * {
/* color: #ddd !important; */
}
div.c-video-title * {
color: #ddd !important;
}
.c-video-title {
margin: 10px auto 0 auto;
padding: 10 !important;
font-weight: bold;
}
.video-container {
padding: 5px 0 !important;
}
.video-container .vjs-overlay,
.video-container .coursera-assess-assessment-in-video-bar,
.video-container .rc-VideoConceptsReviewOverlay,
.video-container .coursera-assess-assessment-in-video {
background-color: #222 !important;
}
.vjs-overlay .coursera-assess-assessment-in-video {
color: #000 !important;
background-color: #ddd !important;
}
.vjs-overlay .coursera-assess-assessment-in-video * {
color: #000 !important;
}
.vjs-overlay .coursera-assess-assessment-in-video .coursera-assess-assessment-in-video-bar,
.vjs-overlay .coursera-assess-assessment-in-video .coursera-assess-assessment-in-video-bar * {
color: #fff !important;
}
.video-container .c-overlay-autonext-container {
position: absolute;
top: 100px;
right: 0;
height: 200px;
}
.video-container .c-overlay-autonext-content {
position: absolute;
top: 100px;
right: 0;
background-color: rgba(255, 255, 255, 0.5) !important;
color: #fff !important;
}
a.dim,
a.dim:hover {
color: rgba(82, 155, 251, 0.7);
text-decoration: none;
}
a.dim:hover,
a.dim:hover:hover {
color: rgba(82, 155, 251, 1);
text-decoration: underline;
}
/* Video */
.c-video {
max-width: inherit !important;
max-height: inherit !important;
width: calc(100% - 350px) !important;
height: calc(100% - 85px) !important;
}
.c-video .vjs-control-bar,
.c-video .rc-VideoConceptsGoalMarkers,
.c-video .rc-VideoConceptsStudyCard {
visibility: hidden;
color: #fff !important;
/* background: rgba(43, 51, 63, 0.3) !important; */
transition: all 0.5s;
opacity: 0;
}
.c-video:hover .vjs-control-bar,
.c-video:hover .rc-VideoConceptsGoalMarkers,
.c-video .rc-VideoConceptsStudyCard {
visibility: visible;
opacity: 1;
}
.c-video .rc-VideoConceptsStudyCard,
.c-video .rc-VideoConceptsStudyCard * {
background-color: rgba(0, 0, 0, 0.5) !important;
}
video {
position: relative !important;
/* height: calc(100% - 150px) !important; */
/* width: calc(100% - 50px) !important; */
padding-bottom: 100px !important;
line-height: 10px !important;
}
video::-webkit-media-text-track-container {
position: relative !important;
bottom: -90px !important;
}
video:-webkit-full-screen,
video:full-screen {
padding-bottom: 50px !important;
line-height: 15px !important;
}
video::-webkit-media-text-track-display {
/* position: absolute !important; */
/* height: 100px !important; */
/* background: rgba(255, 255, 255, 0.2); */
/* color: rgba(0, 0, 0, 0.5); */
color: rgba(255, 255, 255, 1);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
font-size: 24px !important;
line-height: 30px !important;
}
video::cue {
}
.vjs-coursera-skin.vjs-coursera-phoenix-skin {
width: 100% !important;
}
.rc-NavSingleItemDisplay.highlighted, .rc-NavSingleItemDisplay:hover {
color: #333 !important;
}
.rc-NavSingleItemDisplay.highlighted .caption-text, .rc-NavSingleItemDisplay:hover .caption-text {
color: #333 !important;
}
.rc-Phrase {
color: #eee;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment