/* # ------------------ BEGIN LICENSE BLOCK ------------------ # # This file is part of PluXml : http://www.pluxml.org # # Package: theme.css # Copyright (c) 2017 PluXml # Authors Jos, Stephane F. # Licensed under the GPL license. # See http://www.gnu.org/licenses/gpl.html # # ------------------- END LICENSE BLOCK ------------------- */ /* ----- Menu ----- */ .nav { background-color: #ff0; height: 4rem; text-align: left; margin-top: 1rem; } .nav ul { line-height: 3rem; } @media (max-width: 767px) { .nav { height: auto; max-height: 200px; overflow-y: auto; text-align: left; margin-top: 0; } .nav>.container { padding: 0; } .responsive-menu label { background-color: #ff0; color: #333; font-size: 3.5rem; margin: .75rem; text-align: right; } .responsive-menu label:before { content: '\039e'; } } li a.active { color: #e42929; } /* ---------- Header ---------- */ body { background-color: #ff0; font-size: 1.6rem; } @media (min-width: 64rem) { .container { padding-left: 15rem; padding-right: 15rem; } } .header { background: linear-gradient(rgba(70, 70, 70, 0.9), rgba(50, 50, 50, 0.9)); color: #ff0; padding-bottom: 6rem; padding-top: 6rem; text-align: center; } .header a { color: #ff0; } .header a:hover { text-decoration: none; color: #ff0; } @keyframes fire { 0%, 50%, 100% { text-shadow: #FFFF00 0px -1px 1px, #FFCC00 1px -3px 2px, #FFFF00 0px -4px 6px, #FFCC00 2px -7px 8px, #FFFF00 1px -9px 9px, #FFCC00 1px -10px 15px; } 20%, 40% { text-shadow: #FFFF00 1px -1px 2px, #FFCC00 2px -3px 3px, #FFFF00 1px -5px 6px, #FFCC00 3px -6px 8px, #FFFF00 3px -8px 9px, #FFCC00 3px -11px 13px; } 30% { text-shadow: #FFFF00 2px -1px 2px, #FFCC00 3px -3px 3px, #FFFF00 2px -6px 7px, #FFCC00 5px -5px 9px, #FFFF00 6px -7px 10px, #FFCC00 5px -12px 15px; } 60% { text-shadow: #FFFF00 -1px -1px 2px, #FFCC00 -0px -3px 3px, #FFFF00 -1px -3px 6px, #FFCC00 -3px -8px 8px, #FFFF00 -3px -10px 9px, #FFCC00 -3px -11px 13px; } 70% { text-shadow: #FFFF00 -2px -1px 2px, #FFCC00 -1px -3px 3px, #FFFF00 -2px -2px 7px, #FFCC00 -5px -9px 9px, #FFFF00 -6px -9px 8px, #FFC00 -5px -12px 11px; } } h1 a:hover { animation: fire .3s infinite ease alternate 1s; -webkit-animation: fire .3s infinite ease-in-out alternate 1s; } /* ---------- Main ---------- */ .main { background-color: #ff0; padding-bottom: 6rem; } .repertory { margin-top: 4rem; } .pagination { margin: 3rem 0 3rem 0; } .pagination a { background-color: #258fd6; border-radius: .3rem; color: #ff0; padding: .9rem .7rem; transition-duration: .2s; } .pagination a:hover { background-color: #3a6c96; color: #ff0; text-decoration: none; } .pagination span:first-letter, .pagination a:first-letter { text-transform: uppercase; } .p_first, .p_prev, .p_current, .p_next, .p_last { display: inline-block; } .article header h2 a { color: #333; } .article header h2 a:hover { color: #444; text-decoration: none; } .article footer small, .article header small, .comment small { color: #666; } .article header span:before, .article header time:before, .article footer span:before { padding-left: 1.5rem; padding-right: .3rem; } .article .written-by:after { content: '|'; padding-left: 0; } .article .art-date:after { content: '|'; } .article .classified-in:after { content: '|'; padding-left: 0; } .article img.art_thumbnail { padding: 15px 0 10px 0; } .page.mode-article .article footer { border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; } .comment { background-image: url('../img/user.png'); background-repeat: no-repeat; margin-bottom: 2.5rem; padding-left: 6rem; } .comment blockquote { margin: 0; font-size: 1.3rem; } .type-admin { background-color: #F0F8FF; padding: .2rem .5rem; } .nbcom { background-color: #258fd6; border-radius: .3rem; color: #ff0; padding: .4rem .6rem; } .nbcom:hover { background-color: #3a6c96; color: #ff0; text-decoration: none; } .level-0 { margin-left: 0; } .level-1 { margin-left: 5rem; } .level-2 { margin-left: 10rem } .level-3 { margin-left: 15rem; } .level-4 { margin-left: 20rem; } .level-5, .level-max { margin-left: 25rem; } @media (max-width: 768px) { .comment { background-image: none; padding-left: 0; } .level-1 { margin-left: 1rem; } .level-2 { margin-left: 2rem; } .level-3 { margin-left: 3rem; } .level-4 { margin-left: 4rem; } .level-5, .level-max { margin-left: 5rem; } } #id_answer { margin-bottom: 1.5rem; padding:1.5rem; border:1px solid #eee; width:100%; background:#fafafa; display:none; } .capcha-letter, .capcha-word { font-weight: bold; } .capcha-word { background-color: #ddd; border-radius: .3rem; letter-spacing: .5rem; padding: .9rem .7rem; transition-duration: .2s; } .capcha-word:hover { background-color: #666; color: #ff0; transition-duration: .2s; } .aside { padding: 0 2rem 0 2rem; } .aside h3 { font-size: 1.5rem; font-weight: bold; margin-top: 5rem; text-transform: uppercase; } .aside ul { margin: 0; } .aside ul.tag-list { list-style-type: none; padding-left: 0; } .aside ul.tag-list li { display: inline-block; margin-right: 1.5rem; } .aside ul.tag-list li.tag-size-1 a { font-size: 1rem; } .aside ul.tag-list li.tag-size-2 a { font-size: 1.2rem; } .aside ul.tag-list li.tag-size-3 a { font-size: 1.4rem; } .aside ul.tag-list li.tag-size-4 a { font-size: 1.6rem; } .aside ul.tag-list li.tag-size-5 a { font-size: 1.8rem; } .aside ul.tag-list li.tag-size-6 a { font-size: 2rem; } .aside ul.tag-list li.tag-size-7 a { font-size: 2.2rem; } .aside ul.tag-list li.tag-size-8 a { font-size: 2.4rem; } .aside ul.tag-list li.tag-size-9 a { font-size: 2.6rem } .aside ul.tag-list li.tag-size-10 a { font-size: 2.8rem; } .aside ul.tag-list li.tag-size-max a { font-size: 3rem; } /* ---------- Footer ---------- */ .footer { background: #ff0; color: #666; padding: 6rem 0; text-align: center; font-size: 1.2rem; } .footer p { margin: 0; } .footer a, .footer li.active a { color: #666; } /* ---------- ---------- */ @media (max-width: 768px) { .header, .footer { padding: 2rem 0; } .aside { padding-left: 1.5rem; } } /* affichage groupe des pages statiques */ /* sous forme de menus déroulants */ @media (max-width: 768px) { .menu > li ul { position: relative !important; } .menu > li ul li:hover { background-color: #ff0; } .menu > li ul li:hover a{ text-decoration: underline; } .responsive-menu ul li.active a, .responsive-menu ul li.active:hover { background-color: #ff0; color: #000; } } .menu > li ul { display: none; position: absolute; padding: 0; line-height: 2.8rem; } .menu > li:hover ul { display: block; } .menu ul li { display: block; margin: 0; padding: 0 1rem; background-color: #ff0; } .static.group.active, .static.menu.active a { color: #46462D; font-weight:bold; } .static.group.noactive, .static.menu.noactive a { color: #46462D; } .menu span::before { content: '\25bc'; } .grid { background-color: rgba(255, 255, 255, 0.3); box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7); } .header img { vertical-align: middle; } a:active, a:hover { color: #444; text-decoration: underline; } a { color: #171717; text-decoration: none; }