theathermode
This commit is contained in:
parent
af8c9ff61a
commit
ff327d1886
2 changed files with 46 additions and 0 deletions
|
|
@ -290,3 +290,37 @@ td, th {
|
|||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.video-item.theatre-mode {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.9);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.video-item.theatre-mode video {
|
||||
max-width: 90%;
|
||||
max-height: 80vh;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.video-item.theatre-mode .video-title {
|
||||
color: #fff;
|
||||
order: -1; /* Display title above the video */
|
||||
}
|
||||
|
||||
.video-item.theatre-mode .video-controls {
|
||||
position: relative;
|
||||
bottom: auto;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -125,4 +125,16 @@ section h2 {
|
|||
font-weight: bold;
|
||||
margin-top: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.video-item.theatre-mode {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.video-item.theatre-mode video {
|
||||
max-width: 100%;
|
||||
max-height: 70vh;
|
||||
}
|
||||
|
||||
.video-item.theatre-mode .video-controls {
|
||||
margin-top: 10px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue