/* This framework is a selfmade CSS framework based on the default bootstrap https://getbootstrap.com/ Since AMP is a variant of the normal website that has to follow certain restrictions we cannot use the normal bootstrap here. Breakpoints are not needed for AMP, they will just blow the size of site which is not allowed for AMP. This is a minimum version of the normal boostrap This Framework follows the same rules as bootstrap. For the grid we need a container, a row and at leased one col. @date 2020-08-07 @author Danny Forster @version v0.1 */ :root {} *, *::before, *::after { box-sizing: border-box; } & { margin: 0; padding: 0; font-size: 1rem; font-weight: 400; line-height: 1.5; background-color: #ffffff; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; } p { margin-top: 0; margin-bottom: 1rem; } a { text-decoration: none; background-color: transparent; } ul, ol, dl { margin-top: 0; margin-bottom: 1rem; } .container { width: 100%; max-width: 540px; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; // removes the paddings when a container is nested .container { padding-left: 0; padding-right: 0; } } .row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .no-gutters { margin-right: 0; margin-left: 0; } .no-gutters > .col, .no-gutters > [class*="col-"] { padding-right: 0; padding-left: 0; } .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; } .col { -ms-flex-preferred-size: 0; flex-basis: 0; -ms-flex-positive: 1; flex-grow: 1; max-width: 100%; } .col-1 { -ms-flex: 0 0 8.333333%; flex: 0 0 8.333333%; max-width: 8.333333%; } .col-2 { -ms-flex: 0 0 16.666667%; flex: 0 0 16.666667%; max-width: 16.666667%; } .col-3 { -ms-flex: 0 0 25%; flex: 0 0 25%; max-width: 25%; } .col-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; } .col-5 { -ms-flex: 0 0 41.666667%; flex: 0 0 41.666667%; max-width: 41.666667%; } .col-6 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; } .col-7 { -ms-flex: 0 0 58.333333%; flex: 0 0 58.333333%; max-width: 58.333333%; } .col-8 { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; } .col-9 { -ms-flex: 0 0 75%; flex: 0 0 75%; max-width: 75%; } .col-10 { -ms-flex: 0 0 83.333333%; flex: 0 0 83.333333%; max-width: 83.333333%; } .col-11 { -ms-flex: 0 0 91.666667%; flex: 0 0 91.666667%; max-width: 91.666667%; } .col-12 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; } .order-first { -ms-flex-order: -1; order: -1; } .order-last { -ms-flex-order: 13; order: 13; } .order-0 { -ms-flex-order: 0; order: 0; } .order-1 { -ms-flex-order: 1; order: 1; } .order-2 { -ms-flex-order: 2; order: 2; } .order-3 { -ms-flex-order: 3; order: 3; } .order-4 { -ms-flex-order: 4; order: 4; } .order-5 { -ms-flex-order: 5; order: 5; } .order-6 { -ms-flex-order: 6; order: 6; } .order-7 { -ms-flex-order: 7; order: 7; } .order-8 { -ms-flex-order: 8; order: 8; } .order-9 { -ms-flex-order: 9; order: 9; } .order-10 { -ms-flex-order: 10; order: 10; } .order-11 { -ms-flex-order: 11; order: 11; } .order-12 { -ms-flex-order: 12; order: 12; } .offset-1 { margin-left: 8.333333%; } .offset-2 { margin-left: 16.666667%; } .offset-3 { margin-left: 25%; } .offset-4 { margin-left: 33.333333%; } .offset-5 { margin-left: 41.666667%; } .offset-6 { margin-left: 50%; } .offset-7 { margin-left: 58.333333%; } .offset-8 { margin-left: 66.666667%; } .offset-9 { margin-left: 75%; } .offset-10 { margin-left: 83.333333%; } .offset-11 { margin-left: 91.666667%; } .d-none { display: none; } .d-inline { display: inline; } .d-inline-block { display: inline-block; } .d-block { display: block; } .d-flex { display: -ms-flexbox; display: flex; } .d-inline-flex { display: -ms-inline-flexbox; display: inline-flex; } .justify-content-start { -ms-flex-pack: start; justify-content: flex-start; } .justify-content-end { -ms-flex-pack: end; justify-content: flex-end; } .justify-content-center { -ms-flex-pack: center; justify-content: center; } .align-items-start { -ms-flex-align: start; align-items: flex-start; } .align-items-end { -ms-flex-align: end; align-items: flex-end; } .align-items-center { -ms-flex-align: center; align-items: center; } .align-content-start { -ms-flex-line-pack: start; align-content: flex-start; } .align-content-end { -ms-flex-line-pack: end; align-content: flex-end; } .align-content-center { -ms-flex-line-pack: center; align-content: center; } .align-self-start { -ms-flex-item-align: start; align-self: flex-start; } .align-self-end { -ms-flex-item-align: end; align-self: flex-end; } .align-self-center { -ms-flex-item-align: center; align-self: center; } .mr-auto, .mx-auto { margin-right: auto; } .ml-auto, .mx-auto { margin-left: auto; } .mb-3, .my-3 { margin-bottom: 1rem; } .mt-3, .my-3 { margin-top: 1rem; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .position-static { position: static; }