Adjust subtitle styling and center play button

This commit is contained in:
Mert Uyanık
2025-10-30 04:48:19 +03:00
parent 8f78777857
commit 5d3bdf83b8
3 changed files with 35 additions and 19 deletions
+13 -4
View File
@@ -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;
}
}