/*
    Faceted-hexagon background pattern, in near-white greys.

    GENERATED FILE: do not edit by hand. The generator is cmd/pattern_hex_gen/main.go (the side, row height and greys live there); regenerate with:

        go run ./cmd/pattern_hex_gen

    Usage: link this stylesheet and add the class to any element, of any size:

        <link rel="stylesheet" href="{{ asset "/static/css/pattern_hex_fill.css" }}">
        <div class="patternHexFill"></div>

    The same one repeat is also written out as a standalone, directly viewable file: static/ui/pattern_hexagon_facets_light_grey_repeating_tile.svg.

    How it works: the background image is one repeat of the pattern (a 264 x 228 px tile) as an inline SVG, repeated by the browser in both directions from the element's top-left corner. Every vertex is on a whole pixel, the tile is a whole number of pixels on each side (a multiple of 4, so it also stays whole at the 125%, 150%, 175% and 200% Windows display scalings), and the SVG has anti-aliasing off, so the tiles join with no seam and every pixel is exactly one of the palette greys (241 to 255). Change the scale by regenerating with another side, never with background-size: a fractional tile size is resampled by the browser and the seams show.
*/
.patternHexFill {
    background-color: rgb(255, 255, 255);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='264' height='228' viewBox='0 0 264 228' shape-rendering='crispEdges'%3E%3Cpath fill='rgb(241,241,241)' d='M0,0L22,38L0,38ZM132,0L154,38L110,38ZM264,0L264,38L242,38ZM66,114L88,152L44,152Z'/%3E%3Cpath fill='rgb(242,242,242)' d='M0,0L44,0L22,38ZM132,0L176,0L154,38ZM66,114L110,114L88,152Z'/%3E%3Cpath fill='rgb(243,243,243)' d='M66,114L44,76L88,76ZM0,228L0,190L22,190ZM132,228L110,190L154,190ZM264,228L242,190L264,190Z'/%3E%3Cpath fill='rgb(244,244,244)' d='M132,0L110,38L88,0ZM264,0L242,38L220,0ZM66,114L88,76L110,114ZM66,114L44,152L22,114ZM198,114L220,152L176,152ZM0,228L22,190L44,228ZM132,228L154,190L176,228Z'/%3E%3Cpath fill='rgb(245,245,245)' d='M66,114L22,114L44,76ZM198,114L242,114L220,152ZM132,228L88,228L110,190ZM264,228L220,228L242,190Z'/%3E%3Cpath fill='rgb(246,246,246)' d='M0,76L22,114L0,114ZM132,76L154,114L110,114ZM264,76L264,114L242,114ZM198,114L176,76L220,76ZM66,190L88,228L44,228ZM198,190L220,228L176,228Z'/%3E%3Cpath fill='rgb(247,247,247)' d='M0,76L44,76L22,114ZM132,76L176,76L154,114ZM198,114L220,76L242,114ZM198,114L176,152L154,114ZM66,190L110,190L88,228ZM198,190L242,190L220,228Z'/%3E%3Cpath fill='rgb(248,248,248)' d='M0,76L0,38L22,38ZM132,76L110,38L154,38ZM264,76L242,38L264,38ZM198,114L154,114L176,76ZM66,190L44,152L88,152ZM198,190L176,152L220,152Z'/%3E%3Cpath fill='rgb(249,249,249)' d='M0,76L22,38L44,76ZM132,76L154,38L176,76ZM132,76L110,114L88,76ZM264,76L242,114L220,76ZM66,190L88,152L110,190ZM66,190L44,228L22,190ZM198,190L220,152L242,190ZM198,190L176,228L154,190Z'/%3E%3Cpath fill='rgb(250,250,250)' d='M132,76L88,76L110,38ZM264,76L220,76L242,38ZM66,190L22,190L44,152ZM198,190L154,190L176,152Z'/%3E%3Cpath fill='rgb(251,251,251)' d='M66,38L88,76L44,76ZM198,38L220,76L176,76ZM0,152L22,190L0,190ZM132,152L154,190L110,190ZM264,152L264,190L242,190Z'/%3E%3Cpath fill='rgb(252,252,252)' d='M66,38L110,38L88,76ZM198,38L242,38L220,76ZM0,152L44,152L22,190ZM132,152L176,152L154,190Z'/%3E%3Cpath fill='rgb(253,253,253)' d='M66,38L44,0L88,0ZM198,38L176,0L220,0ZM0,152L0,114L22,114ZM132,152L110,114L154,114ZM264,152L242,114L264,114Z'/%3E%3Cpath fill='rgb(254,254,254)' d='M66,38L88,0L110,38ZM66,38L44,76L22,38ZM198,38L220,0L242,38ZM198,38L176,76L154,38ZM0,152L22,114L44,152ZM132,152L154,114L176,152ZM132,152L110,190L88,152ZM264,152L242,190L220,152Z'/%3E%3Cpath fill='rgb(255,255,255)' d='M66,38L22,38L44,0ZM198,38L154,38L176,0ZM132,152L88,152L110,114ZM264,152L220,152L242,114Z'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-position: 0 0;
    background-size: 264px 228px;
}
