@charset "UTF-8"; /* Theme Name: Dimension Quarante-Douze Theme URI: https://github.com/Quarante-Douze/qdouze-wordpress-theme Author: Kazhnuz Author URI: https://kazhnuz.space Description: The default theme for Quarante-Douze, my tech blog. Made using bootstrap Version: 0.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: blog, two-columns, right-sidebar, magazine Text Domain: qdouze-wordpress-theme This theme is licensed under the GPLv3. */ /* * 1 - Definitions * * This part of the (s)css contain every definitions, mixins, * and differents unilities that can be used everywhere in the code. * */ /* 1.1 - Utils */ .no-pills { list-style: none; } .align-center { text-align: center; } .align-left { text-align: left; } .align-right { text-align: right; } /* 1.2 - Background colors */ .bg-blue { background-color: #4e63c9 !important; color: #FFF; } .bg-violet { background-color: #ce4dcd !important; color: #FFF; } .bg-purple { background-color: #7951c0 !important; color: #FFF; } .bg-red { background-color: #e33d22 !important; color: #FFF; } .bg-orange { background-color: #eb790a !important; color: #FFF; } .bg-green { background-color: #75b82d !important; color: #FFF; } .bg-skyblue { background-color: #42a0f3 !important; color: #FFF; } .bg-dark { background-color: #2D2D2D !important; color: #FFF; } .bg-light { background-color: #eeeeec !important; color: #111; } .bg-turquoise { background-color: #46bd9e !important; color: #FFF; } .bg-yellow { background-color: #f6d32d !important; color: #FFF; } .bg-brown { background-color: #986a44 !important; color: #FFF; } .bg-grey { background-color: #77767b !important; color: #FFF; } .bg-primary { background-color: #e33d22 !important; color: #FFF; } .bg-secondary { background-color: #2D2D2D !important; color: #FFF; } .bg-warning { background-color: #eb790a !important; color: #FFF; } .bg-danger { background-color: #e33d22 !important; color: #FFF; } .bg-info { background-color: #42a0f3 !important; color: #FFF; } .bg-success { background-color: #75b82d !important; color: #FFF; } /* * 2 - Typography ( _typography.scss ) * * This part of the (s)css handle everything related to the typography * like paragraphs, blockquote, etc. * */ /* 2.1 - Font Face */ /* 2.1.1 - OpenSans */ @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-Light-webfont.eot"); src: url("fonts/OpenSans-Light-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Light-webfont.woff2") format("woff2"), url("fonts/OpenSans-Light-webfont.woff") format("woff"), url("fonts/OpenSans-Light-webfont.ttf") format("truetype"), url("fonts/OpenSans-Light-webfont.svg#open_sansbold") format("svg"); font-weight: 300; font-style: normal; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-LightItalic-webfont.eot"); src: url("fonts/OpenSans-LightItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-LightItalic-webfont.woff2") format("woff2"), url("fonts/OpenSans-LightItalic-webfont.woff") format("woff"), url("fonts/OpenSans-LightItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-LightItalic-webfont.svg#open_sansbold") format("svg"); font-weight: 300; font-style: italic; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-Regular-webfont.eot"); src: url("fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Regular-webfont.woff2") format("woff2"), url("fonts/OpenSans-Regular-webfont.woff") format("woff"), url("fonts/OpenSans-Regular-webfont.ttf") format("truetype"), url("fonts/OpenSans-Regular-webfont.svg#open_sansbold") format("svg"); font-weight: 400; font-style: normal; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-Italic-webfont.eot"); src: url("fonts/OpenSans-Italic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Italic-webfont.woff2") format("woff2"), url("fonts/OpenSans-Italic-webfont.woff") format("woff"), url("fonts/OpenSans-Italic-webfont.ttf") format("truetype"), url("fonts/OpenSans-Italic-webfont.svg#open_sansbold") format("svg"); font-weight: 400; font-style: italic; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-Semibold-webfont.eot"); src: url("fonts/OpenSans-Semibold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Semibold-webfont.woff2") format("woff2"), url("fonts/OpenSans-Semibold-webfont.woff") format("woff"), url("fonts/OpenSans-Semibold-webfont.ttf") format("truetype"), url("fonts/OpenSans-Semibold-webfont.svg#open_sansbold") format("svg"); font-weight: 600; font-style: normal; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-SemiboldItalic-webfont.eot"); src: url("fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-SemiboldItalic-webfont.woff2") format("woff2"), url("fonts/OpenSans-SemiboldItalic-webfont.woff") format("woff"), url("fonts/OpenSans-SemiboldItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-SemiboldItalic-webfont.svg#open_sansbold") format("svg"); font-weight: 600; font-style: italic; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-Bold-webfont.eot"); src: url("fonts/OpenSans-Bold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-Bold-webfont.woff2") format("woff2"), url("fonts/OpenSans-Bold-webfont.woff") format("woff"), url("fonts/OpenSans-Bold-webfont.ttf") format("truetype"), url("fonts/OpenSans-Bold-webfont.svg#open_sansbold") format("svg"); font-weight: 700; font-style: normal; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-BoldItalic-webfont.eot"); src: url("fonts/OpenSans-BoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-BoldItalic-webfont.woff2") format("woff2"), url("fonts/OpenSans-BoldItalic-webfont.woff") format("woff"), url("fonts/OpenSans-BoldItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-BoldItalic-webfont.svg#open_sansbold") format("svg"); font-weight: 700; font-style: italic; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-ExtraBold-webfont.eot"); src: url("fonts/OpenSans-ExtraBold-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-ExtraBold-webfont.woff2") format("woff2"), url("fonts/OpenSans-ExtraBold-webfont.woff") format("woff"), url("fonts/OpenSans-ExtraBold-webfont.ttf") format("truetype"), url("fonts/OpenSans-ExtraBold-webfont.svg#open_sansbold") format("svg"); font-weight: 800; font-style: normal; } @font-face { font-family: 'OpenSans'; src: url("fonts/OpenSans-ExtraBoldItalic-webfont.eot"); src: url("fonts/OpenSans-ExtraBoldItalic-webfont.eot?#iefix") format("embedded-opentype"), url("fonts/OpenSans-ExtraBoldItalic-webfont.woff2") format("woff2"), url("fonts/OpenSans-ExtraBoldItalic-webfont.woff") format("woff"), url("fonts/OpenSans-ExtraBoldItalic-webfont.ttf") format("truetype"), url("fonts/OpenSans-ExtraBoldItalic-webfont.svg#open_sansbold") format("svg"); font-weight: 800; font-style: italic; } /* 2.1.2 - Teko */ @font-face { font-family: 'Teko'; src: url("fonts/teko-light-webfont.woff"); font-weight: 300; } @font-face { font-family: 'Teko'; src: url("fonts/teko-regular-webfont.woff"); font-weight: 400; } @font-face { font-family: 'Teko'; src: url("fonts/teko-medium-webfont.woff"); font-weight: 500; } @font-face { font-family: 'Teko'; src: url("fonts/teko-semibold-webfont.woff"); font-weight: 600; } @font-face { font-family: 'Teko'; src: url("fonts/teko-bold-webfont.woff"); font-weight: 700; } /* 2.2 - Global Typography */ body { font-family: OpenSans, sans-serif; text-align: left; font-size: 4mm; line-height: 1.5em; color: #444; font-weight: 400; } .night-mode { color: #BBB; } strong { font-weight: 600; } em { font-style: italic; } a { color: #4e63c9; text-decoration: none; } a:hover, a:active { color: #4e63c9; } p { padding: 0; padding-bottom: 1.5em; margin: 0; } p:last-child { padding-bottom: 0; } ul { padding: 0; padding-bottom: 1.5em; margin: 0; } ul ul { padding-bottom: 0; } ul li { margin-left: 1.5em; } ol { padding: 0; padding-bottom: 1.5em; margin: 0; } ol ol { padding-bottom: 0; } ol li { margin-left: 1.5em; } ::selection { background: #4e63c9; color: #fff; } ::-moz-selection { background: #4e63c9; color: #fff; } /* 2.2 - Text Wrapper */ .article-content { font-size: calc(4mm + 0.4vw); line-height: 1.5em; padding: 1em; font-weight: 300; } .article-content p, .article-content em, .article-content p em { font-weight: 300; } /* 2.3 - Titles */ h1, h2, h3, h4, h5, h6, h7 { font-family: 'Teko'; text-align: left; font-size: 1em; line-height: 1.5em; padding: 0; margin: 0; font-weight: 400; } h1 { font-size: 2.33333em; line-height: 1em; padding: 0.33333em 0 0.6em 0; font-weight: 700; } h2 { font-size: 2em; line-height: 1.5em; padding: 0.33333em 0 0.4em 0; font-weight: 700; } h3 { font-size: 1.5em; line-height: 1em; padding: 0em 0 1em 0; font-weight: 700; } h4 { font-size: 1.5em; line-height: 1em; padding: 0em 0 1em 0; font-weight: 600; } h5 { font-size: 1.33333em; line-height: 1em; padding: 0.1em 0 1.13333em 0; font-weight: 600; } h6 { font-size: 1.1em; line-height: 1.4em; padding: 0.1em 0 1.2em 0; font-weight: 600; } /* 2.4 - hr */ hr { border-top: 0px; border-left: 0px; border-right: 0px; border-bottom: 1px; border-color: rgba(1, 1, 1, 0.15); border-style: solid; margin: 1.5em; } /* 2.5 - Wells and quotes */ blockquote, .quote, .well { border-width: 0 0 0 0.2em; border-style: solid; border-radius: 3px; margin: -0.75em -0.2em 0.75em -0.2em; padding: 0.75em 1em 0.75em 1em; max-width: 100%; border-color: #e33d22; } pre, .pre, .well-pre { border-width: 0 0 0 0.2em; border-style: solid; border-radius: 3px; margin: -0.75em -0.2em 0.75em -0.2em; padding: 0.75em 1em 0.75em 1em; max-width: 100%; border-color: #e33d22; background-color: #EEE; overflow-x: scroll; } .night-mode pre, .night-mode .pre, .night-mode .well-pre { background-color: #222; border-color: rgba(255, 255, 255, 0.2); } /* 2.6 - Special styling */ mark { border-radius: 0.2em; padding: 0 0.2em 0 0.2em; background-color: #fcf2c0; color: inherit; } .night-mode mark { background-color: #e33d22; } .time { font-style: italic; text-align: right; width: 100%; display: block; } /* 2.6.1 - Colored texts */ .text-blue { color: #4e63c9; } .text-violet { color: #ce4dcd; } .text-purple { color: #7951c0; } .text-red { color: #e33d22; } .text-orange { color: #eb790a; } .text-green { color: #75b82d; } .text-skyblue { color: #42a0f3; } .text-dark { color: #2D2D2D; } .text-light { color: #eeeeec; } .text-turquoise { color: #46bd9e; } .text-yellow { color: #f6d32d; } .text-brown { color: #986a44; } .text-grey { color: #77767b; } .text-primary { color: #e33d22; } .text-secondary { color: #2D2D2D; } .text-warning { color: #eb790a; } .text-danger { color: #e33d22; } .text-info { color: #42a0f3; } .text-success { color: #75b82d; } /* * 3 - Global elements ( _global.scss ) * * This part of the (s)css handle the style of "global" elements * like the wrapper, the navbars, the header. * */ body { background: #666 url("img/background.png"); padding: 30px; background-attachment: fixed; } @media (max-width: 767.98px) { body { background: none; padding: 0; } } #wrapper { background-color: #FFF; } /* 3.1 - Header */ header { background: #EEE url("img/background.png"); margin-bottom: 30px; } header h1 { border-style: none !important; font-weight: 700; font-size: 1em; line-height: 1em; padding-bottom: 0px; padding: 2.33333em; margin: auto; text-align: center; } header h1 img { max-width: 100%; height: auto; } .navbar { box-shadow: 0px 2px 10px rgba(0, 0, 0, 0); border: 1px solid rgba(0, 0, 0, 0.3); border-left: 0; border-right: 0; } .navbar ul { padding-bottom: 0; } .navbar li { margin: 0; } .dropdown-menu { box-shadow: 0px 2px 6px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } /* 3.2 - Footer */ footer { margin-top: 40px; } /* 3.2.1 - Social Network Buttons */ ul.social { font-size: 1.5em; padding-bottom: 1em; margin: auto; text-align: center; } ul.social li { margin: 0; list-style: none; display: inline; } ul.social li a { color: #FFFFFF; background-color: #000000; padding: 0.3em; padding-left: 0.36em; padding-right: 0.36em; vertical-align: middle; border-radius: 100%; } ul.social li a:hover { color: #000; background-color: #FFF; } /* * 4 - Cards( _cards.scss ) * * This part of the (s)css handle the style of cards-like elements, * elements that are supposed to handle contents inside a box. * * Elements like alerts, breadcrumb… are considered as "card-like". * */ .card { border-radius: 0px 0px 0px 0px; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0); border: none; margin-bottom: 1.2em; } .card-blue > .card-header { background-color: #4e63c9; color: #FFF; } .card-violet > .card-header { background-color: #ce4dcd; color: #FFF; } .card-purple > .card-header { background-color: #7951c0; color: #FFF; } .card-red > .card-header { background-color: #e33d22; color: #FFF; } .card-orange > .card-header { background-color: #eb790a; color: #FFF; } .card-green > .card-header { background-color: #75b82d; color: #FFF; } .card-skyblue > .card-header { background-color: #42a0f3; color: #FFF; } .card-dark > .card-header { background-color: #2D2D2D; color: #FFF; } .card-light > .card-header { background-color: #eeeeec; color: #111; } .card-turquoise > .card-header { background-color: #46bd9e; color: #FFF; } .card-yellow > .card-header { background-color: #f6d32d; color: #FFF; } .card-brown > .card-header { background-color: #986a44; color: #FFF; } .card-grey > .card-header { background-color: #77767b; color: #FFF; } .card-primary > .card-header { background-color: #e33d22; color: #FFF; } .card-secondary > .card-header { background-color: #2D2D2D; color: #FFF; } .card-warning > .card-header { background-color: #eb790a; color: #FFF; } .card-danger > .card-header { background-color: #e33d22; color: #FFF; } .card-info > .card-header { background-color: #42a0f3; color: #FFF; } .card-success > .card-header { background-color: #75b82d; color: #FFF; } .card-shadow { box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } .card h1, .card h2, .card h3, .card h4, .card h5, .card h6, .card h7, .card h8, .card h9, .card h10 { color: #333; text-shadow: 0px 0px 0px rgba(0, 0, 0, 0); } /* 4.1 - Header and titles */ .card-header { border: 1px solid rgba(0, 0, 0, 0.3); font-size: 1.1em; box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.1); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3); font-weight: 600; border-radius: 0; } .card-header:first-child { border-radius: 0px 0px 0px 0px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .card-header:last-child { border-radius: 0px 0px 0px 0px; border-top-left-radius: 0; border-top-right-radius: 0; } .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: 'OpenSans'; font-size: 1em; text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); padding: 0px; margin: 0px; color: #FFF; font-weight: 600; line-height: 1.5em; } /* 4.2 - Cards meta */ .card-meta { border-radius: 0px 0px 0px 0px; padding: 1em; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); border: 0; background-color: #eeeeec; margin-bottom: 1.2em; } .card-meta.media { -ms-flex-align: center !important; align-items: center !important; } .card-meta .media-left .media-object { height: 64px; width: 64px; border-radius: 10px; margin-right: 1em; } .card-meta author { display: block; font-weight: 600; } .card-meta time { display: block; font-style: italic; } .card-meta li { margin: 0; } /* 4.3 - Cards list-groups */ .list-group-item { border: none; background-color: transparent; } a.list-group-item:hover { border-style: none; border-width: 0px; border-radius: 0px; background-color: rgba(0, 0, 0, 0.1); } /* 4.4 - Cards list-groups */ .alert { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; color: rgba(0, 0, 0, 0.7); box-shadow: 0px 2px 10px rgba(0, 0, 0, 0); } .alert-blue { background-color: #d7dcf3; color: black; } .alert-violet { background-color: #f5d9f4; color: black; } .alert-purple { background-color: #ded4ef; color: black; } .alert-red { background-color: #f7c8c0; color: black; } .alert-orange { background-color: #fbd3ac; color: black; } .alert-green { background-color: #cdebad; color: black; } .alert-skyblue { background-color: #eaf4fe; color: black; } .alert-dark { background-color: #868686; color: black; } .alert-light { background-color: white; color: #23231f; } .alert-turquoise { background-color: #caece3; color: black; } .alert-yellow { background-color: #fdf7d8; color: black; } .alert-brown { background-color: #ddc5b2; color: black; } .alert-grey { background-color: #d1d1d3; color: black; } .alert-primary { background-color: #f7c8c0; color: black; } .alert-secondary { background-color: #868686; color: black; } .alert-warning { background-color: #fbd3ac; color: black; } .alert-danger { background-color: #f7c8c0; color: black; } .alert-info { background-color: #eaf4fe; color: black; } .alert-success { background-color: #cdebad; color: black; } .alert a, .alert-link { color: rgba(0, 0, 0, 0.7); font-weight: bold; } /* 4.5 - Breadcrumbs */ .breadcrumb { border-radius: 0px 0px 0px 0px; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); border: 0; background-color: #eeeeec; margin-bottom: 1.2em; } .breadcrumb li { margin: 0; } /* * 5 - Buttons ( _buttons.scss ) * * This part of the (s)css handle the style of buttons-like and badges. * */ .btn { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); background-color: #eeeeec; color: #111; font-weight: 600; } .btn:hover, .btn:active, .btn:focus, .btn:not(.disabled):not(:disabled):hover, .btn:not(.disabled):not(:disabled):active, .btn:not(.disabled):not(:disabled):focus { background-color: white; color: #111; } .btn:hover { box-shadow: 0px 2px 6px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.3); text-decoration: none; } .btn:active { box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 0, 0, 0.3); text-decoration: none; } .btn-blue { background-color: #4e63c9; color: #FFF; } .btn-blue:hover, .btn-blue:active, .btn-blue:focus, .btn-blue:not(.disabled):not(:disabled):hover, .btn-blue:not(.disabled):not(:disabled):active, .btn-blue:not(.disabled):not(:disabled):focus { background-color: #8997db; color: #FFF; } .btn-violet { background-color: #ce4dcd; color: #FFF; } .btn-violet:hover, .btn-violet:active, .btn-violet:focus, .btn-violet:not(.disabled):not(:disabled):hover, .btn-violet:not(.disabled):not(:disabled):active, .btn-violet:not(.disabled):not(:disabled):focus { background-color: #df89de; color: #FFF; } .btn-purple { background-color: #7951c0; color: #FFF; } .btn-purple:hover, .btn-purple:active, .btn-purple:focus, .btn-purple:not(.disabled):not(:disabled):hover, .btn-purple:not(.disabled):not(:disabled):active, .btn-purple:not(.disabled):not(:disabled):focus { background-color: #a489d4; color: #FFF; } .btn-red { background-color: #e33d22; color: #FFF; } .btn-red:hover, .btn-red:active, .btn-red:focus, .btn-red:not(.disabled):not(:disabled):hover, .btn-red:not(.disabled):not(:disabled):active, .btn-red:not(.disabled):not(:disabled):focus { background-color: #ec7966; color: #FFF; } .btn-orange { background-color: #eb790a; color: #FFF; } .btn-orange:hover, .btn-orange:active, .btn-orange:focus, .btn-orange:not(.disabled):not(:disabled):hover, .btn-orange:not(.disabled):not(:disabled):active, .btn-orange:not(.disabled):not(:disabled):focus { background-color: #f7a04a; color: #FFF; } .btn-green { background-color: #75b82d; color: #FFF; } .btn-green:hover, .btn-green:active, .btn-green:focus, .btn-green:not(.disabled):not(:disabled):hover, .btn-green:not(.disabled):not(:disabled):active, .btn-green:not(.disabled):not(:disabled):focus { background-color: #9bd75b; color: #FFF; } .btn-skyblue { background-color: #42a0f3; color: #FFF; } .btn-skyblue:hover, .btn-skyblue:active, .btn-skyblue:focus, .btn-skyblue:not(.disabled):not(:disabled):hover, .btn-skyblue:not(.disabled):not(:disabled):active, .btn-skyblue:not(.disabled):not(:disabled):focus { background-color: #8ac4f8; color: #FFF; } .btn-dark { background-color: #2D2D2D; color: #FFF; } .btn-dark:hover, .btn-dark:active, .btn-dark:focus, .btn-dark:not(.disabled):not(:disabled):hover, .btn-dark:not(.disabled):not(:disabled):active, .btn-dark:not(.disabled):not(:disabled):focus { background-color: #535353; color: #FFF; } .btn-light { background-color: #eeeeec; color: #111; } .btn-light:hover, .btn-light:active, .btn-light:focus, .btn-light:not(.disabled):not(:disabled):hover, .btn-light:not(.disabled):not(:disabled):active, .btn-light:not(.disabled):not(:disabled):focus { background-color: white; color: #111; } .btn-turquoise { background-color: #46bd9e; color: #FFF; } .btn-turquoise:hover, .btn-turquoise:active, .btn-turquoise:focus, .btn-turquoise:not(.disabled):not(:disabled):hover, .btn-turquoise:not(.disabled):not(:disabled):active, .btn-turquoise:not(.disabled):not(:disabled):focus { background-color: #7ed1bc; color: #FFF; } .btn-yellow { background-color: #f6d32d; color: #FFF; } .btn-yellow:hover, .btn-yellow:active, .btn-yellow:focus, .btn-yellow:not(.disabled):not(:disabled):hover, .btn-yellow:not(.disabled):not(:disabled):active, .btn-yellow:not(.disabled):not(:disabled):focus { background-color: #f9e276; color: #FFF; } .btn-brown { background-color: #986a44; color: #FFF; } .btn-brown:hover, .btn-brown:active, .btn-brown:focus, .btn-brown:not(.disabled):not(:disabled):hover, .btn-brown:not(.disabled):not(:disabled):active, .btn-brown:not(.disabled):not(:disabled):focus { background-color: #bd906b; color: #FFF; } .btn-grey { background-color: #77767b; color: #FFF; } .btn-grey:hover, .btn-grey:active, .btn-grey:focus, .btn-grey:not(.disabled):not(:disabled):hover, .btn-grey:not(.disabled):not(:disabled):active, .btn-grey:not(.disabled):not(:disabled):focus { background-color: #9e9da1; color: #FFF; } .btn-primary { background-color: #e33d22; color: #FFF; } .btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary:not(.disabled):not(:disabled):hover, .btn-primary:not(.disabled):not(:disabled):active, .btn-primary:not(.disabled):not(:disabled):focus { background-color: #ec7966; color: #FFF; } .btn-secondary { background-color: #2D2D2D; color: #FFF; } .btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:not(.disabled):not(:disabled):hover, .btn-secondary:not(.disabled):not(:disabled):active, .btn-secondary:not(.disabled):not(:disabled):focus { background-color: #535353; color: #FFF; } .btn-warning { background-color: #eb790a; color: #FFF; } .btn-warning:hover, .btn-warning:active, .btn-warning:focus, .btn-warning:not(.disabled):not(:disabled):hover, .btn-warning:not(.disabled):not(:disabled):active, .btn-warning:not(.disabled):not(:disabled):focus { background-color: #f7a04a; color: #FFF; } .btn-danger { background-color: #e33d22; color: #FFF; } .btn-danger:hover, .btn-danger:active, .btn-danger:focus, .btn-danger:not(.disabled):not(:disabled):hover, .btn-danger:not(.disabled):not(:disabled):active, .btn-danger:not(.disabled):not(:disabled):focus { background-color: #ec7966; color: #FFF; } .btn-info { background-color: #42a0f3; color: #FFF; } .btn-info:hover, .btn-info:active, .btn-info:focus, .btn-info:not(.disabled):not(:disabled):hover, .btn-info:not(.disabled):not(:disabled):active, .btn-info:not(.disabled):not(:disabled):focus { background-color: #8ac4f8; color: #FFF; } .btn-success { background-color: #75b82d; color: #FFF; } .btn-success:hover, .btn-success:active, .btn-success:focus, .btn-success:not(.disabled):not(:disabled):hover, .btn-success:not(.disabled):not(:disabled):active, .btn-success:not(.disabled):not(:disabled):focus { background-color: #9bd75b; color: #FFF; } .btn-group { box-shadow: 0px 2px 10px rgba(0, 0, 0, 0); } .btn-group .btn { box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); border-radius: 0px 0px 0px 0px; } .btn-group .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; } .btn-group .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; } .btn-group .btn:hover { box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); } .btn-group .btn:active, .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active, .show > .btn.dropdown-toggle { box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2) !important; border: 1px solid rgba(0, 0, 0, 0.3); } .btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus, .btn-warning:focus, .btn-success:focus, .btn-info:focus, .btn-dark:focus, .btn-light:focus { box-shadow: 0px 2px 6px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px rgba(0, 0, 0, 0.3); outline: none; } /* 5.1 - Réseaux sociaux */ .share-buttons { margin: 15px; } .reagir { text-align: right; } .btn-facebook { background-color: #3B5998; color: #FFF; } .btn-facebook:hover, .btn-facebook:active, .btn-facebook:focus, .btn-facebook:not(.disabled):not(:disabled):hover, .btn-facebook:not(.disabled):not(:disabled):active, .btn-facebook:not(.disabled):not(:disabled):focus { background-color: #5f7ec1; color: #FFF; } .btn-twitter { background-color: #55ACEE; color: #FFF; } .btn-twitter:hover, .btn-twitter:active, .btn-twitter:focus, .btn-twitter:not(.disabled):not(:disabled):hover, .btn-twitter:not(.disabled):not(:disabled):active, .btn-twitter:not(.disabled):not(:disabled):focus { background-color: #9bcef5; color: #FFF; } .btn-googleplus { background-color: #d34836; color: #FFF; } .btn-googleplus:hover, .btn-googleplus:active, .btn-googleplus:focus, .btn-googleplus:not(.disabled):not(:disabled):hover, .btn-googleplus:not(.disabled):not(:disabled):active, .btn-googleplus:not(.disabled):not(:disabled):focus { background-color: #e18175; color: #FFF; } .btn-diaspora { background-color: #313739; color: #FFF; } .btn-diaspora:hover, .btn-diaspora:active, .btn-diaspora:focus, .btn-diaspora:not(.disabled):not(:disabled):hover, .btn-diaspora:not(.disabled):not(:disabled):active, .btn-diaspora:not(.disabled):not(:disabled):focus { background-color: #545f62; color: #FFF; } .btn-mastodon { background-color: #282c37; color: #FFF; } .btn-mastodon:hover, .btn-mastodon:active, .btn-mastodon:focus, .btn-mastodon:not(.disabled):not(:disabled):hover, .btn-mastodon:not(.disabled):not(:disabled):active, .btn-mastodon:not(.disabled):not(:disabled):focus { background-color: #484f63; color: #FFF; } /* 5.2 - Badges */ .badge { border: 1px solid rgba(0, 0, 0, 0.3); border-radius: 0px 0px 0px 0px; } .badge-pill { border-radius: 10rem; } .badge-blue { background-color: #4e63c9; color: #FFF; } .badge-blue:hover, .badge-blue:active, .badge-blue:focus, a:hover > .badge-blue, a:active > .badge-blue, a:focus > .badge-blue, .badge-blue:not(.disabled):not(:disabled):hover, .badge-blue:not(.disabled):not(:disabled):active, .badge-blue:not(.disabled):not(:disabled):focus, a:hover > .badge-blue:not(.disabled):not(:disabled), a:active > .badge-blue:not(.disabled):not(:disabled), a:focus > .badge-blue:not(.disabled):not(:disabled) { background-color: #8997db; color: #FFF; } .badge-violet { background-color: #ce4dcd; color: #FFF; } .badge-violet:hover, .badge-violet:active, .badge-violet:focus, a:hover > .badge-violet, a:active > .badge-violet, a:focus > .badge-violet, .badge-violet:not(.disabled):not(:disabled):hover, .badge-violet:not(.disabled):not(:disabled):active, .badge-violet:not(.disabled):not(:disabled):focus, a:hover > .badge-violet:not(.disabled):not(:disabled), a:active > .badge-violet:not(.disabled):not(:disabled), a:focus > .badge-violet:not(.disabled):not(:disabled) { background-color: #df89de; color: #FFF; } .badge-purple { background-color: #7951c0; color: #FFF; } .badge-purple:hover, .badge-purple:active, .badge-purple:focus, a:hover > .badge-purple, a:active > .badge-purple, a:focus > .badge-purple, .badge-purple:not(.disabled):not(:disabled):hover, .badge-purple:not(.disabled):not(:disabled):active, .badge-purple:not(.disabled):not(:disabled):focus, a:hover > .badge-purple:not(.disabled):not(:disabled), a:active > .badge-purple:not(.disabled):not(:disabled), a:focus > .badge-purple:not(.disabled):not(:disabled) { background-color: #a489d4; color: #FFF; } .badge-red { background-color: #e33d22; color: #FFF; } .badge-red:hover, .badge-red:active, .badge-red:focus, a:hover > .badge-red, a:active > .badge-red, a:focus > .badge-red, .badge-red:not(.disabled):not(:disabled):hover, .badge-red:not(.disabled):not(:disabled):active, .badge-red:not(.disabled):not(:disabled):focus, a:hover > .badge-red:not(.disabled):not(:disabled), a:active > .badge-red:not(.disabled):not(:disabled), a:focus > .badge-red:not(.disabled):not(:disabled) { background-color: #ec7966; color: #FFF; } .badge-orange { background-color: #eb790a; color: #FFF; } .badge-orange:hover, .badge-orange:active, .badge-orange:focus, a:hover > .badge-orange, a:active > .badge-orange, a:focus > .badge-orange, .badge-orange:not(.disabled):not(:disabled):hover, .badge-orange:not(.disabled):not(:disabled):active, .badge-orange:not(.disabled):not(:disabled):focus, a:hover > .badge-orange:not(.disabled):not(:disabled), a:active > .badge-orange:not(.disabled):not(:disabled), a:focus > .badge-orange:not(.disabled):not(:disabled) { background-color: #f7a04a; color: #FFF; } .badge-green { background-color: #75b82d; color: #FFF; } .badge-green:hover, .badge-green:active, .badge-green:focus, a:hover > .badge-green, a:active > .badge-green, a:focus > .badge-green, .badge-green:not(.disabled):not(:disabled):hover, .badge-green:not(.disabled):not(:disabled):active, .badge-green:not(.disabled):not(:disabled):focus, a:hover > .badge-green:not(.disabled):not(:disabled), a:active > .badge-green:not(.disabled):not(:disabled), a:focus > .badge-green:not(.disabled):not(:disabled) { background-color: #9bd75b; color: #FFF; } .badge-skyblue { background-color: #42a0f3; color: #FFF; } .badge-skyblue:hover, .badge-skyblue:active, .badge-skyblue:focus, a:hover > .badge-skyblue, a:active > .badge-skyblue, a:focus > .badge-skyblue, .badge-skyblue:not(.disabled):not(:disabled):hover, .badge-skyblue:not(.disabled):not(:disabled):active, .badge-skyblue:not(.disabled):not(:disabled):focus, a:hover > .badge-skyblue:not(.disabled):not(:disabled), a:active > .badge-skyblue:not(.disabled):not(:disabled), a:focus > .badge-skyblue:not(.disabled):not(:disabled) { background-color: #8ac4f8; color: #FFF; } .badge-dark { background-color: #2D2D2D; color: #FFF; } .badge-dark:hover, .badge-dark:active, .badge-dark:focus, a:hover > .badge-dark, a:active > .badge-dark, a:focus > .badge-dark, .badge-dark:not(.disabled):not(:disabled):hover, .badge-dark:not(.disabled):not(:disabled):active, .badge-dark:not(.disabled):not(:disabled):focus, a:hover > .badge-dark:not(.disabled):not(:disabled), a:active > .badge-dark:not(.disabled):not(:disabled), a:focus > .badge-dark:not(.disabled):not(:disabled) { background-color: #535353; color: #FFF; } .badge-light { background-color: #eeeeec; color: #111; } .badge-light:hover, .badge-light:active, .badge-light:focus, a:hover > .badge-light, a:active > .badge-light, a:focus > .badge-light, .badge-light:not(.disabled):not(:disabled):hover, .badge-light:not(.disabled):not(:disabled):active, .badge-light:not(.disabled):not(:disabled):focus, a:hover > .badge-light:not(.disabled):not(:disabled), a:active > .badge-light:not(.disabled):not(:disabled), a:focus > .badge-light:not(.disabled):not(:disabled) { background-color: white; color: #111; } .badge-turquoise { background-color: #46bd9e; color: #FFF; } .badge-turquoise:hover, .badge-turquoise:active, .badge-turquoise:focus, a:hover > .badge-turquoise, a:active > .badge-turquoise, a:focus > .badge-turquoise, .badge-turquoise:not(.disabled):not(:disabled):hover, .badge-turquoise:not(.disabled):not(:disabled):active, .badge-turquoise:not(.disabled):not(:disabled):focus, a:hover > .badge-turquoise:not(.disabled):not(:disabled), a:active > .badge-turquoise:not(.disabled):not(:disabled), a:focus > .badge-turquoise:not(.disabled):not(:disabled) { background-color: #7ed1bc; color: #FFF; } .badge-yellow { background-color: #f6d32d; color: #FFF; } .badge-yellow:hover, .badge-yellow:active, .badge-yellow:focus, a:hover > .badge-yellow, a:active > .badge-yellow, a:focus > .badge-yellow, .badge-yellow:not(.disabled):not(:disabled):hover, .badge-yellow:not(.disabled):not(:disabled):active, .badge-yellow:not(.disabled):not(:disabled):focus, a:hover > .badge-yellow:not(.disabled):not(:disabled), a:active > .badge-yellow:not(.disabled):not(:disabled), a:focus > .badge-yellow:not(.disabled):not(:disabled) { background-color: #f9e276; color: #FFF; } .badge-brown { background-color: #986a44; color: #FFF; } .badge-brown:hover, .badge-brown:active, .badge-brown:focus, a:hover > .badge-brown, a:active > .badge-brown, a:focus > .badge-brown, .badge-brown:not(.disabled):not(:disabled):hover, .badge-brown:not(.disabled):not(:disabled):active, .badge-brown:not(.disabled):not(:disabled):focus, a:hover > .badge-brown:not(.disabled):not(:disabled), a:active > .badge-brown:not(.disabled):not(:disabled), a:focus > .badge-brown:not(.disabled):not(:disabled) { background-color: #bd906b; color: #FFF; } .badge-grey { background-color: #77767b; color: #FFF; } .badge-grey:hover, .badge-grey:active, .badge-grey:focus, a:hover > .badge-grey, a:active > .badge-grey, a:focus > .badge-grey, .badge-grey:not(.disabled):not(:disabled):hover, .badge-grey:not(.disabled):not(:disabled):active, .badge-grey:not(.disabled):not(:disabled):focus, a:hover > .badge-grey:not(.disabled):not(:disabled), a:active > .badge-grey:not(.disabled):not(:disabled), a:focus > .badge-grey:not(.disabled):not(:disabled) { background-color: #9e9da1; color: #FFF; } .badge-primary { background-color: #e33d22; color: #FFF; } .badge-primary:hover, .badge-primary:active, .badge-primary:focus, a:hover > .badge-primary, a:active > .badge-primary, a:focus > .badge-primary, .badge-primary:not(.disabled):not(:disabled):hover, .badge-primary:not(.disabled):not(:disabled):active, .badge-primary:not(.disabled):not(:disabled):focus, a:hover > .badge-primary:not(.disabled):not(:disabled), a:active > .badge-primary:not(.disabled):not(:disabled), a:focus > .badge-primary:not(.disabled):not(:disabled) { background-color: #ec7966; color: #FFF; } .badge-secondary { background-color: #2D2D2D; color: #FFF; } .badge-secondary:hover, .badge-secondary:active, .badge-secondary:focus, a:hover > .badge-secondary, a:active > .badge-secondary, a:focus > .badge-secondary, .badge-secondary:not(.disabled):not(:disabled):hover, .badge-secondary:not(.disabled):not(:disabled):active, .badge-secondary:not(.disabled):not(:disabled):focus, a:hover > .badge-secondary:not(.disabled):not(:disabled), a:active > .badge-secondary:not(.disabled):not(:disabled), a:focus > .badge-secondary:not(.disabled):not(:disabled) { background-color: #535353; color: #FFF; } .badge-warning { background-color: #eb790a; color: #FFF; } .badge-warning:hover, .badge-warning:active, .badge-warning:focus, a:hover > .badge-warning, a:active > .badge-warning, a:focus > .badge-warning, .badge-warning:not(.disabled):not(:disabled):hover, .badge-warning:not(.disabled):not(:disabled):active, .badge-warning:not(.disabled):not(:disabled):focus, a:hover > .badge-warning:not(.disabled):not(:disabled), a:active > .badge-warning:not(.disabled):not(:disabled), a:focus > .badge-warning:not(.disabled):not(:disabled) { background-color: #f7a04a; color: #FFF; } .badge-danger { background-color: #e33d22; color: #FFF; } .badge-danger:hover, .badge-danger:active, .badge-danger:focus, a:hover > .badge-danger, a:active > .badge-danger, a:focus > .badge-danger, .badge-danger:not(.disabled):not(:disabled):hover, .badge-danger:not(.disabled):not(:disabled):active, .badge-danger:not(.disabled):not(:disabled):focus, a:hover > .badge-danger:not(.disabled):not(:disabled), a:active > .badge-danger:not(.disabled):not(:disabled), a:focus > .badge-danger:not(.disabled):not(:disabled) { background-color: #ec7966; color: #FFF; } .badge-info { background-color: #42a0f3; color: #FFF; } .badge-info:hover, .badge-info:active, .badge-info:focus, a:hover > .badge-info, a:active > .badge-info, a:focus > .badge-info, .badge-info:not(.disabled):not(:disabled):hover, .badge-info:not(.disabled):not(:disabled):active, .badge-info:not(.disabled):not(:disabled):focus, a:hover > .badge-info:not(.disabled):not(:disabled), a:active > .badge-info:not(.disabled):not(:disabled), a:focus > .badge-info:not(.disabled):not(:disabled) { background-color: #8ac4f8; color: #FFF; } .badge-success { background-color: #75b82d; color: #FFF; } .badge-success:hover, .badge-success:active, .badge-success:focus, a:hover > .badge-success, a:active > .badge-success, a:focus > .badge-success, .badge-success:not(.disabled):not(:disabled):hover, .badge-success:not(.disabled):not(:disabled):active, .badge-success:not(.disabled):not(:disabled):focus, a:hover > .badge-success:not(.disabled):not(:disabled), a:active > .badge-success:not(.disabled):not(:disabled), a:focus > .badge-success:not(.disabled):not(:disabled) { background-color: #9bd75b; color: #FFF; } /* * 6 - Blog Elements ( _blog.scss ) * * All elements that are used for a blog (article previews, etc). * "Commons" elements will be in other parts */ /* 1.1 - Comment area */ .comment { margin-bottom: 1.333em; } /* 2.1 - Previews */ .previews-section { display: flex; align-content: flex-start; flex-wrap: wrap; } .preview-container { margin-bottom: 1em; padding: 0.4em; 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 { border-radius: 0px 0px 0px 0px; width: 100%; margin: auto; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0), inset 0px -2px 0px rgba(0, 0, 0, 0.2); } .preview-link:hover { text-decoration: none !important; } .preview-item { height: 200px; overflow: hidden; font-size: 0.9em; line-height: 1.5em !important; padding: 0.2em; text-align: justify; background-color: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.4); position: relative; display: flex; -ms-flex-align: center !important; align-items: center !important; justify-content: center; } .preview-content { max-height: 200px; } .preview-content > p { width: 100%; margin: auto; } .preview-content > p.p-img { text-align: center; margin: auto; padding: auto; display: block; width: 100%; } .preview-content > p > img { max-width: 100%; height: auto; vertical-align: middle; margin: auto; text-align: center; } .preview-item h1, .preview-item h2, .preview-item h3, .preview-item h4, .preview-item h5, .preview-item h6, .preview-item h7 { margin-bottom: 0px; max-width: 100%; display: none; } .preview-item h1 { display: none; } .preview-overlay { height: 100%; width: 100%; opacity: 0; top: 0; left: 0; position: absolute; padding: 0; transition: opacity .5s; color: #FFF; background-color: rgba(0, 0, 0, 0.5); text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7); backdrop-filter: none; } .preview-overlay h1 { max-width: 100%; padding-top: 0.3em; margin: auto; margin-bottom: 0px; text-align: center; display: block; font-size: 2em; color: white; } .preview-overlay h1, .preview-overlay h2, .preview-overlay h3, .preview-overlay h4, .preview-overlay h5, .preview-overlay h6, .preview-overlay h7, .preview-overlay h8, .preview-overlay h9, .preview-overlay h10 { color: white; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7); } .preview-item:hover .preview-overlay { opacity: .9; transition: opacity .5s; backdrop-filter: blur(2px); } .comment-text { margin-top: 0.8em; } .card-preview time { margin-bottom: 0.4em; display: block; }