Pelisgo uses pure CSS media queries to adapt its layout from a wide desktop grid down to a single-column mobile view. There are no third-party CSS frameworks or JavaScript-driven layout systems involved — all responsiveness is handled directly inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LuisED18/proyecto-pagina-peliculas/llms.txt
Use this file to discover all available pages before exploring further.
css/styles.css through three @media blocks targeting tablet, mobile, and small-mobile viewport widths.
Desktop (> 1024px)
The default styles define the wide-screen experience. No media query wraps these rules — they are the baseline.- Cards are
180pxwide and380pxtall, displayed in a multi-column flex-wrap grid capped at1200pxwide. - The header is a single horizontal row: logo on the left, nav links in the center, and the search bar on the right, all aligned via
justify-content: space-around. - The header carries a
margin-bottom: 200pxbelow it to create intentional breathing room between the nav and the card grid. The card grid offsets this withmargin-top: -150px. - The footer wrapper (
.fo) haspadding: 150pxfor generous vertical spacing.
Tablet (≤ 1024px)
At viewport widths of1024px or below — targeting small laptops and tablet devices in landscape — two targeted adjustments tighten the vertical spacing that was set for large screens:
.headmargin-bottom is reduced from200pxto100px, closing the gap between the sticky header and the content below it on narrower displays..seccionPeliculasmargin-top is pulled to-50px, compensating for the reduced header margin so the card grid still sits snugly beneath it without an awkward blank band.
Mobile (≤ 768px)
The most comprehensive breakpoint targets smartphones and small tablets in portrait orientation. It reconfigures both the header and the card grid:| Element | Change | Effect |
|---|---|---|
.head | flex-direction: column, height: auto | Logo and nav stack vertically instead of sitting side-by-side |
.barra .li-d | flex-wrap: wrap, justify-content: center, gap: 10px | Nav links wrap and center beneath the logo |
#Buscador | width: 90% | Search bar spans nearly the full screen width |
.seccionPeliculas | margin-top: 20px, gap: 15px | Removes the desktop negative margin; tightens card spacing |
.card | width: calc(50% - 15px), height: 340px | Two-column card layout; cards are slightly shorter |
.card img | height: 200px | Poster image reduced to match the shorter card |
#reproductor-box iframe | height: 250px !important | Video player height drops to fit smaller screens |
.fo / .footerF | padding: 50px 20px, text-align: center | Footer centers and reduces padding |
Small Mobile (≤ 400px)
For the narrowest devices — older smartphones and small-screen Android handsets — a final breakpoint collapses the two-column card layout into a single centered column:100% of the container width but are capped at 250px so they don’t stretch uncomfortably wide on a narrow but not tiny screen. Combined with the justify-content: center on .seccionPeliculas, each card sits centered in a single column.