Files
Freedom-Loader/OLD CODE/public/styles/layout/videoinfo.css
2025-11-08 15:11:25 +01:00

82 lines
1.4 KiB
CSS

#videoInfo {
margin-top: 20px;
max-width: 600px;
margin-left: auto;
margin-right: auto;
padding: 1.5em 2em;
background-color: var(--infos-box-color);
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0,0,0,0.1);
color: var(--video-info-text-color);
font-size: 1rem;
line-height: 1.5;
opacity: 0;
max-height: 0;
overflow: hidden;
transition: opacity 0.5s ease, max-height 0.5s ease;
user-select: text;
word-wrap: break-word;
}
#videoInfo.visible {
opacity: 1;
max-height: 1500px;
overflow: visible;
}
#videoInfo h3 {
font-size: 1.8rem;
margin-bottom: 0.6em;
color: var(--video-info-heading-color);
font-weight: 700;
word-break: break-word;
}
#videoInfo img {
max-width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 1em;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
display: block;
margin-left: auto;
margin-right: auto;
}
#videoInfo ul {
list-style: none;
padding-left: 0;
}
#videoInfo ul li {
margin-bottom: 0.5em;
font-weight: 500;
color: var(--video-info-list-color);
}
#videoInfo ul li strong {
color: var(--video-info-list-strong-color);
}
#videoInfo ul li a {
color: var(--video-info-link-color);
text-decoration: none;
}
#videoInfo ul li a:hover,
#videoInfo ul li a:focus {
text-decoration: underline;
}
/* Responsive */
@media (max-width: 480px) {
#videoInfo {
padding: 1em;
font-size: 0.9rem;
}
#videoInfo h3 {
font-size: 1.4rem;
}
}