/** * Layout styles * This file contains the layout styles for the application * Layout has 5 main parts: * - Header (header) * - Left menu (nav) * - Main content (main) * - Right sidebar (aside) * - Footer (footer) **/ /* Layout Container */ .layout { max-width: 100%; width: 1200px; min-width: 0; /* flex child of body: allow shrink so children don’t force page width */ margin: 0 auto; display: flex; flex-grow: 1; } nav { width: 21vw; min-width: 150px; max-width: 280px; flex-shrink: 0; padding: 1em; overflow-y: auto; /* Ensure the menu is scrollable if content is too long */ } nav ul { list-style-type: none; padding: 0; } nav li { margin: 0.5em 0; } nav a { color: var(--color-primary); text-decoration: none; } nav a:hover { color: var(--color-text-mid); text-decoration: none; } /* Only the app chrome in Header.html.twig (#site-header). A bare `header` rule also matched