@charset "UTF-8"; /* Theme Name: Kazhnuz Space Theme URI: https://git.kobold.cafe/quarante-douze/qdouze2-wordpress-theme Author: Kazhnuz Author URI: https://kazhnuz.space Description: The default theme for Kazhnuz Space, my personnal blog. Version: 0.2 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, two-columns, right-sidebar Text Domain: kspace-wordpress-theme This theme is licensed under the GPLv3. */ /* --- 00. PALETTE --- */ /* * Les définitions globales des couleurs du theme. * * Elle permettent de définir rapidement à la fois les couleurs * de base qui seront utilisée pour tout le theme, mais * également celles spécifiques pour certains sujets (liens, texte) * */ @font-face { font-family: 'Amatic SC'; src: url("fonts/AmaticSC-Regular.ttf"); font-weight: 400; } /* --- 00. COLORS --- */ /* * La gestion des couleurs dans le theme. Cette partie de la stylesheet est * automatique et n'a pas besoin d'être modifiée */ /* 0. CORE ** All the basic functions from the stylesheet */ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Render the `main` element consistently in IE. */ main { display: block; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } /* 0.2 - Box-sizing * Make sure that everything have its box-sizing to border-box **/ *, *::before, *::after { box-sizing: inherit; } html { box-sizing: border-box; } body { overflow-x: hidden; text-rendering: optimizeLegibility; } /* 0.3 - Typography * This part of the (s)css handle everything related to the typography * like paragraphs, blockquote, etc. **/ /* 2.2 - Global Typography */ html, body { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; text-align: left; font-size: 4.5mm; line-height: 1.6rem; color: #073642; font-weight: 400; } strong { font-weight: 600; } em { font-style: italic; font-weight: 400; } mark { padding: 0.05rem 0.25rem; border-radius: 0.1rem; } a { color: #a32a64; outline-color: #CB357D; padding: 0.05rem; border-radius: 0.1rem; text-decoration: underline dashed; } a:visited { color: #a32a64; } a:hover, a:hover.fg-dark, .fg-light a:hover, a:active, a:active.fg-dark, .fg-light a:active { background-color: rgba(7, 54, 66, 0.1); text-decoration: none; } .fg-light a:hover, a:hover.fg-light, .fg-light a:active, a:active.fg-light { background-color: rgba(253, 247, 231, 0.2); text-decoration: none; } a:focus-visible, input:focus-visible { outline-style: dashed; outline-width: 2px; outline-offset: 1px; } mark { background-color: #ffd44f; color: inherit; } p, ul, ol { padding: 0; padding-bottom: 1.6rem; margin: 0; } p:last-child, ul:last-child, ol:last-child { padding-bottom: 0; } ul, ol { list-style: disc; } ul ul, ul ol, ol ul, ol ol { padding-bottom: 0; margin: 0; } ul li, ol li { margin: 0; margin-left: 1.6rem; line-height: 1.6rem; } ul.nolist, ol.nolist { display: inline; list-style: none; margin: 0; padding: 0; } ul.nolist li, ol.nolist li { display: inline; margin: 0; padding: 0; } ::selection, ::-moz-selection { background-color: #0f7e84; color: #FDF7E7; } /* 2.3 - Titles */ h1, h2, h3, h4, h5, h6, h7 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; text-align: left; font-size: 1em; padding: 0; margin: 0; font-weight: 400; padding-bottom: 1.6rem; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h7 a { border: none; } sup > a, sub > a { color: #CB357D; background-color: transparent; } sup > a:hover, sup > a:focus, sup > a:active, sub > a:hover, sub > a:focus, sub > a:active { color: #a32a64; } .main-title, .page-title { font-family: Amatic SC, sans-serif; font-size: 3.815rem; line-height: 4.8rem; font-weight: 400; } h1, .title-1 { font-family: Amatic SC, sans-serif; font-size: 2.441rem; line-height: 3.2rem; font-weight: 800; color: #CB357D; } h2, .title-2 { font-size: 2.441rem; line-height: 3.2rem; font-weight: 300; } h3, .title-3 { font-size: 1.953rem; line-height: 3.2rem; font-weight: 600; } h4, .title-4 { font-size: 1.563rem; line-height: 3.2rem; font-weight: 800; } h5, .title-5 { font-size: 1.25rem; line-height: 1.6rem; font-weight: 600; } h6, .title-6 { font-size: 1rem; line-height: 1.6rem; font-weight: 800; } /* 2.4 - hr */ hr { border: 0px solid rgba(1, 1, 1, 0.15); border-bottom: 1px; margin: 1.5em; } /* 2.5 - Wells and quotes */ blockquote:before, .quote:before { content: ""; } blockquote, .quote, .well, pre, .pre, .well-pre { border: 0; border-radius: 0px; margin: 0 0 1.6rem 0; padding: 1.6rem 1rem 1.6rem 1rem; max-width: 100%; font-style: italic; background-color: #eee8d5; color: #073642; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } code { background: transparent; color: #dc322f; } .small-text { font-size: 0.9em; } /* 2.6 - Special styling */ .time { font-style: italic; text-align: right; width: 100%; display: block; } #wrapper { background-color: #FDF7E7; } .container-big { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1600px; margin: auto; } .container, .container-onecolumn { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1200px; margin: auto; } .columns { display: grid; grid-gap: 1.6rem; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto; padding: 1.6rem; } .columns-nogap { grid-gap: 0px; } .column { grid-column: span 12; width: 100%; margin: 0; } .column > *:last-child { margin-bottom: 0 !important; } .col-1 { grid-column: span 1; width: 100%; margin: 0; } .col-1 > *:last-child { margin-bottom: 0 !important; } .col-2 { grid-column: span 2; width: 100%; margin: 0; } .col-2 > *:last-child { margin-bottom: 0 !important; } .col-3 { grid-column: span 3; width: 100%; margin: 0; } .col-3 > *:last-child { margin-bottom: 0 !important; } .col-4 { grid-column: span 4; width: 100%; margin: 0; } .col-4 > *:last-child { margin-bottom: 0 !important; } .col-5 { grid-column: span 5; width: 100%; margin: 0; } .col-5 > *:last-child { margin-bottom: 0 !important; } .col-6 { grid-column: span 6; width: 100%; margin: 0; } .col-6 > *:last-child { margin-bottom: 0 !important; } .col-7 { grid-column: span 7; width: 100%; margin: 0; } .col-7 > *:last-child { margin-bottom: 0 !important; } .col-8 { grid-column: span 8; width: 100%; margin: 0; } .col-8 > *:last-child { margin-bottom: 0 !important; } .col-9 { grid-column: span 9; width: 100%; margin: 0; } .col-9 > *:last-child { margin-bottom: 0 !important; } .col-10 { grid-column: span 10; width: 100%; margin: 0; } .col-10 > *:last-child { margin-bottom: 0 !important; } .col-11 { grid-column: span 11; width: 100%; margin: 0; } .col-11 > *:last-child { margin-bottom: 0 !important; } .col-12 { grid-column: span 12; width: 100%; margin: 0; } .col-12 > *:last-child { margin-bottom: 0 !important; } @media (min-width: 576px) { .col-sm-1 { grid-column: span 1; width: 100%; margin: 0; } .col-sm-1 > *:last-child { margin-bottom: 0 !important; } .col-sm-2 { grid-column: span 2; width: 100%; margin: 0; } .col-sm-2 > *:last-child { margin-bottom: 0 !important; } .col-sm-3 { grid-column: span 3; width: 100%; margin: 0; } .col-sm-3 > *:last-child { margin-bottom: 0 !important; } .col-sm-4 { grid-column: span 4; width: 100%; margin: 0; } .col-sm-4 > *:last-child { margin-bottom: 0 !important; } .col-sm-5 { grid-column: span 5; width: 100%; margin: 0; } .col-sm-5 > *:last-child { margin-bottom: 0 !important; } .col-sm-6 { grid-column: span 6; width: 100%; margin: 0; } .col-sm-6 > *:last-child { margin-bottom: 0 !important; } .col-sm-7 { grid-column: span 7; width: 100%; margin: 0; } .col-sm-7 > *:last-child { margin-bottom: 0 !important; } .col-sm-8 { grid-column: span 8; width: 100%; margin: 0; } .col-sm-8 > *:last-child { margin-bottom: 0 !important; } .col-sm-9 { grid-column: span 9; width: 100%; margin: 0; } .col-sm-9 > *:last-child { margin-bottom: 0 !important; } .col-sm-10 { grid-column: span 10; width: 100%; margin: 0; } .col-sm-10 > *:last-child { margin-bottom: 0 !important; } .col-sm-11 { grid-column: span 11; width: 100%; margin: 0; } .col-sm-11 > *:last-child { margin-bottom: 0 !important; } .col-sm-12 { grid-column: span 12; width: 100%; margin: 0; } .col-sm-12 > *:last-child { margin-bottom: 0 !important; } } @media (min-width: 768px) { .col-md-1 { grid-column: span 1; width: 100%; margin: 0; } .col-md-1 > *:last-child { margin-bottom: 0 !important; } .col-md-2 { grid-column: span 2; width: 100%; margin: 0; } .col-md-2 > *:last-child { margin-bottom: 0 !important; } .col-md-3 { grid-column: span 3; width: 100%; margin: 0; } .col-md-3 > *:last-child { margin-bottom: 0 !important; } .col-md-4 { grid-column: span 4; width: 100%; margin: 0; } .col-md-4 > *:last-child { margin-bottom: 0 !important; } .col-md-5 { grid-column: span 5; width: 100%; margin: 0; } .col-md-5 > *:last-child { margin-bottom: 0 !important; } .col-md-6 { grid-column: span 6; width: 100%; margin: 0; } .col-md-6 > *:last-child { margin-bottom: 0 !important; } .col-md-7 { grid-column: span 7; width: 100%; margin: 0; } .col-md-7 > *:last-child { margin-bottom: 0 !important; } .col-md-8 { grid-column: span 8; width: 100%; margin: 0; } .col-md-8 > *:last-child { margin-bottom: 0 !important; } .col-md-9 { grid-column: span 9; width: 100%; margin: 0; } .col-md-9 > *:last-child { margin-bottom: 0 !important; } .col-md-10 { grid-column: span 10; width: 100%; margin: 0; } .col-md-10 > *:last-child { margin-bottom: 0 !important; } .col-md-11 { grid-column: span 11; width: 100%; margin: 0; } .col-md-11 > *:last-child { margin-bottom: 0 !important; } .col-md-12 { grid-column: span 12; width: 100%; margin: 0; } .col-md-12 > *:last-child { margin-bottom: 0 !important; } } @media (min-width: 992px) { .col-lg-1 { grid-column: span 1; width: 100%; margin: 0; } .col-lg-1 > *:last-child { margin-bottom: 0 !important; } .col-lg-2 { grid-column: span 2; width: 100%; margin: 0; } .col-lg-2 > *:last-child { margin-bottom: 0 !important; } .col-lg-3 { grid-column: span 3; width: 100%; margin: 0; } .col-lg-3 > *:last-child { margin-bottom: 0 !important; } .col-lg-4 { grid-column: span 4; width: 100%; margin: 0; } .col-lg-4 > *:last-child { margin-bottom: 0 !important; } .col-lg-5 { grid-column: span 5; width: 100%; margin: 0; } .col-lg-5 > *:last-child { margin-bottom: 0 !important; } .col-lg-6 { grid-column: span 6; width: 100%; margin: 0; } .col-lg-6 > *:last-child { margin-bottom: 0 !important; } .col-lg-7 { grid-column: span 7; width: 100%; margin: 0; } .col-lg-7 > *:last-child { margin-bottom: 0 !important; } .col-lg-8 { grid-column: span 8; width: 100%; margin: 0; } .col-lg-8 > *:last-child { margin-bottom: 0 !important; } .col-lg-9 { grid-column: span 9; width: 100%; margin: 0; } .col-lg-9 > *:last-child { margin-bottom: 0 !important; } .col-lg-10 { grid-column: span 10; width: 100%; margin: 0; } .col-lg-10 > *:last-child { margin-bottom: 0 !important; } .col-lg-11 { grid-column: span 11; width: 100%; margin: 0; } .col-lg-11 > *:last-child { margin-bottom: 0 !important; } .col-lg-12 { grid-column: span 12; width: 100%; margin: 0; } .col-lg-12 > *:last-child { margin-bottom: 0 !important; } } @media (min-width: 1200px) { .col-xl-1 { grid-column: span 1; width: 100%; margin: 0; } .col-xl-1 > *:last-child { margin-bottom: 0 !important; } .col-xl-2 { grid-column: span 2; width: 100%; margin: 0; } .col-xl-2 > *:last-child { margin-bottom: 0 !important; } .col-xl-3 { grid-column: span 3; width: 100%; margin: 0; } .col-xl-3 > *:last-child { margin-bottom: 0 !important; } .col-xl-4 { grid-column: span 4; width: 100%; margin: 0; } .col-xl-4 > *:last-child { margin-bottom: 0 !important; } .col-xl-5 { grid-column: span 5; width: 100%; margin: 0; } .col-xl-5 > *:last-child { margin-bottom: 0 !important; } .col-xl-6 { grid-column: span 6; width: 100%; margin: 0; } .col-xl-6 > *:last-child { margin-bottom: 0 !important; } .col-xl-7 { grid-column: span 7; width: 100%; margin: 0; } .col-xl-7 > *:last-child { margin-bottom: 0 !important; } .col-xl-8 { grid-column: span 8; width: 100%; margin: 0; } .col-xl-8 > *:last-child { margin-bottom: 0 !important; } .col-xl-9 { grid-column: span 9; width: 100%; margin: 0; } .col-xl-9 > *:last-child { margin-bottom: 0 !important; } .col-xl-10 { grid-column: span 10; width: 100%; margin: 0; } .col-xl-10 > *:last-child { margin-bottom: 0 !important; } .col-xl-11 { grid-column: span 11; width: 100%; margin: 0; } .col-xl-11 > *:last-child { margin-bottom: 0 !important; } .col-xl-12 { grid-column: span 12; width: 100%; margin: 0; } .col-xl-12 > *:last-child { margin-bottom: 0 !important; } } @media (min-width: 1600px) { .col-xxl-1 { grid-column: span 1; width: 100%; margin: 0; } .col-xxl-1 > *:last-child { margin-bottom: 0 !important; } .col-xxl-2 { grid-column: span 2; width: 100%; margin: 0; } .col-xxl-2 > *:last-child { margin-bottom: 0 !important; } .col-xxl-3 { grid-column: span 3; width: 100%; margin: 0; } .col-xxl-3 > *:last-child { margin-bottom: 0 !important; } .col-xxl-4 { grid-column: span 4; width: 100%; margin: 0; } .col-xxl-4 > *:last-child { margin-bottom: 0 !important; } .col-xxl-5 { grid-column: span 5; width: 100%; margin: 0; } .col-xxl-5 > *:last-child { margin-bottom: 0 !important; } .col-xxl-6 { grid-column: span 6; width: 100%; margin: 0; } .col-xxl-6 > *:last-child { margin-bottom: 0 !important; } .col-xxl-7 { grid-column: span 7; width: 100%; margin: 0; } .col-xxl-7 > *:last-child { margin-bottom: 0 !important; } .col-xxl-8 { grid-column: span 8; width: 100%; margin: 0; } .col-xxl-8 > *:last-child { margin-bottom: 0 !important; } .col-xxl-9 { grid-column: span 9; width: 100%; margin: 0; } .col-xxl-9 > *:last-child { margin-bottom: 0 !important; } .col-xxl-10 { grid-column: span 10; width: 100%; margin: 0; } .col-xxl-10 > *:last-child { margin-bottom: 0 !important; } .col-xxl-11 { grid-column: span 11; width: 100%; margin: 0; } .col-xxl-11 > *:last-child { margin-bottom: 0 !important; } .col-xxl-12 { grid-column: span 12; width: 100%; margin: 0; } .col-xxl-12 > *:last-child { margin-bottom: 0 !important; } } /* --- 04. COMPOSANTS --- */ /* * Les différents composants réutilisables de la page. * */ /* * 3. Buttons and labels * All clickable elements * */ .btn { padding: 1.6em; padding-top: 0.5333333333em; padding-bottom: 0.5333333333em; margin: 0.8em; margin-top: 0.5333333333em; margin-bottom: 1.6rem; line-height: 1.6rem; height: auto; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; font-weight: 400; } .btn:before { content: " "; position: absolute; top: 0; left: -0.8em; right: -0.8em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .btn:hover, .btn:active { background-color: transparent; } .btn:hover, .btn:active { border: 0px solid rgba(0, 0, 0, 0.3); } p .btn:last-child { margin-bottom: 0; } .btn-small, .badge { padding: 0.4em; padding-top: 0.1333333333em; padding-bottom: 0.1333333333em; margin: 0.2em; margin-top: 0.1333333333em; margin-bottom: 1.6rem; line-height: 1.6rem; height: auto; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; font-weight: 400; padding-left: 0.4em; padding-right: 0.4em; text-decoration: none; line-height: 1.5em; } .btn-small:before, .badge:before { content: " "; position: absolute; top: 0; left: -0.2em; right: -0.2em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .btn-small:hover, .btn-small:active, .badge:hover, .badge:active { background-color: transparent; } strong.btn-fake { padding: 1.6em; padding-top: 0.5333333333em; padding-bottom: 0.5333333333em; margin: 0.8em; margin-top: 0.5333333333em; margin-bottom: 1.6rem; line-height: 1.6rem; height: auto; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; font-weight: 400; background-color: transparent; outline-color: transparent; color: black; } strong.btn-fake:before { content: " "; position: absolute; top: 0; left: -0.8em; right: -0.8em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } strong.btn-fake:hover, strong.btn-fake:active { background-color: transparent; } strong.btn-fake:before { background-color: transparent; } strong.btn-fake:visited { background-color: transparent; color: black; } strong.btn-fake:visited:before { background-color: transparent; } strong.btn-fake:hover, strong.btn-fake:active, strong.btn-fake:visited:hover, strong.btn-fake:visited:active, strong.btn-fake:not(.disabled):not(:disabled):hover, strong.btn-fake:not(.disabled):not(:disabled):active { background-color: transparent; color: #0d0d0d; outline-color: transparent; box-shadow: none; } strong.btn-fake:hover:before, strong.btn-fake:active:before, strong.btn-fake:visited:hover:before, strong.btn-fake:visited:active:before, strong.btn-fake:not(.disabled):not(:disabled):hover:before, strong.btn-fake:not(.disabled):not(:disabled):active:before { background-color: transparent; } .btn-readmore, .btn-link { background-color: transparent; outline-color: transparent; color: #CB357D; } .btn-readmore:before, .btn-link:before { background-color: transparent; } .btn-readmore:visited, .btn-link:visited { background-color: transparent; color: #CB357D; } .btn-readmore:visited:before, .btn-link:visited:before { background-color: transparent; } .btn-readmore:hover, .btn-readmore:active, .btn-readmore:visited:hover, .btn-readmore:visited:active, .btn-readmore:not(.disabled):not(:disabled):hover, .btn-readmore:not(.disabled):not(:disabled):active, .btn-link:hover, .btn-link:active, .btn-link:visited:hover, .btn-link:visited:active, .btn-link:not(.disabled):not(:disabled):hover, .btn-link:not(.disabled):not(:disabled):active { background-color: #e3d9ba; color: #d0498a; outline-color: #e3d9ba; box-shadow: none; } .btn-readmore:hover:before, .btn-readmore:active:before, .btn-readmore:visited:hover:before, .btn-readmore:visited:active:before, .btn-readmore:not(.disabled):not(:disabled):hover:before, .btn-readmore:not(.disabled):not(:disabled):active:before, .btn-link:hover:before, .btn-link:active:before, .btn-link:visited:hover:before, .btn-link:visited:active:before, .btn-link:not(.disabled):not(:disabled):hover:before, .btn-link:not(.disabled):not(:disabled):active:before { background-color: #e3d9ba; } .btn-readmore:not(:hover), .btn-link:not(:hover) { border-color: transparent; } .btn-toolbar { padding: 0 1.6em; } .btn-group > .btn { border-radius: 0px 0px 0px 0px; margin: 0 0 0 0 !important; } .btn-group:not(:first-child) > .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; } .btn-group:not(:first-child) > .btn:before { content: " " !important; border-left: 1px solid rgba(0, 0, 0, 0.2); } .btn-group:not(:last-child) > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; } /* ------------------ BREADCRUMB ------------------- */ ul.breadcrumb, ol.breadcrumb, .breadcrumb { padding-top: 0em; background-color: transparent; margin: 0; padding-bottom: 1.6rem; display: flex; flex-direction: row; align-items: flex-start; list-style: none; } ul.breadcrumb li, ol.breadcrumb li, .breadcrumb li { margin: 0; } .breadcrumb li.breadcrumb-item { padding: 0; margin: 0; } .breadcrumb li.breadcrumb-item:not(:first-child) { margin: 0 0 0 1rem !important; } .breadcrumb li.breadcrumb-item:before { display: none; } .breadcrumb li.breadcrumb-item a, .breadcrumb li.breadcrumb-item > span { display: inline-block; padding: 1.6em; padding-top: 0.5333333333em; padding-bottom: 0.5333333333em; margin: 0.8em; margin-top: 0.5333333333em; margin-bottom: 1.6rem; line-height: 1.6rem; height: auto; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; font-weight: 400; background-color: #eee8d5; outline-color: #eee8d5; color: #073642; margin: 0 0 0 0; outline-color: #e3d9ba !important; text-decoration: none; } .breadcrumb li.breadcrumb-item a:before, .breadcrumb li.breadcrumb-item > span:before { content: " "; position: absolute; top: 0; left: -0.8em; right: -0.8em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .breadcrumb li.breadcrumb-item a:hover, .breadcrumb li.breadcrumb-item a:active, .breadcrumb li.breadcrumb-item > span:hover, .breadcrumb li.breadcrumb-item > span:active { background-color: transparent; } .breadcrumb li.breadcrumb-item a:before, .breadcrumb li.breadcrumb-item > span:before { background-color: #eee8d5; } .breadcrumb li.breadcrumb-item a:visited, .breadcrumb li.breadcrumb-item > span:visited { background-color: #eee8d5; color: #073642; } .breadcrumb li.breadcrumb-item a:visited:before, .breadcrumb li.breadcrumb-item > span:visited:before { background-color: #eee8d5; } .breadcrumb li.breadcrumb-item a:hover, .breadcrumb li.breadcrumb-item a:active, .breadcrumb li.breadcrumb-item a:visited:hover, .breadcrumb li.breadcrumb-item a:visited:active, .breadcrumb li.breadcrumb-item a:not(.disabled):not(:disabled):hover, .breadcrumb li.breadcrumb-item a:not(.disabled):not(:disabled):active, .breadcrumb li.breadcrumb-item > span:hover, .breadcrumb li.breadcrumb-item > span:active, .breadcrumb li.breadcrumb-item > span:visited:hover, .breadcrumb li.breadcrumb-item > span:visited:active, .breadcrumb li.breadcrumb-item > span:not(.disabled):not(:disabled):hover, .breadcrumb li.breadcrumb-item > span:not(.disabled):not(:disabled):active { background-color: #e3d9ba; color: #094959; outline-color: #e3d9ba; box-shadow: none; } .breadcrumb li.breadcrumb-item a:hover:before, .breadcrumb li.breadcrumb-item a:active:before, .breadcrumb li.breadcrumb-item a:visited:hover:before, .breadcrumb li.breadcrumb-item a:visited:active:before, .breadcrumb li.breadcrumb-item a:not(.disabled):not(:disabled):hover:before, .breadcrumb li.breadcrumb-item a:not(.disabled):not(:disabled):active:before, .breadcrumb li.breadcrumb-item > span:hover:before, .breadcrumb li.breadcrumb-item > span:active:before, .breadcrumb li.breadcrumb-item > span:visited:hover:before, .breadcrumb li.breadcrumb-item > span:visited:active:before, .breadcrumb li.breadcrumb-item > span:not(.disabled):not(:disabled):hover:before, .breadcrumb li.breadcrumb-item > span:not(.disabled):not(:disabled):active:before { background-color: #e3d9ba; } .breadcrumb li.breadcrumb-item a.active, .breadcrumb li.breadcrumb-item > span.active { background-color: #0f7e84; outline-color: #0f7e84; color: #FDF7E7; } .breadcrumb li.breadcrumb-item a.active:before, .breadcrumb li.breadcrumb-item > span.active:before { background-color: #0f7e84; } .breadcrumb li.breadcrumb-item a.active:visited, .breadcrumb li.breadcrumb-item > span.active:visited { background-color: #0f7e84; color: #FDF7E7; } .breadcrumb li.breadcrumb-item a.active:visited:before, .breadcrumb li.breadcrumb-item > span.active:visited:before { background-color: #0f7e84; } .breadcrumb li.breadcrumb-item a.active:hover, .breadcrumb li.breadcrumb-item a.active:active, .breadcrumb li.breadcrumb-item a.active:visited:hover, .breadcrumb li.breadcrumb-item a.active:visited:active, .breadcrumb li.breadcrumb-item a.active:not(.disabled):not(:disabled):hover, .breadcrumb li.breadcrumb-item a.active:not(.disabled):not(:disabled):active, .breadcrumb li.breadcrumb-item > span.active:hover, .breadcrumb li.breadcrumb-item > span.active:active, .breadcrumb li.breadcrumb-item > span.active:visited:hover, .breadcrumb li.breadcrumb-item > span.active:visited:active, .breadcrumb li.breadcrumb-item > span.active:not(.disabled):not(:disabled):hover, .breadcrumb li.breadcrumb-item > span.active:not(.disabled):not(:disabled):active { background-color: #0f7e84; color: white; outline-color: #0f7e84; box-shadow: none; } .breadcrumb li.breadcrumb-item a.active:hover:before, .breadcrumb li.breadcrumb-item a.active:active:before, .breadcrumb li.breadcrumb-item a.active:visited:hover:before, .breadcrumb li.breadcrumb-item a.active:visited:active:before, .breadcrumb li.breadcrumb-item a.active:not(.disabled):not(:disabled):hover:before, .breadcrumb li.breadcrumb-item a.active:not(.disabled):not(:disabled):active:before, .breadcrumb li.breadcrumb-item > span.active:hover:before, .breadcrumb li.breadcrumb-item > span.active:active:before, .breadcrumb li.breadcrumb-item > span.active:visited:hover:before, .breadcrumb li.breadcrumb-item > span.active:visited:active:before, .breadcrumb li.breadcrumb-item > span.active:not(.disabled):not(:disabled):hover:before, .breadcrumb li.breadcrumb-item > span.active:not(.disabled):not(:disabled):active:before { background-color: #0f7e84; } .breadcrumb li.breadcrumb-item:not(:first-child) a, .breadcrumb li.breadcrumb-item:not(:first-child) > span { border-top-left-radius: 0; border-bottom-left-radius: 0; } .breadcrumb li.breadcrumb-item:not(:last-child) a, .breadcrumb li.breadcrumb-item:not(:last-child) > span { border-top-right-radius: 0; border-bottom-right-radius: 0; } nav.pagination { padding-bottom: 1.6rem; } nav.pagination .nav-links { text-align: center; width: 100%; } nav.pagination .page-numbers, nav.pagination .next, nav.pagination .prev { padding: 0.4em; padding-top: 0.1333333333em; padding-bottom: 0.1333333333em; margin: 0.2em; margin-top: 0.1333333333em; margin-bottom: 1.6rem; line-height: 1.6rem; height: auto; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; font-weight: 400; padding-left: 0.4em; padding-right: 0.4em; margin-right: 0.2em; margin-left: 0.2em; text-decoration: none; } nav.pagination .page-numbers:before, nav.pagination .next:before, nav.pagination .prev:before { content: " "; position: absolute; top: 0; left: -0.2em; right: -0.2em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } nav.pagination .page-numbers:hover, nav.pagination .page-numbers:active, nav.pagination .next:hover, nav.pagination .next:active, nav.pagination .prev:hover, nav.pagination .prev:active { background-color: transparent; } nav.pagination .page-numbers:not(.current):not(.dots), nav.pagination .next:not(.current):not(.dots), nav.pagination .prev:not(.current):not(.dots) { background-color: #eee8d5; outline-color: #eee8d5; color: #073642; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); outline-color: #cbcdbf; } nav.pagination .page-numbers:not(.current):not(.dots):before, nav.pagination .next:not(.current):not(.dots):before, nav.pagination .prev:not(.current):not(.dots):before { background-color: #eee8d5; } nav.pagination .page-numbers:not(.current):not(.dots):visited, nav.pagination .next:not(.current):not(.dots):visited, nav.pagination .prev:not(.current):not(.dots):visited { background-color: #eee8d5; color: #073642; } nav.pagination .page-numbers:not(.current):not(.dots):visited:before, nav.pagination .next:not(.current):not(.dots):visited:before, nav.pagination .prev:not(.current):not(.dots):visited:before { background-color: #eee8d5; } nav.pagination .page-numbers:not(.current):not(.dots):hover, nav.pagination .page-numbers:not(.current):not(.dots):active, nav.pagination .page-numbers:not(.current):not(.dots):visited:hover, nav.pagination .page-numbers:not(.current):not(.dots):visited:active, nav.pagination .page-numbers:not(.current):not(.dots):not(.disabled):not(:disabled):hover, nav.pagination .page-numbers:not(.current):not(.dots):not(.disabled):not(:disabled):active, nav.pagination .next:not(.current):not(.dots):hover, nav.pagination .next:not(.current):not(.dots):active, nav.pagination .next:not(.current):not(.dots):visited:hover, nav.pagination .next:not(.current):not(.dots):visited:active, nav.pagination .next:not(.current):not(.dots):not(.disabled):not(:disabled):hover, nav.pagination .next:not(.current):not(.dots):not(.disabled):not(:disabled):active, nav.pagination .prev:not(.current):not(.dots):hover, nav.pagination .prev:not(.current):not(.dots):active, nav.pagination .prev:not(.current):not(.dots):visited:hover, nav.pagination .prev:not(.current):not(.dots):visited:active, nav.pagination .prev:not(.current):not(.dots):not(.disabled):not(:disabled):hover, nav.pagination .prev:not(.current):not(.dots):not(.disabled):not(:disabled):active { background-color: #cbcdbf; color: #094959; outline-color: #cbcdbf; box-shadow: none; } nav.pagination .page-numbers:not(.current):not(.dots):hover:before, nav.pagination .page-numbers:not(.current):not(.dots):active:before, nav.pagination .page-numbers:not(.current):not(.dots):visited:hover:before, nav.pagination .page-numbers:not(.current):not(.dots):visited:active:before, nav.pagination .page-numbers:not(.current):not(.dots):not(.disabled):not(:disabled):hover:before, nav.pagination .page-numbers:not(.current):not(.dots):not(.disabled):not(:disabled):active:before, nav.pagination .next:not(.current):not(.dots):hover:before, nav.pagination .next:not(.current):not(.dots):active:before, nav.pagination .next:not(.current):not(.dots):visited:hover:before, nav.pagination .next:not(.current):not(.dots):visited:active:before, nav.pagination .next:not(.current):not(.dots):not(.disabled):not(:disabled):hover:before, nav.pagination .next:not(.current):not(.dots):not(.disabled):not(:disabled):active:before, nav.pagination .prev:not(.current):not(.dots):hover:before, nav.pagination .prev:not(.current):not(.dots):active:before, nav.pagination .prev:not(.current):not(.dots):visited:hover:before, nav.pagination .prev:not(.current):not(.dots):visited:active:before, nav.pagination .prev:not(.current):not(.dots):not(.disabled):not(:disabled):hover:before, nav.pagination .prev:not(.current):not(.dots):not(.disabled):not(:disabled):active:before { background-color: #cbcdbf; } nav.pagination .page-numbers.current, nav.pagination .next.current, nav.pagination .prev.current { background-color: #CB357D; color: #FDF7E7; } nav.pagination .page-numbers.current::before, nav.pagination .next.current::before, nav.pagination .prev.current::before { background-color: #CB357D; } /* * 2. Cards and containers * All elements that are supposed to contain other stuff * * */ .card { border-radius: 0px 0px 0px 0px; background-color: #eee8d5; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0); border: none; margin: 0; margin-bottom: 1.6rem; display: flex; flex-direction: column; color: #073642; } .card > * { margin-left: 1em; margin-right: 1em; } .card > *:first-child, .card > *.sr-only:first-child ~ * { margin-top: 2em; } .card > *:first-child.card-header, .card > *.sr-only:first-child ~ *.card-header { margin-top: 0.8em; } .card > *:last-child { margin-bottom: 2em; } .card > *:last-child.card-header { margin-bottom: 0.8em; } .card-body { padding: 0 !important; } .card-header { font-size: 1em; font-weight: 600; padding: 1em; padding-left: 1.6em; padding-right: 1.6em; padding-bottom: 1em !important; margin: 0px; margin-bottom: 0.8em; margin-top: 0.8em; line-height: 1; position: relative; left: 0px; width: 85%; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; border-radius: 0; } .card-header:before { content: " "; position: absolute; top: 0; left: -1em; right: -1em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .card-header:first-child { border-top-left-radius: 0px; border-top-right-radius: 0px; } .card-header:last-child { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6, .card-header h7, .card-header h8, .card-header h9, .card-header h10 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 1em; padding: 0px; margin: 0px; color: #FDF7E7; font-weight: 300; line-height: 1.6em; } .card-header .fa { margin-right: 0.5em; } /* CARD LIST - Make a list part of a card */ ul.card-list, .card > ul { padding: 0; margin: 0; } ul.card-list li.list-element, .card > ul li.list-element { line-height: 0.8em; padding: 0.4em, 0.4em, 0.4em, 0.8em; margin: 0; } .list-check li.list-element { list-style: none; } .list-check li.list-element::before { font-family: "ForkAwesome"; content: ""; padding-right: 0.4em; } .list-cross li.list-element { list-style: none; } .list-cross li.list-element::before { font-family: "ForkAwesome"; content: ""; padding-right: 0.4em; } .list-danger li.list-element::before { color: #dc322f; } .list-success li.list-element::before { color: #859900; } .smallcard-header { font-size: 1em; font-weight: 600; padding: 1em; padding-left: 1.6em; padding-right: 1.6em; padding-bottom: 1em !important; margin: 0px; margin-bottom: 0.8em; margin-top: 0.8em; line-height: 1; position: relative; left: 0px; width: 85%; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; border-radius: 0; } .smallcard-header:before { content: " "; position: absolute; top: 0; left: -1em; right: -1em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .smallcard-header:first-child { border-top-left-radius: 0px; border-top-right-radius: 0px; } .smallcard-header:last-child { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .smallcard-header h1, .smallcard-header h2, .smallcard-header h3, .smallcard-header h4, .smallcard-header h5, .smallcard-header h6, .smallcard-header h7, .smallcard-header h8, .smallcard-header h9, .smallcard-header h10 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 1em; padding: 0px; margin: 0px; color: #FDF7E7; font-weight: 300; line-height: 1.6em; } /* Menu handling */ .menu { display: flex; flex-direction: column; } .menu ul, .menu li { list-style: none; padding: 0; margin: 0; } .menu a, .menu a:visited { border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; display: flex; line-height: 1.6em; padding: 0.4em; margin: 0; justify-content: space-between; align-items: center; text-decoration: none; word-wrap: none; text-overflow: ellipsis; overflow: hidden; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; } .menu a:before, .menu a:visited:before { content: " "; position: absolute; top: 0; left: -0.4rem; right: -0.4rem; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .menu a:before, .menu a:visited:before { content: " "; position: absolute; top: 0; left: -0.4rem; right: -0.4rem; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .menu a:not(:hover), .menu a:visited:not(:hover) { border-color: transparent; } .menu a .badge, .menu a:visited .badge { margin: 0; } .menu.fg-light a, .fg-light .menu a { color: #FDF7E7; outline-color: #FDF7E7; } .menu.fg-light a:hover, .menu.fg-light a:active, .menu.fg-light a.submenu:focus, .fg-light .menu a:hover, .fg-light .menu a:active, .fg-light .menu a.submenu:focus { background-color: rgba(253, 247, 231, 0.3); } .menu.fg-light input, .fg-light .menu input { outline-color: #FDF7E7; } .menu.fg-dark a, .fg-dark .menu a { color: #073642; outline-color: #073642; } .menu.fg-dark a:hover, .menu.fg-dark a:active, .menu.fg-dark a.submenu:focus, .fg-dark .menu a:hover, .fg-dark .menu a:active, .fg-dark .menu a.submenu:focus { background-color: rgba(7, 54, 66, 0.15); } .menu.fg-dark input, .fg-dark .menu input { outline-color: #073642; } .submenu .fa-caret-down { position: relative; top: 2px; font-size: 0.8em; } .toolbar { flex-direction: row; padding: 0.4em; } .toolbar ul { display: flex; flex-direction: row; flex-grow: 1; } .toolbar li { text-align: center; position: relative; } .toolbar li a, .toolbar li span, .toolbar li em, .toolbar li strong, .toolbar li.toolbar-element { display: block; padding: 0.5333333333em; padding-left: 0.8em; padding-right: 0.8em; } .toolbar li ul { visibility: hidden; opacity: 0; position: absolute; transition: all 0.5s ease; margin-top: 0rem; left: 0; display: none; padding: 0.33rem; z-index: 1; } .toolbar li:hover ul, .toolbar li ul:hover, .toolbar li:focus-within ul { visibility: visible; opacity: 1; display: flex; flex-direction: column; border-radius: 0px; box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2); width: max-content; } .toolbar li:hover ul li, .toolbar li ul:hover li, .toolbar li:focus-within ul li { text-align: left; } .menu-divider, .menu ul h1, ul.menu h1, .menu h2, ul.menu h2 { position: relative; left: -0.4em; font-weight: 800; padding-top: 0.4em; padding-bottom: 0.4em; font-size: 1em; line-height: 1.6em; } .menu-label { border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; transition: background-color .2s, border .2s, box-shadow .2s, color .2s; padding-left: 0.4em; padding-right: 0.4em; } .menu-label:before { content: " "; position: absolute; top: 0; left: -0.2em; right: -0.2em; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .menu-label:hover, .menu-label:active { background-color: transparent; } .toast { border-radius: 0px 0px 0px 0px; background-color: #eee8d5; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0); border: none; margin: 0; margin-bottom: 1.6rem; padding: 0.4em; font-size: 0.8rem; } .toast > * { margin-left: 0.2em; margin-right: 0.2em; } .toast > *:first-child, .toast > *.sr-only:first-child ~ * { margin-top: 0.4em; } .toast > *:first-child.card-header, .toast > *.sr-only:first-child ~ *.card-header { margin-top: 0.8em; } .toast > *:last-child { margin-bottom: 0.4em; } .toast > *:last-child.card-header { margin-bottom: 0.8em; } .toast a { margin: 0; } /* TABLE * Style tables */ table { border-collapse: collapse; } table, th, td { border: 0; padding: 0; margin: 0; } th, td { vertical-align: center; padding-top: 0.325em; padding-bottom: 0.325em; } th { font-weight: 800; } .sidebar-container { width: 100%; display: grid; grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 1.6rem; column-gap: 3.2rem; grid-template-areas: "side" "main"; } @media (min-width: 992px) { .sidebar-container { grid-template-columns: 360px auto; grid-template-areas: "side main"; } } .sidebar-container .sidebar { padding: 1rem; } input, textarea { width: 100%; background-color: #FDF7E7; border-radius: 0px; border: 0px solid rgba(0, 0, 0, 0); padding: 0.4em; line-height: 1.6em; } /* 1. Utils ** All the utilities class of the stylesheet */ /* 1.0 - Accessibility classes * Some classes to help accessibility **/ .screen-reader-text { visibility: collapse; font-size: 0; } .skip { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; } .skip:focus-within { position: static; width: auto; height: auto; } /* 1.1 - Alignement classes * Handle easily alignement and flexboxes **/ .flex-that { display: flex; justify-content: space-between; } .align-center { text-align: center; text-indent: 0 !important; } .align-left { text-align: left; } .align-right { text-align: right; } .round, .pill { border-radius: 9999px; } .no-borders { border-width: 0px; border-style: none; } /* 1.2 - Colorization classes * Colorize some aspect of a class **/ .bg-primary { background-color: #CB357D; color: #FDF7E7; } .bg-primary a { color: currentColor; outline-color: currentColor; } .bg-primary:hover { background-color: #CB357D; color: #FDF7E7; } .bg-primary:hover a { color: currentColor; outline-color: currentColor; } .bg-secondary { background-color: #0f7e84; color: #FDF7E7; } .bg-secondary a { color: currentColor; outline-color: currentColor; } .bg-secondary:hover { background-color: #0f7e84; color: #FDF7E7; } .bg-secondary:hover a { color: currentColor; outline-color: currentColor; } .bg-warning { background-color: #cb4b16; color: #FDF7E7; } .bg-warning a { color: currentColor; outline-color: currentColor; } .bg-warning:hover { background-color: #cb4b16; color: #FDF7E7; } .bg-warning:hover a { color: currentColor; outline-color: currentColor; } .bg-danger { background-color: #dc322f; color: #FDF7E7; } .bg-danger a { color: currentColor; outline-color: currentColor; } .bg-danger:hover { background-color: #dc322f; color: #FDF7E7; } .bg-danger:hover a { color: currentColor; outline-color: currentColor; } .bg-info { background-color: #0f7e84; color: #FDF7E7; } .bg-info a { color: currentColor; outline-color: currentColor; } .bg-info:hover { background-color: #0f7e84; color: #FDF7E7; } .bg-info:hover a { color: currentColor; outline-color: currentColor; } .bg-success { background-color: #859900; color: #FDF7E7; } .bg-success a { color: currentColor; outline-color: currentColor; } .bg-success:hover { background-color: #859900; color: #FDF7E7; } .bg-success:hover a { color: currentColor; outline-color: currentColor; } .bg-muted { background-color: #586e75; color: #FDF7E7; } .bg-muted a { color: currentColor; outline-color: currentColor; } .bg-muted:hover { background-color: #586e75; color: #FDF7E7; } .bg-muted:hover a { color: currentColor; outline-color: currentColor; } .bg-light { background-color: #FDF7E7; color: #073642; } .bg-light a { color: currentColor; outline-color: currentColor; } .bg-light:hover { background-color: #FDF7E7; color: #073642; } .bg-light:hover a { color: currentColor; outline-color: currentColor; } .bg-dark { background-color: #002b36; color: #FDF7E7; } .bg-dark a { color: currentColor; outline-color: currentColor; } .bg-dark:hover { background-color: #002b36; color: #FDF7E7; } .bg-dark:hover a { color: currentColor; outline-color: currentColor; } .text-primary { color: #CB357D; } .text-secondary { color: #0f7e84; } .text-warning { color: #cb4b16; } .text-danger { color: #dc322f; } .text-info { color: #0f7e84; } .text-success { color: #859900; } .text-muted { color: #586e75; } .text-light { color: #FDF7E7; } .text-dark { color: #002b36; } .btn-primary { background-color: #CB357D; outline-color: #CB357D; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-primary:before { background-color: #CB357D; } .btn-primary:visited { background-color: #CB357D; color: #FDF7E7; } .btn-primary:visited:before { background-color: #CB357D; } .btn-primary:hover, .btn-primary:active, .btn-primary:visited:hover, .btn-primary:visited:active, .btn-primary:not(.disabled):not(:disabled):hover, .btn-primary:not(.disabled):not(:disabled):active { background-color: #d3528d; color: white; outline-color: #d3528d; box-shadow: none; } .btn-primary:hover:before, .btn-primary:active:before, .btn-primary:visited:hover:before, .btn-primary:visited:active:before, .btn-primary:not(.disabled):not(:disabled):hover:before, .btn-primary:not(.disabled):not(:disabled):active:before { background-color: #d3528d; } .btn-secondary { background-color: #0f7e84; outline-color: #0f7e84; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-secondary:before { background-color: #0f7e84; } .btn-secondary:visited { background-color: #0f7e84; color: #FDF7E7; } .btn-secondary:visited:before { background-color: #0f7e84; } .btn-secondary:hover, .btn-secondary:active, .btn-secondary:visited:hover, .btn-secondary:visited:active, .btn-secondary:not(.disabled):not(:disabled):hover, .btn-secondary:not(.disabled):not(:disabled):active { background-color: #339093; color: white; outline-color: #339093; box-shadow: none; } .btn-secondary:hover:before, .btn-secondary:active:before, .btn-secondary:visited:hover:before, .btn-secondary:visited:active:before, .btn-secondary:not(.disabled):not(:disabled):hover:before, .btn-secondary:not(.disabled):not(:disabled):active:before { background-color: #339093; } .btn-warning { background-color: #cb4b16; outline-color: #cb4b16; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-warning:before { background-color: #cb4b16; } .btn-warning:visited { background-color: #cb4b16; color: #FDF7E7; } .btn-warning:visited:before { background-color: #cb4b16; } .btn-warning:hover, .btn-warning:active, .btn-warning:visited:hover, .btn-warning:visited:active, .btn-warning:not(.disabled):not(:disabled):hover, .btn-warning:not(.disabled):not(:disabled):active { background-color: #d36535; color: white; outline-color: #d36535; box-shadow: none; } .btn-warning:hover:before, .btn-warning:active:before, .btn-warning:visited:hover:before, .btn-warning:visited:active:before, .btn-warning:not(.disabled):not(:disabled):hover:before, .btn-warning:not(.disabled):not(:disabled):active:before { background-color: #d36535; } .btn-danger { background-color: #dc322f; outline-color: #dc322f; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-danger:before { background-color: #dc322f; } .btn-danger:visited { background-color: #dc322f; color: #FDF7E7; } .btn-danger:visited:before { background-color: #dc322f; } .btn-danger:hover, .btn-danger:active, .btn-danger:visited:hover, .btn-danger:visited:active, .btn-danger:not(.disabled):not(:disabled):hover, .btn-danger:not(.disabled):not(:disabled):active { background-color: #e1504b; color: white; outline-color: #e1504b; box-shadow: none; } .btn-danger:hover:before, .btn-danger:active:before, .btn-danger:visited:hover:before, .btn-danger:visited:active:before, .btn-danger:not(.disabled):not(:disabled):hover:before, .btn-danger:not(.disabled):not(:disabled):active:before { background-color: #e1504b; } .btn-info { background-color: #0f7e84; outline-color: #0f7e84; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-info:before { background-color: #0f7e84; } .btn-info:visited { background-color: #0f7e84; color: #FDF7E7; } .btn-info:visited:before { background-color: #0f7e84; } .btn-info:hover, .btn-info:active, .btn-info:visited:hover, .btn-info:visited:active, .btn-info:not(.disabled):not(:disabled):hover, .btn-info:not(.disabled):not(:disabled):active { background-color: #339093; color: white; outline-color: #339093; box-shadow: none; } .btn-info:hover:before, .btn-info:active:before, .btn-info:visited:hover:before, .btn-info:visited:active:before, .btn-info:not(.disabled):not(:disabled):hover:before, .btn-info:not(.disabled):not(:disabled):active:before { background-color: #339093; } .btn-success { background-color: #859900; outline-color: #859900; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-success:before { background-color: #859900; } .btn-success:visited { background-color: #859900; color: #FDF7E7; } .btn-success:visited:before { background-color: #859900; } .btn-success:hover, .btn-success:active, .btn-success:visited:hover, .btn-success:visited:active, .btn-success:not(.disabled):not(:disabled):hover, .btn-success:not(.disabled):not(:disabled):active { background-color: #97a723; color: white; outline-color: #97a723; box-shadow: none; } .btn-success:hover:before, .btn-success:active:before, .btn-success:visited:hover:before, .btn-success:visited:active:before, .btn-success:not(.disabled):not(:disabled):hover:before, .btn-success:not(.disabled):not(:disabled):active:before { background-color: #97a723; } .btn-muted { background-color: #586e75; outline-color: #586e75; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-muted:before { background-color: #586e75; } .btn-muted:visited { background-color: #586e75; color: #FDF7E7; } .btn-muted:visited:before { background-color: #586e75; } .btn-muted:hover, .btn-muted:active, .btn-muted:visited:hover, .btn-muted:visited:active, .btn-muted:not(.disabled):not(:disabled):hover, .btn-muted:not(.disabled):not(:disabled):active { background-color: #718386; color: white; outline-color: #718386; box-shadow: none; } .btn-muted:hover:before, .btn-muted:active:before, .btn-muted:visited:hover:before, .btn-muted:visited:active:before, .btn-muted:not(.disabled):not(:disabled):hover:before, .btn-muted:not(.disabled):not(:disabled):active:before { background-color: #718386; } .btn-light { background-color: #FDF7E7; outline-color: #FDF7E7; color: #073642; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-light:before { background-color: #FDF7E7; } .btn-light:visited { background-color: #FDF7E7; color: #073642; } .btn-light:visited:before { background-color: #FDF7E7; } .btn-light:hover, .btn-light:active, .btn-light:visited:hover, .btn-light:visited:active, .btn-light:not(.disabled):not(:disabled):hover, .btn-light:not(.disabled):not(:disabled):active { background-color: #d8dace; color: #094959; outline-color: #d8dace; box-shadow: none; } .btn-light:hover:before, .btn-light:active:before, .btn-light:visited:hover:before, .btn-light:visited:active:before, .btn-light:not(.disabled):not(:disabled):hover:before, .btn-light:not(.disabled):not(:disabled):active:before { background-color: #d8dace; } .btn-dark { background-color: #002b36; outline-color: #002b36; color: #FDF7E7; box-shadow: 0px 1px 2px rgba(0, 0, 0, 0); } .btn-dark:before { background-color: #002b36; } .btn-dark:visited { background-color: #002b36; color: #FDF7E7; } .btn-dark:visited:before { background-color: #002b36; } .btn-dark:hover, .btn-dark:active, .btn-dark:visited:hover, .btn-dark:visited:active, .btn-dark:not(.disabled):not(:disabled):hover, .btn-dark:not(.disabled):not(:disabled):active { background-color: #264a51; color: white; outline-color: #264a51; box-shadow: none; } .btn-dark:hover:before, .btn-dark:active:before, .btn-dark:visited:hover:before, .btn-dark:visited:active:before, .btn-dark:not(.disabled):not(:disabled):hover:before, .btn-dark:not(.disabled):not(:disabled):active:before { background-color: #264a51; } .head-primary .card-header, .head-primary .menu-header, .head-primary.header-bg th { background-color: #CB357D; color: #FDF7E7; } .head-primary .card-header:before, .head-primary .menu-header:before, .head-primary.header-bg th:before { background-color: #CB357D; } .head-primary th { color: #CB357D; } .head-secondary .card-header, .head-secondary .menu-header, .head-secondary.header-bg th { background-color: #0f7e84; color: #FDF7E7; } .head-secondary .card-header:before, .head-secondary .menu-header:before, .head-secondary.header-bg th:before { background-color: #0f7e84; } .head-secondary th { color: #0f7e84; } .head-warning .card-header, .head-warning .menu-header, .head-warning.header-bg th { background-color: #cb4b16; color: #FDF7E7; } .head-warning .card-header:before, .head-warning .menu-header:before, .head-warning.header-bg th:before { background-color: #cb4b16; } .head-warning th { color: #cb4b16; } .head-danger .card-header, .head-danger .menu-header, .head-danger.header-bg th { background-color: #dc322f; color: #FDF7E7; } .head-danger .card-header:before, .head-danger .menu-header:before, .head-danger.header-bg th:before { background-color: #dc322f; } .head-danger th { color: #dc322f; } .head-info .card-header, .head-info .menu-header, .head-info.header-bg th { background-color: #0f7e84; color: #FDF7E7; } .head-info .card-header:before, .head-info .menu-header:before, .head-info.header-bg th:before { background-color: #0f7e84; } .head-info th { color: #0f7e84; } .head-success .card-header, .head-success .menu-header, .head-success.header-bg th { background-color: #859900; color: #FDF7E7; } .head-success .card-header:before, .head-success .menu-header:before, .head-success.header-bg th:before { background-color: #859900; } .head-success th { color: #859900; } .head-muted .card-header, .head-muted .menu-header, .head-muted.header-bg th { background-color: #586e75; color: #FDF7E7; } .head-muted .card-header:before, .head-muted .menu-header:before, .head-muted.header-bg th:before { background-color: #586e75; } .head-muted th { color: #586e75; } .head-light .card-header, .head-light .menu-header, .head-light.header-bg th { background-color: #FDF7E7; color: #073642; } .head-light .card-header:before, .head-light .menu-header:before, .head-light.header-bg th:before { background-color: #FDF7E7; } .head-light th { color: #FDF7E7; } .head-dark .card-header, .head-dark .menu-header, .head-dark.header-bg th { background-color: #002b36; color: #FDF7E7; } .head-dark .card-header:before, .head-dark .menu-header:before, .head-dark.header-bg th:before { background-color: #002b36; } .head-dark th { color: #002b36; } .fg-light { color: #FDF7E7; } .fg-dark { color: #073642; } /* 1.3 - List classes * Handle more easily list **/ .no-pills { list-style: none; } /* 1.3 - Sizing classes * Handle sizing and margin **/ .m-half { margin: 0.8rem; } .mb-half { margin-bottom: 0.8rem; } .mr-half { margin-right: 0.8rem; } .ml-half { margin-left: 0.8rem; } .mt-half { margin-top: 0.8rem; } .m-0 { margin: 0rem; } .mb-0 { margin-bottom: 0rem; } .mr-0 { margin-right: 0rem; } .ml-0 { margin-left: 0rem; } .mt-0 { margin-top: 0rem; } .m-1 { margin: 1.6rem; } .mb-1 { margin-bottom: 1.6rem; } .mr-1 { margin-right: 1.6rem; } .ml-1 { margin-left: 1.6rem; } .mt-1 { margin-top: 1.6rem; } .m-2 { margin: 3.2rem; } .mb-2 { margin-bottom: 3.2rem; } .mr-2 { margin-right: 3.2rem; } .ml-2 { margin-left: 3.2rem; } .mt-2 { margin-top: 3.2rem; } .m-3 { margin: 4.8rem; } .mb-3 { margin-bottom: 4.8rem; } .mr-3 { margin-right: 4.8rem; } .ml-3 { margin-left: 4.8rem; } .mt-3 { margin-top: 4.8rem; } .m-4 { margin: 6.4rem; } .mb-4 { margin-bottom: 6.4rem; } .mr-4 { margin-right: 6.4rem; } .ml-4 { margin-left: 6.4rem; } .mt-4 { margin-top: 6.4rem; } .p-half { padding: 0.8rem; } .pb-half { padding-bottom: 0.8rem; } .pr-half { padding-right: 0.8rem; } .pl-half { padding-left: 0.8rem; } .pt-half { padding-top: 0.8rem; } .p-0 { padding: 0rem; } .pb-0 { padding-bottom: 0rem; } .pr-0 { padding-right: 0rem; } .pl-0 { padding-left: 0rem; } .pt-0 { padding-top: 0rem; } .p-1 { padding: 1.6rem; } .pb-1 { padding-bottom: 1.6rem; } .pr-1 { padding-right: 1.6rem; } .pl-1 { padding-left: 1.6rem; } .pt-1 { padding-top: 1.6rem; } .p-2 { padding: 3.2rem; } .pb-2 { padding-bottom: 3.2rem; } .pr-2 { padding-right: 3.2rem; } .pl-2 { padding-left: 3.2rem; } .pt-2 { padding-top: 3.2rem; } .p-3 { padding: 4.8rem; } .pb-3 { padding-bottom: 4.8rem; } .pr-3 { padding-right: 4.8rem; } .pl-3 { padding-left: 4.8rem; } .pt-3 { padding-top: 4.8rem; } .p-4 { padding: 6.4rem; } .pb-4 { padding-bottom: 6.4rem; } .pr-4 { padding-right: 6.4rem; } .pl-4 { padding-left: 6.4rem; } .pt-4 { padding-top: 6.4rem; } .f-column { display: flex; flex-direction: column; } .f-column.reverse { flex-direction: column-reverse; } .f-row { display: flex; flex-direction: row; } .f-row.reverse { flex-direction: row-reverse; } .f-start { justify-content: flex-start; } .f-end { justify-content: flex-end; } .f-center { justify-content: center; } .f-around { justify-content: space-around; } .f-between { justify-content: space-between; } .d-none { display: none !important; } @media (min-width: 576px) { .d-none-sm { display: none !important; } } @media (min-width: 768px) { .d-none-md { display: none !important; } } @media (min-width: 992px) { .d-none-lg { display: none !important; } } @media (min-width: 1200px) { .d-none-xl { display: none !important; } } @media (min-width: 1600px) { .d-none-xxl { display: none !important; } } .d-block { display: block !important; } @media (min-width: 576px) { .d-block-sm { display: block !important; } } @media (min-width: 768px) { .d-block-md { display: block !important; } } @media (min-width: 992px) { .d-block-lg { display: block !important; } } @media (min-width: 1200px) { .d-block-xl { display: block !important; } } @media (min-width: 1600px) { .d-block-xxl { display: block !important; } } .d-flex { display: flex !important; } @media (min-width: 576px) { .d-flex-sm { display: flex !important; } } @media (min-width: 768px) { .d-flex-md { display: flex !important; } } @media (min-width: 992px) { .d-flex-lg { display: flex !important; } } @media (min-width: 1200px) { .d-flex-xl { display: flex !important; } } @media (min-width: 1600px) { .d-flex-xxl { display: flex !important; } } /* 4 - Custom styling * Styles that are custom to this particular theme **/ /* --- 03. GLOBAL STYLING --- */ /* * Les styles "globaux" touchant toute la page. * */ .no-pills { list-style: none; } .align-center { text-align: center; } .align-left { text-align: left; } .align-right { text-align: right; } /* ------------------ HEADERS ------------------- */ #page-header { background: #0f7e84 url("img/background.png"); border-top: 6px solid #002b36; background-position: bottom center; background-repeat: repeat-x; margin-bottom: 1.5rem; } #page-header .fa { font-size: 1rem; } header h1 { border-style: none !important; font-weight: 800; font-size: 5.4em; font-style: oblique; padding: 1.5rem; line-height: 1rem; max-width: 1200px; margin: auto; text-align: center; } @media (min-width: 992px) { header h1 { text-align: left; } } header h1 img { max-width: 640px; height: auto; margin-top: 0rem; width: 100%; z-index: 0; } @media (min-width: 992px) { header h1 img { position: relative; left: -6rem; } } header h1 a, header h1 a:visited, header h1 a:hover { background-color: transparent; outline-color: white; display: block; } .osd { background-color: rgba(0, 0, 0, 0.3); } .navbar { border-left: 0; border-right: 0; padding: 0.75rem; color: #FDF7E7; } .navbar a { color: #FDF7E7; } .navbar li { margin: 0; } .categories { font-weight: 800; font-size: 0.8rem; } .dropdown-menu { box-shadow: 0px 1px 2px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0); } /* ------------------ CONTAINERS ------------------- */ .container-big { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1200px; margin: auto; } .container-blog { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 1.6rem; column-gap: 1.5rem; grid-template-areas: "main" "side"; } @media (min-width: 992px) { .container-blog { grid-template-columns: auto 320px; grid-template-areas: "main side"; } } .fullwidth { grid-column: span 2; } .sidebar { grid-area: side; } ul.tag-list { display: flex; padding-bottom: 0; overflow: hidden; height: auto; flex-wrap: wrap; } ul.tag-list li { list-style: none; margin: 3px; } .container-preview { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 1.6rem; column-gap: 3rem; grid-template-areas: "main" "side"; } @media (min-width: 992px) { .container-preview { grid-template-columns: 360px auto; grid-template-areas: "side main"; } } .container-onecolumn { max-width: 1280px; margin: auto; padding-bottom: 1.6rem; } .container-personnage { padding-left: 1.6rem; padding-right: 1.6rem; max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto; row-gap: 3rem; column-gap: 3rem; grid-template-areas: "nomp nomp nomp nomp nomp nomp" "info info info info meta meta" "goss goss look look look look" "aime aime aime dete dete dete" "hist hist hist hist hist hist"; } .container-personnage .card { margin: 0; } .container-personnage h1 { padding: 0; } .personnage-nomp { grid-area: nomp; } .personnage-info { grid-area: info; } .personnage-meta { grid-area: meta; } .personnage-goss { grid-area: goss; } .personnage-look { grid-area: look; } .personnage-aime { grid-area: aime; } .personnage-dete { grid-area: dete; } .personnage-hist { grid-area: hist; } /* ------------------ PAGE ------------------- */ #wrapper { background-color: #FDF7E7; } /* ------------------ FOOTER ------------------- */ body { background-color: #002b36; } footer { position: relative; color: #FDF7E7; padding-bottom: 1.5rem; padding-top: 1.5rem; } footer::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 24' fill='rgb(0,43,54)' fill-opacity='1'%3E%3Cpolygon points='0,24 100,24 100,0'%3E%3C/polygon%3E%3C/svg%3E"); background-position: center center; background-repeat: no-repeat; background-size: 100% 100%; content: ''; height: 24px; left: 0; position: absolute; right: 0; width: 100%; z-index: 1; top: -24px; } footer .columns a { color: #FDF7E7; } .home-toast { max-width: 800px; width: 100%; margin: auto; } ul.social { font-size: 1.5em; padding-bottom: 0; margin: auto; text-align: center; display: flex; justify-content: center; } ul.social li { margin: 0; list-style: none; line-height: 1; } ul.social li a, ul.social li a:visited { color: #002b36; background-color: #FDF7E7; padding: 0.3em; width: 3rem; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 100%; line-height: 1; margin: 0.33rem; } ul.social li a:hover, ul.social li a:visited:hover { color: #FDF7E7; background-color: #002b36; } /* * 4. Previews * Special style for previews cards * */ .preview-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; grid-gap: 1.6rem; padding-bottom: 1.6rem; } @media (min-width: 768px) { .preview-grid { grid-template-columns: 1fr 1fr; } } @media (min-width: 1200px) { .preview-grid-3 { grid-template-columns: 1fr 1fr 1fr; } } .preview-container { width: 100%; } @media (min-width: 992px) { .prev-col-2 .preview-container { width: 50%; } .prev-col-3 .preview-container { width: 33%; } .prev-col-4 .preview-container { width: 25%; } } .card-preview { padding: 0; width: 100%; margin: auto; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0); } .preview-link { padding: 0; background-color: transparent; margin: 0 !important; text-decoration: none; position: relative; height: 12.8rem; } .preview-link .card-header { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 1em; font-size: 1em; font-weight: 600; padding: 0.4rem; padding-left: 1.6em; padding-right: 1.6em; padding-bottom: 0.4rem !important; margin: 0px; margin-bottom: 0.8em; margin-top: 0.8em; line-height: 1; position: relative; left: 0px; width: 85%; border: 0px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; position: relative; z-index: 1; overflow: visible; background-color: transparent; border-radius: 0; background-color: #CB357D; color: #FDF7E7; font-weight: 600; position: absolute; margin: 0; top: 0.5rem; z-index: 1; min-height: 2.8rem; display: flex; flex-direction: column; justify-content: center; } .preview-link .card-header:before { content: " "; position: absolute; top: 0; left: -0.4rem; right: -0.4rem; bottom: 0; z-index: -1; transform: skewX(-15deg); transition: background-color 0.3s; } .preview-link .card-header:first-child { border-top-left-radius: 0px; border-top-right-radius: 0px; } .preview-link .card-header:last-child { border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .preview-link .card-header h1, .preview-link .card-header h2, .preview-link .card-header h3, .preview-link .card-header h4, .preview-link .card-header h5, .preview-link .card-header h6, .preview-link .card-header h7, .preview-link .card-header h8, .preview-link .card-header h9, .preview-link .card-header h10 { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Cantarell, Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 1em; padding: 0px; margin: 0px; color: #FDF7E7; font-weight: 300; line-height: 1.6em; } .preview-link .card-header:before { background-color: #CB357D; } .preview-content { font-size: 0.9rem; height: 100%; width: 100%; line-height: 1.6rem !important; text-align: justify; background-color: rgba(0, 0, 0, 0); color: rgba(7, 54, 66, 0.4); position: relative; overflow: hidden; } .preview-content .preview-overlay { height: 100%; width: 100%; top: 0; left: 0; position: absolute; padding-top: 0.4em; backdrop-filter: none; transition: background-color 0.3s, backdrop-filter 0.3s; border-radius: 0px 0px 0px 0px; } .preview-content:hover .preview-overlay { backdrop-filter: blur(2px); background-color: rgba(0, 0, 0, 0.4); } .preview-content:hover .preview-overlay .metadata-pills { opacity: .9; transition: opacity .5s, height .5s; } .preview-content:hover .preview-overlay .comment-text { bottom: 0px; } .preview-exerpt { max-height: 12.8rem; overflow: hidden; background-size: cover; min-height: 100%; min-width: 100%; border-radius: 0px 0px 0px 0px; font-size: 0.85rem; line-height: 1.25rem; display: flex; -ms-flex-align: center !important; align-items: center !important; justify-content: center; } .preview-exerpt h1, .preview-exerpt h2, .preview-exerpt h3, .preview-exerpt h4, .preview-exerpt h5, .preview-exerpt h6 { margin-bottom: 0px; max-width: 100%; display: none; } .preview-exerpt > p { width: 100%; margin: auto; } .preview-exerpt > p > img { max-width: 100%; height: auto; vertical-align: middle; margin: auto; text-align: center; } .preview-exerpt > p.p-img { text-align: center; margin: auto; padding: auto; display: block; width: 100%; } .preview-metadata { color: #FDF7E7; height: 100%; overflow: hidden; border-radius: 0px 0px 0px 0px; } .preview-metadata .metadata-pills { opacity: 0; transition: opacity .3s, height .3s; display: flex; justify-content: space-between; padding-left: 0.8rem; padding-right: 0.8rem; font-size: 0.9em; padding-top: 3rem; } .card-preview.head-info .comment-text { position: relative; background-color: #0f7e84; } .card-preview.head-info .comment-text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 16' fill='rgb(15,126,132)' fill-opacity='1'%3E%3Cpolygon points='0,16 100,16 100,0'%3E%3C/polygon%3E%3C/svg%3E"); background-position: center center; background-repeat: no-repeat; background-size: 100% 100%; content: ''; height: 16px; left: 0; position: absolute; right: 0; width: 100%; z-index: 1; top: -16px; } .card-preview.card-grey .comment-text { position: relative; background-color: #586e75; } .card-preview.card-grey .comment-text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 16' fill='rgb(88,110,117)' fill-opacity='1'%3E%3Cpolygon points='0,16 100,16 100,0'%3E%3C/polygon%3E%3C/svg%3E"); background-position: center center; background-repeat: no-repeat; background-size: 100% 100%; content: ''; height: 16px; left: 0; position: absolute; right: 0; width: 100%; z-index: 1; top: -16px; } .comment-text { color: #FDF7E7; background-color: #CB357D; position: relative; text-align: center; position: absolute; bottom: -1.6rem; width: 100%; transition: bottom 0.3s; } .comment-text::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 16' fill='rgb(203,53,125)' fill-opacity='1'%3E%3Cpolygon points='0,16 100,16 100,0'%3E%3C/polygon%3E%3C/svg%3E"); background-position: center center; background-repeat: no-repeat; background-size: 100% 100%; content: ''; height: 16px; left: 0; position: absolute; right: 0; width: 100%; z-index: 1; top: -16px; } .card-preview time { margin-bottom: 0.4em; display: block; } .author-area { display: flex; } .author-area img.author-avatar, .author-area img.avatar { display: block; height: 4.8rem; width: auto; border-radius: 100%; padding: 0; margin: 0; margin-right: 1.6rem; } .author-area .author-metadata { align-items: center; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; } .author-area .author-date { font-style: italic; } .author-area:not(:last-child) { margin-bottom: 1.6rem; } .pigimg { display: block; max-width: 100%; height: auto; margin: auto; } .avatar { background: transparent; } .mwarea { padding-bottom: 1.6rem; } .mwarea .avatar { width: 80%; height: auto; display: block; margin: auto; } .cover { width: 100%; height: auto; border-radius: 0px 0px 0px 0px; } @media (min-width: 768px) { .roman { width: 80%; position: relative; top: -240px; margin: auto; } } #featured-articles { display: grid; grid-template-columns: 1fr; grid-template-rows: auto; grid-gap: 1.6rem; padding-bottom: 1.6rem; } @media (min-width: 992px) { #featured-articles { grid-template-columns: 1fr 1fr 1fr; } } .preview-featured { font-size: 0.8rem; } .preview-featured .preview-link { display: block; padding: 0; border-radius: 0px; overflow: hidden; text-decoration: none; } .preview-featured .preview-link .preview-item { width: 100%; height: auto; aspect-ratio: 16 / 9; background-size: 100% auto; background-position: center center; transition: background-size .5s; } .preview-featured .preview-link .preview-item:hover { background-size: 120% auto; } .preview-featured .preview-overlay { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 100%; color: white !important; background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 60%); padding: 0.2rem; } .preview-featured .preview-overlay h2 { text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); } .article img { max-width: 100%; height: auto; margin: auto; } .article .thumbnail img { width: 100%; aspect-ratio: 16 / 9; border-radius: 0px; object-fit: cover; } .article-meta .author-area { display: flex; align-items: center; margin-bottom: 0.8rem; } .article-meta .author-area img { border-radius: 9999px; width: 4.8rem; height: auto; margin: 0; margin-right: 0.8rem; } .article-meta .article-category .badge { display: inline-block; margin-bottom: 0.4rem; } #mobile-sidebar { position: fixed; top: 0; left: -100vw; width: 100vw; height: 100vh; transition: left 0.2s; padding: 1rem; overflow: scroll; } #mobile-sidebar.shown { left: 0; } @media (min-width: 576px) { #mobile-sidebar { display: none; } } .menu-button { position: fixed; bottom: 24px; right: 24px; background-color: rgba(0, 0, 0, 0.2); color: #FDF7E7; padding: 0.75em; border: none; font-size: 1.2rem; display: flex; align-content: center; justify-content: center; aspect-ratio: 1; border-radius: 999px; opacity: 0.75; } .menu-button:hover { opacity: 1; } @media (min-width: 576px) { .menu-button { display: none; } }