111 lines
2.2 KiB
CSS
111 lines
2.2 KiB
CSS
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
|
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
|
}
|
|
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin-bottom: 60px;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* --- Anime airing-soon cards --- */
|
|
.anime-card {
|
|
border-radius: 0.75rem;
|
|
overflow: hidden;
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
background-color: #fff;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.anime-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
.anime-poster-container {
|
|
position: relative;
|
|
height: 320px;
|
|
background-color: #e9ecef;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anime-poster {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.anime-card:hover .anime-poster {
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.show-overview {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 1.45;
|
|
font-size: 0.875rem;
|
|
min-height: 5.1em;
|
|
margin-bottom: 0.5rem;
|
|
white-space: normal;
|
|
word-break: normal;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* --- Wide / ultra-wide / 4K display support ---
|
|
Bootstrap 5's ".container" tops out at max-width: 1320px starting at its
|
|
largest built-in breakpoint (1400px) and never grows beyond that, so on
|
|
large desktop and 4K monitors (1920px, 2560px, 3440px, 3840px+) the page
|
|
content sits in a narrow column with large empty side margins. These
|
|
extra breakpoints extend the same scaling pattern Bootstrap uses
|
|
(max-width ~= 94% of the viewport) up through 4K viewports. */
|
|
@media (min-width: 1600px) {
|
|
.container {
|
|
max-width: 1500px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1900px) {
|
|
.container {
|
|
max-width: 1800px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 2560px) {
|
|
.container {
|
|
max-width: 2400px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 3200px) {
|
|
.container {
|
|
max-width: 3000px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 3840px) {
|
|
.container {
|
|
max-width: 3600px;
|
|
}
|
|
}
|
|
|