pluxml-theme-4arts/css/theme.css

370 lines
6.5 KiB
CSS
Raw Normal View History

2018-03-11 00:58:09 +01:00
/*
# ------------------ 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: #fff;
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: #fff;
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: #fff;
font-size: 1.6rem;
}
@media (min-width: 64rem) {
.container {
padding-left: 10rem;
padding-right: 10rem;
}
}
/* COULEUR DU BANDEAU */
/* voir http://www.letoileauxsecrets.fr/couleurs/couleurs-bordeaux.html
pour les codes couleur possibles */
.header {
background-color: #8B0000;
color: #fff;
padding-bottom: 6rem;
padding-top: 6rem;
text-align: center;
}
.header a {
color: #000;
}
.header a:hover {
text-decoration: none;
}
/* ---------- Main ---------- */
.main {
background-color: #fff;
padding-bottom: 6rem;
}
.repertory {
margin-top: 4rem;
}
.pagination {
margin: 3rem 0 3rem 0;
}
.pagination a {
/*background-color: #258fd6;*/
background-color: #000000;
border-radius: .3rem;
color: #fff;
padding: .9rem .7rem;
transition-duration: .2s;
}
.pagination a:hover {
background-color: #3a6c96;
color: #fff;
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: #258fd6;
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;*/
background-color: #6D071A;
border-radius: .3rem;
color: #fff;
padding: .4rem .6rem;
}
.nbcom:hover {
background-color: #3a6c96;
color: #fff;
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: #fff;
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: #fff;
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: #fff;
}
.menu > li ul li:hover a{
text-decoration: underline;
}
.responsive-menu ul li.active a,
.responsive-menu ul li.active:hover {
background-color: #fff;
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: #fff;
}
/* MENU AU DESSUS DU TABLEAU - Liens déjà visités */
.static.group.active,
.static.menu.active a {
/*color: #e42929;*/
color: #222222;
font-weight: bold;
font-size: 110%;
}
/* MENU AU DESSUS DU TABLEAU */
.static.group.noactive,
.static.menu.noactive a {
/*color: #258fd6;*/
color: #000000;
font-weight: bold;
font-size: 110%;
}
.menu span::before {
content: '\25bc';
}