@charset "UTF-8"; /*! Theme Name: Brucke Author: Done Graphic Author URI: http://done-graphic.com/themes Description: Brucke is a clean and simple blog theme. It has many features. This theme is great for creating sites and blogs. It’s a clean theme optimized for all mobile devices. You can find all the information on this theme at: http://done-graphic.com/themes Version: 1.0.1 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: brucke Tags:two-columns, right-sidebar, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, blog This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. brucke is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- # Normalize # Typography # Elements # Forms # Navigation ## Links ## Menus # Accessibility # Alignments # Clearings # Widgets # Content ## Posts and pages ## Comments # Infinite scroll # Media ## Captions ## Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- # Normalize --------------------------------------------------------------*/ html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*-------------------------------------------------------------- # Typography --------------------------------------------------------------*/ body, button, input, select, textarea { color: #404040; font-family: sans-serif; font-size: 16px; font-size: 1rem; line-height: 1.5; } h1, h2, h3, h4, h5, h6 { clear: both; } p { margin-bottom: 1.5em; } dfn, cite, em, i { font-style: italic; } blockquote { margin: 0 1.5em; } address { margin: 0 0 1.5em; } pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; } code, kbd, tt, var { font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; font-size: 15px; font-size: 0.9375rem; } abbr, acronym { border-bottom: 1px dotted #666; cursor: help; } mark, ins { background: #fff9c0; text-decoration: none; } big { font-size: 125%; } /*-------------------------------------------------------------- # Elements --------------------------------------------------------------*/ html { box-sizing: border-box; } *, *:before, *:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ box-sizing: inherit; } body { background: #fff; /* Fallback for when there is no custom background color defined. */ } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; } hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; } ul, ol { margin: 0 0 1.5em 3em; } ul { list-style: disc; } ol { list-style: decimal; } li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; } dt { font-weight: bold; } dd { margin: 0 1.5em 1.5em; } img { height: auto; /* Make sure images are scaled correctly. */ max-width: 100%; /* Adhere to container width. */ } figure { margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */ } table { margin: 0 0 1.5em; width: 100%; } /*-------------------------------------------------------------- # Forms --------------------------------------------------------------*/ button, input[type="button"], input[type="reset"], input[type="submit"] { border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; color: rgba(0, 0, 0, 0.8); font-size: 12px; font-size: 0.75rem; line-height: 1; padding: .6em 1em .4em; } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea { color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px; } select { border: 1px solid #ccc; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus { color: #111; } textarea { width: 100%; } /*-------------------------------------------------------------- # Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Links --------------------------------------------------------------*/ a { color: royalblue; } a:visited { color: purple; } a:hover, a:focus, a:active { color: midnightblue; } a:focus { outline: thin dotted; } a:hover, a:active { outline: 0; } /*-------------------------------------------------------------- ## Menus --------------------------------------------------------------*/ /* .main-navigation { clear: both; display: block; float: left; width: 100%; } .main-navigation ul { display: none; list-style: none; margin: 0; padding-left: 0; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; } .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; position: absolute; top: 1.5em; left: -999em; z-index: 99999; } .main-navigation ul ul ul { left: -999em; top: 0; } .main-navigation ul ul a { width: 200px; } .main-navigation ul ul li { } .main-navigation li:hover > a, .main-navigation li.focus > a { } .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { } .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { } .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a { } */ /* Small menu. */ /* .menu-toggle, .main-navigation.toggled ul { display: block; } @media screen and (min-width: 37.5em) { .menu-toggle { display: none; } .main-navigation ul { display: block; } } .site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; } .comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 50%; } .comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { float: right; text-align: right; width: 50%; } */ /*-------------------------------------------------------------- # Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ } /* Do not show the outline on the skip link target. */ #content[tabindex="-1"]:focus { outline: 0; } /*-------------------------------------------------------------- # Alignments --------------------------------------------------------------*/ .alignleft { display: inline; float: left; margin-right: 1.5em; } .alignright { display: inline; float: right; margin-left: 1.5em; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; } /*-------------------------------------------------------------- # Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after { content: ""; display: table; table-layout: fixed; } .clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after { clear: both; } /*-------------------------------------------------------------- # Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; } /* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; } /*-------------------------------------------------------------- # Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- ## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; } .hentry { margin: 0 0 1.5em; } .byline, .updated:not(.published) { display: none; } .single .byline, .group-blog .byline { display: inline; } .page-content, .entry-content, .entry-summary { margin: 1.5em 0 0; } .page-links { clear: both; margin: 0 0 1.5em; } /*-------------------------------------------------------------- ## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; } .bypostauthor { display: block; } /*-------------------------------------------------------------- # Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */ display: none; } /* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */ .infinity-end.neverending .site-footer { display: block; } /*-------------------------------------------------------------- # Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; } /* Make sure embeds and iframes fit their containers. */ embed, iframe, object { max-width: 100%; } /*-------------------------------------------------------------- ## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; max-width: 100%; } .wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; } .wp-caption .wp-caption-text { margin: 0.8075em 0; } .wp-caption-text { text-align: center; } /*-------------------------------------------------------------- ## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em; } .gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; } .gallery-columns-2 .gallery-item { max-width: 50%; } .gallery-columns-3 .gallery-item { max-width: 33.33%; } .gallery-columns-4 .gallery-item { max-width: 25%; } .gallery-columns-5 .gallery-item { max-width: 20%; } .gallery-columns-6 .gallery-item { max-width: 16.66%; } .gallery-columns-7 .gallery-item { max-width: 14.28%; } .gallery-columns-8 .gallery-item { max-width: 12.5%; } .gallery-columns-9 .gallery-item { max-width: 11.11%; } .gallery-caption { display: block; } /*-------------------------------------------------------------- ## Global --------------------------------------------------------------*/ body { font-family: "Times"; background-color: #f8f8f8; color: #3873c4; } .site-title { margin: 50px 0 0; font-family: "Amatic SC"; font-size: 5em; } .site-title a { color: #3873c4; } .site-description { margin: 0; font-family: "Times"; } #site-navigation { font-family: "Times"; } @media screen and (min-width: 1023px) { #site-navigation #primary-menu { padding: 0; border-top: 1px solid #888888; border-bottom: 1px solid #888888; padding: 5px 0; } } .lSSlideOuter { padding: 0 0 50px; } aside { /* p,li{ font-family: 'Josefin Slab', serif; } */ } aside h2 { font-family: "Amatic SC", cursive; font-size: 1.2em; } .menu-toggle { width: 100%; } @media screen and (min-width: 1280px) { /*-------------------------------------------------------------- ## Header - Accueil --------------------------------------------------------------*/ #masthead { font-family: "Roboto"; display: block; height: auto; width: 100%; background-repeat: no-repeat; background-size: 100%; text-align: center; width: 100%; } #masthead a { text-decoration: none; } #masthead .main-navigation { display: flex; box-sizing: border-box; vertical-align: top; margin: 0 auto; width: 100%; justify-content: center; } #masthead .main-navigation #primary-menu { margin: 30px auto 50px; /* } */ } #masthead .main-navigation #primary-menu li { display: inline; font-size: 0.9em; padding: 0 15px 0 15px; box-sizing: border-box; width: auto; text-transform: uppercase; position: relative; } #masthead .main-navigation #primary-menu li:hover .children { display: block; } #masthead .main-navigation #primary-menu li .children { display: none; padding: 20px 0 0; position: absolute; top: 15px; left: 0px; background-color: white; z-index: 300; text-align: center; } #masthead .main-navigation #primary-menu li .children li { display: inline-block; text-transform: uppercase; font-size: 14px; text-align: left; position: relative; padding: 10px 15px; background-color: white; border-bottom: 0.5px solid #888888; min-width: 200px; } #masthead .main-navigation #primary-menu li .children li:hover .children { display: block; } #masthead .main-navigation #primary-menu li .children li a { width: 100%; display: block; } #masthead .main-navigation #primary-menu li .children li .children { display: none; padding: 0; position: absolute; top: 0; left: 100%; background-color: purple; z-index: 300; margin: 0; text-align: center; } #masthead .main-navigation #primary-menu li .children li .children li { display: inline-block; text-transform: uppercase; font-size: 14px; text-align: left; position: relative; padding: 10px 15px; border-bottom: 0.5px solid #888888; } #masthead .main-navigation #primary-menu li .children li .children li:hover .children { display: block; } #masthead .main-navigation #primary-menu li a { text-decoration: none; color: gray; width: 100%; } #masthead .main-navigation #primary-menu li a:hover { color: black; cursor: pointer; } #masthead .main-navigation #primary-menu .current_page_item a { color: gray; } main { width: 70.3389830508%; } .fullwidth { width: 100%; } .media { width: 74.5762711864%; background-color: red; } /*-------------------------------------------------------------- ## Section catégories --------------------------------------------------------------*/ .image_links { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .image_links a { width: 100%; height: auto; text-decoration: none; margin: 10px 0 0; overflow: hidden; height: 125px; } .image_links a:hover { opacity: 0.8; } .image_links a img { width: 100%; overflow: hidden; position: relative; } .image_links a .cat-title { background-color: white; position: absolute; z-index: 10; padding: 5px 0; width: 60%; margin: 0 auto; top: 70px; left: 20%; } .image_links a p { text-align: center; color: #888888; } /*-------------------------------------------------------------- ## Slider catégories --------------------------------------------------------------*/ #section_slide_cat { margin: 50px auto; width: 83.0508474576%; } #section_slide_cat #slide_cat, #section_slide_cat #slide_feat { box-sizing: border-box; } #section_slide_cat #slide_cat a, #section_slide_cat #slide_feat a { text-decoration: none; } #section_slide_cat #slide_cat a .img_container img, #section_slide_cat #slide_feat a .img_container img { width: 100%; height: auto; } #section_slide_cat #slide_cat a .descrip, #section_slide_cat #slide_feat a .descrip { background-color: white; margin: -120px auto 0; position: relative; bottom: 0; width: 80%; } #section_slide_cat #slide_cat a .descrip h3, #section_slide_cat #slide_feat a .descrip h3 { color: #888888; text-transform: uppercase; text-align: center; font-weight: lighter; } #section_slide_cat #slide_cat a:hover, #section_slide_cat #slide_feat a:hover { opacity: 0.9; } /*-------------------------------------------------------------- ## Sidebar --------------------------------------------------------------*/ aside { width: 23.7288135593%; } aside section h2 { background-color: #3873c4; color: white; padding: 5px; font-size: 16px; font-weight: lighter; text-transform: uppercase; text-align: center; color: white; } aside section ul { margin: 0; padding: 0 10px; list-style-position: inside; list-style: none; } aside section ul li a { color: #888888; text-decoration: none; } aside section ul li a:hover { color: #3873c4; text-decoration: underline; } aside section ul li a:visited { color: #888888; } aside .widget_media_image { border-radius: 50%; } aside .widget_text { text-align: center; } aside .widget_text p { text-align: justify; } aside .widget_search label { width: 100%; } aside .widget_search input { width: 100%; } aside .widget_search .search-submit { display: none; border: none; cursor: pointer; width: 100%; height: 25px; margin: 5px 0 0; } aside .widget_search .search-submit:hover { background-color: #117aca; color: white; } #recent { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; } #recent li { margin-bottom: 10px; } #recent li a { display: flex; flex-wrap: wrap; color: #888888; text-decoration: none; } #recent li a .image { width: 30%; margin-right: 10px; } #recent li a p { width: 60%; margin: 0; padding: 0; } #recent li a:hover { color: #3873c4; } #recent li a:hover .image { opacity: 0.8; } /*-------------------------------------------------------------- ## Contenu de la page --------------------------------------------------------------*/ .entry-title { width: 100%; } .entry-title a { color: black; text-decoration: none; } .entry-title a:hover { opacity: 0.5; } .entry-meta { text-align: center; } .entry-meta span { margin: 0 auto; } .entry-meta span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-meta span a:hover { color: #888888; } article { background-color: white; margin: 10px 0; width: 100%; margin: 0 auto; } .entry-header { padding: 0 50px; } .entry-header h1 { margin: 0; padding: 20px 0 0; text-transform: uppercase; } .entry-header h2 { margin: 0; padding: 20px 0 5px; text-align: center; text-transform: uppercase; } .entry-content { padding: 0 50px; width: 100%; } .entry-content .page-links a { color: #888888; } .entry-content .page-links a:hover { color: #3873c4; } .entry-content a { color: #3873c4; } .entry-content a:hover { color: #888888; } .entry-footer { padding: 20px 50px; border-top: 1px solid #888888; background-color: white; } .entry-footer span { margin-right: 10px; } .entry-footer span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-footer span a:hover { color: #888888; } .more-link { color: #3873c4; } .more-link:hover { color: #888888; } #primary { display: flex; width: 83.0508474576%; margin: 0 auto; justify-content: space-between; } img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } .attachment-post-thumbnail { margin: 0 auto; display: block; width: 100%; height: auto; } .comment-body { padding: 15px; } .comment-list { margin: 0 0 0 0.5em; } .comment-meta { padding: 0; } /*-------------------------------------------------------------- ## Navigation articles plus anciens --------------------------------------------------------------*/ .nav-links { display: flex; justify-content: center; width: 40%; margin: 0 auto; line-height: normal; } .nav-links .prev { margin-right: 10px; background-color: #3873c4; } .nav-links .next { margin-left: 10px; background-color: #3873c4; } .nav-links .prev, .nav-links .next { color: white; border-radius: 3px; } .nav-links .prev:hover, .nav-links .next:hover { background-color: white; color: #3873c4; } .nav-links a { display: block; padding: 5px 10px; background-color: white; text-decoration: none; color: #3873c4; height: 100%; } .nav-links a:hover { background-color: #3873c4; color: white; } .nav-links .current { display: block; padding: 5px 10px; background-color: #3873c4; color: white; height: 100%; } /*-------------------------------------------------------------- ## Footer - Copyright --------------------------------------------------------------*/ .null-instagram-feed { margin: 100px 0 0; } .null-instagram-feed h3 { color: #888888; font-family: "Roboto"; position: relative; z-index: 100; text-align: center; text-transform: uppercase; margin: 10px; } .null-instagram-feed .instagram-pics { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; width: 100%; } .null-instagram-feed .instagram-pics li a { width: 100%; height: auto; display: block; } .null-instagram-feed .instagram-pics li a img { width: 100%; height: auto; } .null-instagram-feed .instagram-pics li a img:hover { opacity: 0.8; } footer { margin: 0 auto; width: 100%; box-sizing: border-box; color: #585858; position: relative; bottom: 0; width: 100%; } .site-info { width: 40.6779661017%; display: flex; flex-wrap: wrap; vertical-align: top; margin: 20px auto 20px; font-family: "Roboto"; padding-top: 15px; box-sizing: border-box; text-align: center; } .site-info .sep { margin: 0 10px; } .site-info a { color: #3873c4; text-align: center; } .site-info a:hover { color: #888888; } .social-box { margin: 0 auto 20px; width: 15%; display: flex; justify-content: space-between; } .social-box a { width: 30%; color: #3873c4; text-align: center; } .social-box a i { font-size: 40px; text-align: center; } /*-------------------------------------------------------------- ## Contact --------------------------------------------------------------*/ form { display: flex; box-sizing: border-box; justify-content: space-between; flex-wrap: wrap; } form p { width: 30%; box-sizing: border-box; border-bottom: 1px solid gray; margin: 0 0 25px; } form p input { border: none; border-radius: 0; } form p:nth-of-type(4) { width: 100%; } form p:nth-of-type(4) input { width: 100%; } form p:nth-of-type(5) { width: 100%; } form p:nth-of-type(5) textarea { width: 100%; height: 100px; border-radius: 0; border: none; } form p:nth-of-type(6) { width: 20%; margin: 30px auto; border: none; } form p:nth-of-type(6) input { width: 100%; border: 1px solid gray; height: 55px; font-size: 1.2em; background-color: white; } } @media screen and (min-width: 1024px) and (max-width: 1279px) { /*-------------------------------------------------------------- ## Header - Accueil --------------------------------------------------------------*/ #masthead { font-family: "Roboto"; display: block; height: auto; width: 100%; background-repeat: no-repeat; background-size: 100%; text-align: center; width: 100%; } #masthead a { text-decoration: none; } #masthead .main-navigation { display: flex; box-sizing: border-box; vertical-align: top; margin: 0 auto; width: 100%; justify-content: center; } #masthead .main-navigation #primary-menu { margin: 30px auto 50px; /* ul{ */ /* } */ } #masthead .main-navigation #primary-menu li { display: inline; font-size: 0.9em; padding: 0 15px 0 15px; box-sizing: border-box; width: auto; text-transform: uppercase; position: relative; } #masthead .main-navigation #primary-menu li:hover .children { display: block; } #masthead .main-navigation #primary-menu li .children { display: none; padding: 20px 0 0; position: absolute; top: 15px; left: 0px; background-color: white; z-index: 300; text-align: center; } #masthead .main-navigation #primary-menu li .children li { display: inline-block; text-transform: uppercase; font-size: 14px; text-align: left; position: relative; padding: 10px 15px; background-color: white; border-bottom: 0.5px solid #888888; min-width: 200px; } #masthead .main-navigation #primary-menu li .children li:hover .children { display: block; } #masthead .main-navigation #primary-menu li .children li a { width: 100%; display: block; } #masthead .main-navigation #primary-menu li .children li .children { display: none; padding: 0; position: absolute; top: 0; left: 100%; background-color: purple; z-index: 300; margin: 0; text-align: center; } #masthead .main-navigation #primary-menu li .children li .children li { display: inline-block; text-transform: uppercase; font-size: 14px; text-align: left; position: relative; padding: 10px 15px; border-bottom: 0.5px solid #888888; } #masthead .main-navigation #primary-menu li .children li .children li:hover .children { display: block; } #masthead .main-navigation #primary-menu li a { text-decoration: none; color: gray; width: 100%; } #masthead .main-navigation #primary-menu li a:hover { color: black; cursor: pointer; } #masthead .main-navigation #primary-menu .current_page_item a { color: gray; } main { width: 70.3389830508%; } .fullwidth { width: 100%; } .media { width: 74.5762711864%; background-color: red; } /*-------------------------------------------------------------- ## Section catégories --------------------------------------------------------------*/ .image_links { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .image_links a { width: 100%; height: auto; text-decoration: none; margin: 10px 0 0; overflow: hidden; height: 125px; } .image_links a:hover { opacity: 0.8; } .image_links a img { width: 100%; overflow: hidden; position: relative; } .image_links a .cat-title { background-color: white; position: absolute; z-index: 10; padding: 5px 0; width: 60%; margin: 0 auto; top: 70px; left: 20%; } .image_links a p { text-align: center; color: #888888; } /*-------------------------------------------------------------- ## Slider catégories --------------------------------------------------------------*/ #section_slide_cat { margin: 50px auto; width: 91.5254237288%; } #section_slide_cat #slide_cat, #section_slide_cat #slide_feat { box-sizing: border-box; } #section_slide_cat #slide_cat a, #section_slide_cat #slide_feat a { text-decoration: none; } #section_slide_cat #slide_cat a .img_container img, #section_slide_cat #slide_feat a .img_container img { width: 100%; height: auto; } #section_slide_cat #slide_cat a .descrip, #section_slide_cat #slide_feat a .descrip { background-color: white; margin: -120px auto 0; position: relative; bottom: 0; width: 80%; } #section_slide_cat #slide_cat a .descrip h3, #section_slide_cat #slide_feat a .descrip h3 { color: #888888; text-transform: uppercase; text-align: center; font-weight: lighter; } #section_slide_cat #slide_cat a:hover, #section_slide_cat #slide_feat a:hover { opacity: 0.9; } /*-------------------------------------------------------------- ## Sidebar --------------------------------------------------------------*/ aside { width: 25.4237288136%; } aside section h2 { background-color: #3873c4; color: white; padding: 5px; font-size: 16px; font-weight: lighter; text-transform: uppercase; text-align: center; } aside section ul { margin: 0; padding: 0 10px; list-style-position: inside; list-style: none; } aside section ul li a { color: #888888; text-decoration: none; } aside section ul li a:hover { color: #3873c4; text-decoration: underline; } aside .widget_media_image { border-radius: 50%; } aside .widget_text { text-align: center; } aside .widget_text p { text-align: justify; } aside .widget_search label { width: 100%; } aside .widget_search input { width: 100%; } aside .widget_search .search-submit { display: none; border: none; cursor: pointer; width: 100%; height: 25px; margin: 5px 0 0; } aside .widget_search .search-submit:hover { background-color: #117aca; color: white; } #recent { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; } #recent li { margin-bottom: 10px; } #recent li a { display: flex; flex-wrap: wrap; color: #888888; text-decoration: none; } #recent li a .image { width: 30%; margin-right: 10px; } #recent li a p { width: 60%; margin: 0; padding: 0; } #recent li a:hover { color: #3873c4; } #recent li a:hover .image { opacity: 0.8; } /*-------------------------------------------------------------- ## Contenu de la page --------------------------------------------------------------*/ #primary { display: flex; width: 91.5254237288%; margin: 0 auto; justify-content: space-between; } article { background-color: white; margin: 10px 0; width: 100%; margin: 0 auto; } .entry-title { width: 100%; } .entry-title a { color: black; text-decoration: none; } .entry-title a:hover { opacity: 0.5; } .entry-meta { text-align: center; } .entry-meta span { margin: 0 auto; } .entry-meta span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-meta span a:hover { color: #888888; } .entry-header { padding: 0 50px; margin: 0 auto; } .entry-header h1 { margin: 0; padding: 20px 0 0; text-transform: uppercase; text-align: center; } .entry-header h2 { margin: 0; padding: 20px 0 5px; text-align: center; text-transform: uppercase; } .entry-content { padding: 0 50px; width: 100%; } .entry-content .page-links a { color: #888888; } .entry-content .page-links a:hover { color: #3873c4; } .entry-content a { color: #3873c4; } .entry-content a:hover { color: #888888; } .entry-footer { padding: 20px 50px; border-top: 1px solid #888888; background-color: white; } .entry-footer span { margin-right: 10px; } .entry-footer span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-footer span a:hover { color: #888888; } .more-link { color: #3873c4; } .more-link:hover { color: #888888; } img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } .attachment-post-thumbnail { margin: 0 auto; display: block; width: 100%; height: auto; } .comment-body { padding: 15px; } .comment-list { margin: 0 0 0 0.5em; } .comment-meta { padding: 0; } /*-------------------------------------------------------------- ## Navigation articles plus anciens --------------------------------------------------------------*/ .nav-links { display: flex; justify-content: space-between; } .nav-links div a { display: block; padding: 30px; background-color: white; text-decoration: none; color: #3873c4; } .nav-links div a:hover { background-color: #3873c4; color: white; } /*-------------------------------------------------------------- ## Footer - Copyright --------------------------------------------------------------*/ .null-instagram-feed { margin: 0; } .null-instagram-feed h3 { color: black; font-family: "helvetica_lightregular"; position: relative; z-index: 100; } .null-instagram-feed .instagram-pics { display: flex; flex-wrap: wrap; } .null-instagram-feed .instagram-pics li { width: 6.7796610169%; } .null-instagram-feed .instagram-pics li a { width: 100%; height: auto; display: block; } .null-instagram-feed .instagram-pics li a img { width: 100%; height: auto; } .null-instagram-feed .instagram-pics li a img:hover { opacity: 0.8; } footer { margin: 0 auto; width: 100%; box-sizing: border-box; color: #585858; position: relative; bottom: 0; width: 100%; } .site-info { width: 40.6779661017%; display: flex; flex-wrap: wrap; vertical-align: top; margin: 50px auto 20px; font-family: "Roboto"; padding-top: 15px; box-sizing: border-box; text-align: center; } .site-info .sep { margin: 0 10px; } .site-info a { color: #3873c4; text-align: center; } .site-info a:hover { color: #888888; } .social-box { margin: 0 auto 20px; width: 15%; display: flex; justify-content: space-between; } .social-box a { width: 30%; color: #3873c4; text-align: center; } .social-box a i { font-size: 40px; text-align: center; } /*-------------------------------------------------------------- ## Contact --------------------------------------------------------------*/ form { display: flex; box-sizing: border-box; justify-content: space-between; flex-wrap: wrap; } form p { width: 30%; box-sizing: border-box; border-bottom: 1px solid gray; margin: 0 0 25px; } form p input { border: none; border-radius: 0; } form p:nth-of-type(4) { width: 100%; } form p:nth-of-type(4) input { width: 100%; } form p:nth-of-type(5) { width: 100%; } form p:nth-of-type(5) textarea { width: 100%; height: 100px; border-radius: 0; border: none; } form p:nth-of-type(6) { width: 20%; margin: 30px auto; border: none; } form p:nth-of-type(6) input { width: 100%; border: 1px solid gray; height: 55px; font-size: 1.2em; background-color: white; } } @media screen and (min-width: 768px) and (max-width: 1023px) { /*-------------------------------------------------------------- ## Header - Accueil --------------------------------------------------------------*/ #masthead { font-family: "Roboto"; display: block; height: auto; width: 100%; background-repeat: no-repeat; background-size: 100%; text-align: center; width: 100%; } #masthead a { text-decoration: none; } main { width: 100%; } .fullwidth { width: 100%; } .media { width: 74.5762711864%; background-color: red; } /*-------------------------------------------------------------- ## Section catégories --------------------------------------------------------------*/ .image_links { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .image_links a { width: 100%; height: auto; text-decoration: none; margin: 10px 0 0; overflow: hidden; height: 125px; } .image_links a:hover { opacity: 0.8; } .image_links a img { width: 100%; overflow: hidden; position: relative; } .image_links a .cat-title { background-color: white; position: absolute; z-index: 10; padding: 5px 0; width: 60%; margin: 0 auto; top: 70px; left: 20%; } .image_links a p { text-align: center; color: #888888; } /*-------------------------------------------------------------- ## Slider catégories --------------------------------------------------------------*/ #section_slide_cat { margin: 50px auto; width: 91.5254237288%; } #section_slide_cat #slide_cat { box-sizing: border-box; } #section_slide_cat #slide_cat a { text-decoration: none; } #section_slide_cat #slide_cat a .img_container img { width: 100%; height: auto; } #section_slide_cat #slide_cat a .descrip { background-color: white; margin: -120px auto 0; position: relative; bottom: 0; width: 80%; } #section_slide_cat #slide_cat a .descrip h3 { color: #888888; text-transform: uppercase; text-align: center; font-weight: lighter; } #section_slide_cat #slide_cat a:hover { opacity: 0.9; } /*-------------------------------------------------------------- ## Sidebar --------------------------------------------------------------*/ aside { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; margin: 50px 0; } aside section { width: 100%; } aside section h2 { background-color: #3873c4; color: white; padding: 5px; font-size: 16px; font-weight: lighter; text-transform: uppercase; text-align: center; margin: 0; } aside section ul { margin: 20px 0; padding: 0 10px; list-style-position: inside; list-style: none; } aside section ul li { margin: 5px 0; } aside section ul li a { color: #888888; text-decoration: none; } aside section ul li a:hover { color: #3873c4; text-decoration: underline; } aside .widget_media_image { width: 50%; } aside .widget_text { width: 45%; text-align: center; } aside .widget_text p { text-align: justify; } aside .widget_search label { width: 100%; } aside .widget_search input { width: 100%; } aside .widget_search .search-submit { display: none; border: none; cursor: pointer; width: 100%; height: 25px; margin: 5px 0 0; } aside .widget_search .search-submit:hover { background-color: #117aca; color: white; } #recent { display: flex; flex-wrap: wrap; list-style: none; margin: 30px 0; padding: 0; } #recent li { margin-bottom: 30px; } #recent li a { display: flex; flex-wrap: wrap; color: #888888; text-decoration: none; } #recent li a .image { width: 30%; margin-right: 10px; } #recent li a p { width: 60%; margin: 0; padding: 0; } #recent li a:hover { color: #3873c4; } #recent li a:hover .image { opacity: 0.8; } /*-------------------------------------------------------------- ## Contenu de la page --------------------------------------------------------------*/ #primary { display: flex; flex-wrap: wrap; width: 91.5254237288%; margin: 0 auto; justify-content: space-between; } article { background-color: white; margin: 10px 0; width: 100%; margin: 0 auto; } .entry-title { width: 100%; } .entry-title a { color: black; text-decoration: none; } .entry-title a:hover { opacity: 0.5; } .entry-meta { text-align: center; } .entry-meta span { margin: 0 auto; } .entry-meta span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-meta span a:hover { color: #888888; } .entry-header { padding: 0 50px; margin: 0 auto; } .entry-header h1 { margin: 0; padding: 20px 0 0; text-transform: uppercase; text-align: center; } .entry-header h2 { margin: 0; padding: 20px 0 5px; text-align: center; text-transform: uppercase; } .entry-content { padding: 0 50px; width: 100%; } .entry-content .page-links a { color: #888888; } .entry-content .page-links a:hover { color: #3873c4; } .entry-content a { color: #3873c4; } .entry-content a:hover { color: #888888; } .entry-footer { padding: 20px 50px; border-top: 1px solid #888888; background-color: white; } .entry-footer span { margin-right: 10px; } .entry-footer span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-footer span a:hover { color: #888888; } .more-link { color: #3873c4; } .more-link:hover { color: #888888; } img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } .attachment-post-thumbnail { margin: 0 auto; display: block; width: 100%; height: auto; } .comment-body { padding: 15px; } .comment-list { margin: 0 0 0 0.5em; } .comment-meta { padding: 0; } /*-------------------------------------------------------------- ## Navigation articles plus anciens --------------------------------------------------------------*/ .nav-links { display: flex; justify-content: space-between; } .nav-links div a { display: block; padding: 30px; background-color: white; text-decoration: none; color: #3873c4; } .nav-links div a:hover { background-color: #3873c4; color: white; } /*-------------------------------------------------------------- ## Footer - Copyright --------------------------------------------------------------*/ .null-instagram-feed { margin: 0; } .null-instagram-feed h3 { color: black; font-family: "helvetica_lightregular"; position: relative; z-index: 100; } .null-instagram-feed .instagram-pics { display: flex; flex-wrap: wrap; } .null-instagram-feed .instagram-pics li { width: 23.7288135593%; } .null-instagram-feed .instagram-pics li a { width: 100%; height: auto; display: block; } .null-instagram-feed .instagram-pics li a img { width: 100%; height: auto; } .null-instagram-feed .instagram-pics li a img:hover { opacity: 0.8; } footer { margin: 0 auto; width: 100%; box-sizing: border-box; color: #585858; position: relative; bottom: 0; width: 100%; } .site-info { width: 40.6779661017%; display: flex; flex-wrap: wrap; vertical-align: top; margin: 50px auto 20px; font-family: "Roboto"; padding-top: 15px; box-sizing: border-box; text-align: center; } .site-info .sep { margin: 0 10px; } .site-info a { color: #3873c4; text-align: center; } .site-info a:hover { color: #888888; } .social-box { margin: 0 auto 20px; width: 15%; display: flex; justify-content: space-between; } .social-box a { width: 30%; color: #3873c4; text-align: center; } .social-box a i { font-size: 40px; text-align: center; } /*-------------------------------------------------------------- ## Contact --------------------------------------------------------------*/ form { display: flex; box-sizing: border-box; justify-content: space-between; flex-wrap: wrap; } form p { width: 30%; box-sizing: border-box; border-bottom: 1px solid gray; margin: 0 0 25px; } form p input { border: none; border-radius: 0; } form p:nth-of-type(4) { width: 100%; } form p:nth-of-type(4) input { width: 100%; } form p:nth-of-type(5) { width: 100%; } form p:nth-of-type(5) textarea { width: 100%; height: 100px; border-radius: 0; border: none; } form p:nth-of-type(6) { width: 20%; margin: 30px auto; border: none; } form p:nth-of-type(6) input { width: 100%; border: 1px solid gray; height: 55px; font-size: 1.2em; background-color: white; } } @media screen and (min-width: 480px) and (max-width: 767px) { /*-------------------------------------------------------------- ## Header - Accueil --------------------------------------------------------------*/ #masthead { font-family: "Roboto"; display: block; height: auto; width: 100%; background-repeat: no-repeat; background-size: 100%; text-align: center; width: 100%; } #masthead a { text-decoration: none; } main { width: 100%; } .fullwidth { width: 100%; } .media { width: 74.5762711864%; background-color: red; } /*-------------------------------------------------------------- ## Section catégories --------------------------------------------------------------*/ .image_links { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .image_links a { width: 100%; height: auto; text-decoration: none; margin: 10px 0 0; overflow: hidden; height: 125px; } .image_links a:hover { opacity: 0.8; } .image_links a img { width: 100%; overflow: hidden; position: relative; } .image_links a .cat-title { background-color: white; position: absolute; z-index: 10; padding: 5px 0; width: 60%; margin: 0 auto; top: 70px; left: 20%; } .image_links a p { text-align: center; color: #888888; } /*-------------------------------------------------------------- ## Slider catégories --------------------------------------------------------------*/ #section_slide_cat { margin: 50px auto; width: 91.5254237288%; } #section_slide_cat #slide_cat { box-sizing: border-box; } #section_slide_cat #slide_cat a { text-decoration: none; } #section_slide_cat #slide_cat a .img_container img { width: 100%; height: auto; } #section_slide_cat #slide_cat a .descrip { background-color: white; margin: -120px auto 0; position: relative; bottom: 0; width: 80%; } #section_slide_cat #slide_cat a .descrip h3 { color: #888888; text-transform: uppercase; text-align: center; font-weight: lighter; } #section_slide_cat #slide_cat a:hover { opacity: 0.9; } /*-------------------------------------------------------------- ## Sidebar --------------------------------------------------------------*/ aside { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; margin: 50px 0; } aside section { width: 100%; } aside section h2 { background-color: #3873c4; color: white; padding: 5px; font-size: 16px; font-weight: lighter; text-transform: uppercase; text-align: center; margin: 0; } aside section ul { margin: 20px 0; padding: 0 10px; list-style-position: inside; list-style: none; } aside section ul li { margin: 5px 0; } aside section ul li a { color: #888888; text-decoration: none; } aside section ul li a:hover { color: #3873c4; text-decoration: underline; } aside .widget_media_image { width: 100%; } aside .widget_text { width: 100%; text-align: center; } aside .widget_text p { text-align: justify; } aside .widget_search label { width: 100%; } aside .widget_search input { width: 100%; } aside .widget_search .search-submit { display: none; border: none; cursor: pointer; width: 100%; height: 25px; margin: 5px 0 0; } aside .widget_search .search-submit:hover { background-color: #117aca; color: white; } #recent { display: flex; flex-wrap: wrap; list-style: none; margin: 30px 0; padding: 0; } #recent li { margin-bottom: 30px; } #recent li a { display: flex; flex-wrap: wrap; color: #888888; text-decoration: none; } #recent li a .image { width: 50%; margin-right: 10px; } #recent li a p { width: 40%; margin: 0; padding: 0; } #recent li a:hover { color: #3873c4; } #recent li a:hover .image { opacity: 0.8; } /*-------------------------------------------------------------- ## Contenu de la page --------------------------------------------------------------*/ #primary { display: flex; flex-wrap: wrap; width: 91.5254237288%; margin: 0 auto; justify-content: space-between; } article { background-color: white; margin: 10px 0; width: 100%; margin: 0 auto; } .entry-title { width: 100%; } .entry-title a { color: black; text-decoration: none; } .entry-title a:hover { opacity: 0.5; } .entry-meta { text-align: center; } .entry-meta span { margin: 0 auto; } .entry-meta span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-meta span a:hover { color: #888888; } .entry-header { padding: 0 10px; } .entry-header h1 { margin: 0; padding: 20px 0 0; text-transform: uppercase; text-align: center; } .entry-header h2 { margin: 0; padding: 20px 0 5px; text-align: center; text-transform: uppercase; font-size: 1.8em; } .entry-content { padding: 0 10px; width: 100%; } .entry-content .page-links a { color: #888888; } .entry-content .page-links a:hover { color: #3873c4; } .entry-content a { color: #3873c4; } .entry-content a:hover { color: #888888; } .entry-footer { padding: 20px 50px; border-top: 1px solid #888888; background-color: white; } .entry-footer span { margin-right: 10px; } .entry-footer span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-footer span a:hover { color: #888888; } .more-link { color: #3873c4; } .more-link:hover { color: #888888; } img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } .attachment-post-thumbnail { margin: 0 auto; display: block; width: 100%; height: auto; } .comment-body { padding: 15px; } .comment-list { margin: 0 0 0 0.5em; } .comment-meta { padding: 0; } /*-------------------------------------------------------------- ## Navigation articles plus anciens --------------------------------------------------------------*/ .nav-links { display: flex; justify-content: space-between; } .nav-links div a { display: block; padding: 30px; background-color: white; text-decoration: none; color: #3873c4; } .nav-links div a:hover { background-color: #3873c4; color: white; } /*-------------------------------------------------------------- ## Footer - Copyright --------------------------------------------------------------*/ .null-instagram-feed { margin: 0; } .null-instagram-feed h3 { color: black; font-family: "helvetica_lightregular"; position: relative; z-index: 100; } .null-instagram-feed .instagram-pics { display: flex; flex-wrap: wrap; } .null-instagram-feed .instagram-pics li { width: 23.7288135593%; } .null-instagram-feed .instagram-pics li a { width: 100%; height: auto; display: block; } .null-instagram-feed .instagram-pics li a img { width: 100%; height: auto; } .null-instagram-feed .instagram-pics li a img:hover { opacity: 0.8; } footer { margin: 0 auto; width: 100%; box-sizing: border-box; color: #585858; position: relative; bottom: 0; width: 100%; } .site-info { width: 40.6779661017%; display: flex; flex-wrap: wrap; vertical-align: top; margin: 50px auto 20px; font-family: "Roboto"; padding-top: 15px; box-sizing: border-box; text-align: center; } .site-info .sep { margin: 0 10px; } .site-info a { color: #3873c4; text-align: center; } .site-info a:hover { color: #888888; } .social-box { margin: 0 auto 20px; width: 15%; display: flex; justify-content: space-between; } .social-box a { width: 30%; color: #3873c4; text-align: center; } .social-box a i { font-size: 40px; text-align: center; } /*-------------------------------------------------------------- ## Contact --------------------------------------------------------------*/ form { display: flex; box-sizing: border-box; justify-content: space-between; flex-wrap: wrap; } form p { width: 30%; box-sizing: border-box; border-bottom: 1px solid gray; margin: 0 0 25px; } form p input { border: none; border-radius: 0; } form p:nth-of-type(4) { width: 100%; } form p:nth-of-type(4) input { width: 100%; } form p:nth-of-type(5) { width: 100%; } form p:nth-of-type(5) textarea { width: 100%; height: 100px; border-radius: 0; border: none; } form p:nth-of-type(6) { width: 20%; margin: 30px auto; border: none; } form p:nth-of-type(6) input { width: 100%; border: 1px solid gray; height: 55px; font-size: 1.2em; background-color: white; } } @media screen and (min-width: 320px) and (max-width: 479px) { /*-------------------------------------------------------------- ## Header - Accueil --------------------------------------------------------------*/ #masthead { font-family: "Roboto"; display: block; height: auto; width: 100%; background-repeat: no-repeat; background-size: 100%; text-align: center; width: 100%; } #masthead a { text-decoration: none; } main { width: 100%; } .fullwidth { width: 100%; } .media { width: 74.5762711864%; background-color: red; } /*-------------------------------------------------------------- ## Section catégories --------------------------------------------------------------*/ .image_links { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } .image_links a { width: 100%; height: auto; text-decoration: none; margin: 10px 0 0; overflow: hidden; height: 125px; } .image_links a:hover { opacity: 0.8; } .image_links a img { width: 100%; overflow: hidden; position: relative; } .image_links a .cat-title { background-color: white; position: absolute; z-index: 10; padding: 5px 0; width: 60%; margin: 0 auto; top: 70px; left: 20%; } .image_links a p { text-align: center; color: #888888; } /*-------------------------------------------------------------- ## Slider catégories --------------------------------------------------------------*/ #section_slide_cat { margin: 50px auto; width: 91.5254237288%; } #section_slide_cat #slide_cat { box-sizing: border-box; } #section_slide_cat #slide_cat a { text-decoration: none; } #section_slide_cat #slide_cat a .img_container img { width: 100%; height: auto; } #section_slide_cat #slide_cat a .descrip { background-color: white; margin: -120px auto 0; position: relative; bottom: 0; width: 80%; } #section_slide_cat #slide_cat a .descrip h3 { color: #888888; text-transform: uppercase; text-align: center; font-weight: lighter; } #section_slide_cat #slide_cat a:hover { opacity: 0.9; } /*-------------------------------------------------------------- ## Sidebar --------------------------------------------------------------*/ aside { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; margin: 50px 0; } aside section { width: 100%; } aside section h2 { background-color: #3873c4; color: white; padding: 5px; font-size: 16px; font-weight: lighter; text-transform: uppercase; text-align: center; margin: 0; } aside section ul { margin: 20px 0; padding: 0 10px; list-style-position: inside; list-style: none; } aside section ul li { margin: 5px 0; } aside section ul li a { color: #888888; text-decoration: none; } aside section ul li a:hover { color: #3873c4; text-decoration: underline; } aside .widget_media_image { width: 100%; } aside .widget_text { width: 100%; text-align: center; } aside .widget_text p { text-align: justify; } aside .widget_search label { width: 100%; } aside .widget_search input { width: 100%; } aside .widget_search .search-submit { display: none; border: none; cursor: pointer; width: 100%; height: 25px; margin: 5px 0 0; } aside .widget_search .search-submit:hover { background-color: #117aca; color: white; } #recent { display: flex; flex-wrap: wrap; list-style: none; margin: 30px 0; padding: 0; } #recent li { margin-bottom: 30px; } #recent li a { display: flex; flex-wrap: wrap; color: #888888; text-decoration: none; } #recent li a .image { width: 50%; margin-right: 10px; } #recent li a p { width: 40%; margin: 0; padding: 0; } #recent li a:hover { color: #3873c4; } #recent li a:hover .image { opacity: 0.8; } /*-------------------------------------------------------------- ## Contenu de la page --------------------------------------------------------------*/ #primary { display: flex; flex-wrap: wrap; width: 91.5254237288%; margin: 0 auto; justify-content: space-between; } article { background-color: white; margin: 10px 0; width: 100%; margin: 0 auto; } .entry-title { width: 100%; } .entry-title a { color: black; text-decoration: none; } .entry-title a:hover { opacity: 0.5; } .entry-meta { text-align: center; } .entry-meta span { margin: 0 auto; } .entry-meta span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-meta span a:hover { color: #888888; } .entry-header { padding: 0 10px; } .entry-header h1 { margin: 0; padding: 20px 0 0; text-transform: uppercase; } .entry-header h2 { margin: 0; padding: 20px 0 5px; text-align: center; text-transform: uppercase; font-size: 1.8em; } .entry-content { padding: 0 10px; width: 100%; } .entry-content .page-links a { color: #888888; } .entry-content .page-links a:hover { color: #3873c4; } .entry-content a { color: #3873c4; } .entry-content a:hover { color: #888888; } .entry-footer { padding: 20px 50px; border-top: 1px solid #888888; background-color: white; } .entry-footer span { margin-right: 10px; } .entry-footer span a { color: #3873c4; text-decoration: none; font-style: italic; } .entry-footer span a:hover { color: #888888; } .more-link { color: #3873c4; } .more-link:hover { color: #888888; } img.alignright { margin: 0.4211em 0 1.6842em 1.6842em; } table, th, td { border: 1px solid #eaeaea; border: 1px solid rgba(51, 51, 51, 0.1); } table { border-collapse: separate; border-spacing: 0; border-width: 1px 0 0 1px; margin: 0 0 1.6em; table-layout: fixed; /* Prevents HTML tables from becoming too wide */ width: 100%; } caption, th, td { font-weight: normal; text-align: left; } th { border-width: 0 1px 1px 0; font-weight: 700; } td { border-width: 0 1px 1px 0; } th, td { padding: 0.4em; } .attachment-post-thumbnail { margin: 0 auto; display: block; width: 100%; height: auto; } .comment-body { padding: 15px; } .comment-list { margin: 0 0 0 0.5em; } .comment-meta { padding: 0; } /*-------------------------------------------------------------- ## Navigation articles plus anciens --------------------------------------------------------------*/ .nav-links { display: flex; justify-content: space-between; } .nav-links div a { display: block; padding: 30px; background-color: white; text-decoration: none; color: #3873c4; text-align: center; } .nav-links div a:hover { background-color: #3873c4; color: white; } /*-------------------------------------------------------------- ## Footer - Copyright --------------------------------------------------------------*/ .null-instagram-feed { margin: 0; } .null-instagram-feed h3 { color: black; font-family: "helvetica_lightregular"; position: relative; z-index: 100; } .null-instagram-feed .instagram-pics { display: flex; flex-wrap: wrap; } .null-instagram-feed .instagram-pics li { width: 23.7288135593%; } .null-instagram-feed .instagram-pics li a { width: 100%; height: auto; display: block; } .null-instagram-feed .instagram-pics li a img { width: 100%; height: auto; } .null-instagram-feed .instagram-pics li a img:hover { opacity: 0.8; } footer { margin: 0 auto; width: 100%; box-sizing: border-box; color: #585858; position: relative; bottom: 0; width: 100%; } .site-info { width: 40.6779661017%; display: flex; flex-wrap: wrap; vertical-align: top; margin: 50px auto 20px; font-family: "Roboto"; padding-top: 15px; box-sizing: border-box; text-align: center; } .site-info .sep { margin: 0 10px; } .site-info a { color: #3873c4; text-align: center; } .site-info a:hover { color: #888888; } .social-box { margin: 0 auto 20px; width: 90%; display: flex; justify-content: space-between; } .social-box a { width: 30%; color: #3873c4; text-align: center; } .social-box a i { font-size: 40px; text-align: center; } /*-------------------------------------------------------------- ## Contact --------------------------------------------------------------*/ form { display: flex; box-sizing: border-box; justify-content: space-between; flex-wrap: wrap; } form p { width: 30%; box-sizing: border-box; border-bottom: 1px solid gray; margin: 0 0 25px; } form p input { border: none; border-radius: 0; } form p:nth-of-type(4) { width: 100%; } form p:nth-of-type(4) input { width: 100%; } form p:nth-of-type(5) { width: 100%; } form p:nth-of-type(5) textarea { width: 100%; height: 100px; border-radius: 0; border: none; } form p:nth-of-type(6) { width: 20%; margin: 30px auto; border: none; } form p:nth-of-type(6) input { width: 100%; border: 1px solid gray; height: 55px; font-size: 1.2em; background-color: white; } } @media screen and (max-width: 1023px) { .main-navigation { display: flex; box-sizing: border-box; vertical-align: top; margin: 0 auto; width: 100%; justify-content: center; background-color: white; } .main-navigation #primary-menu { width: 100%; text-align: right; padding-right: 5px; /* } */ } .main-navigation #primary-menu li { font-size: 0.9em; box-sizing: border-box; width: auto; text-transform: uppercase; } .main-navigation #primary-menu li .children li { text-transform: uppercase; } .main-navigation #primary-menu li .children li a { padding-right: 40px; } .main-navigation #primary-menu li .children li .children li { text-transform: uppercase; } .main-navigation #primary-menu li .children li .children li a { padding-right: 80px; } .main-navigation #primary-menu li a { text-decoration: none; color: #888888; width: 100%; } .main-navigation #primary-menu .current_page_item a { background-color: #3873c4; color: white; } } *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /*-------------------------------------------------------------- ## Personnal css ************************************************************** --------------------------------------------------------------*/ @media (max-width: 1023px) { nav + * { position: relative; } /* Theming opened nav */ nav ul { /* translate with hardware acceleration */ -webkit-transform: translateZ(0); -ms-transform: translateZ(0); transform: translateZ(0); -webkit-transition: max-height .3s; transition: max-height .3s; /* global styles */ margin: 0 0 0; padding: 0; list-style: none; } nav a { display: block; text-decoration: none; margin-bottom: 2px; } nav a:hover, nav a:focus, nav a:active { background: #eee; } /* Theming closed nav */ nav.is-closed ul { max-height: 0; overflow: hidden; } /* Global styling nav button */ nav > button { display: block; position: absolute; top: 1.5rem; right: 1.5rem; z-index: 1; height: 1.3rem; width: 2rem; background-color: transparent; background-image: linear-gradient(to right, #797979, #797979), linear-gradient(to right, #797979, #797979), linear-gradient(to right, #797979, #797979); background-position: center top, center, center bottom; background-repeat: no-repeat; -webkit-background-size: 3rem .2rem; background-size: 3rem .2rem; padding: 0; outline: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-transition: .2s; transition: .2s; } /* Removing Firefox's dotted outline on button */ nav > button::-moz-focus-inner { border: 0; } /* Theming opened nav button */ nav:not(.is-closed) > button { -webkit-transform: rotate(180deg) translateZ(0); transform: rotate(180deg) translateZ(0); background-position: center, center, center; } /* Hide alternate text except from screen readers */ .visually-hidden { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; height: 1px; width: 1px; } }