Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat(video): align subtitles to left
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Jan 23, 2024
1 parent ce90ce4 commit 5d06808
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Here I will outline the changes I've made over time...
- Fixed the highlight_current_modules.js script not doing anything sometimes (the window load event was not being fired).
- Fixed a subtle animation bug when hovering on 1st semester courses.
- Fixed the appearance (height) of the `:focus` ring on module cards.
- Subtitles in videos are now left-aligned instead of centered.

### 20240119

Expand Down
4 changes: 3 additions & 1 deletion main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name UoM Blackboard theme
@version 20240122.02.00
@version 20240122.03.00
@namespace userstyles.world/user/adil192
@description Themes the blackboard UoM website to look more modern and use a consistent colour scheme.
@author adil192
Expand Down Expand Up @@ -1620,6 +1620,8 @@
display: inline-block !important;
max-width: 20em !important;
padding: 0 1em !important;
text-align: start;
text-wrap: pretty;
font-family: var(--fonts-body) !important;
}
/* in fullscreen, use a better scaling algorithm */
Expand Down
2 changes: 1 addition & 1 deletion styles/_version.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* ==UserStyle==
@name UoM Blackboard theme
@version 20240122.02.00
@version 20240122.03.00
@namespace userstyles.world/user/adil192
@description Themes the blackboard UoM website to look more modern and use a consistent colour scheme.
@author adil192
Expand Down
2 changes: 2 additions & 0 deletions styles/_video.manchester.ac.uk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ video,
display: inline-block !important;
max-width: 20em !important;
padding: 0 1em !important;
text-align: start;
text-wrap: pretty;

@include fonts-body;
}
Expand Down

0 comments on commit 5d06808

Please sign in to comment.