Adjust subtitle styling and center play button
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
.video-element::cue {
|
||||
font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
||||
'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
|
||||
font-size: 1.28rem !important;
|
||||
font-size: 1.4rem !important;
|
||||
font-weight: 500 !important;
|
||||
line-height: 1.45 !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
@@ -45,7 +45,7 @@
|
||||
.video-element::-moz-cue {
|
||||
font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
||||
'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
|
||||
font-size: 1.28rem !important;
|
||||
font-size: 1.4rem !important;
|
||||
font-weight: 500 !important;
|
||||
line-height: 1.45 !important;
|
||||
letter-spacing: 0.01em !important;
|
||||
@@ -143,6 +143,15 @@ video::-moz-text-track-display,
|
||||
::-moz-cue:fullscreen,
|
||||
video:fullscreen::-moz-cue,
|
||||
:fullscreen ::-moz-cue {
|
||||
font-size: 1.6rem !important;
|
||||
padding: 0.4em 0.85em !important;
|
||||
font-size: 1.8rem !important;
|
||||
padding: 0.4em 0.9em !important;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
::cue,
|
||||
.video-element::cue,
|
||||
::-moz-cue,
|
||||
.video-element::-moz-cue {
|
||||
font-size: 1.2rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user