588 lines
9.4 KiB
CSS
Executable File
588 lines
9.4 KiB
CSS
Executable File
/*
|
|
# -- BEGIN LICENSE BLOCK ----------------------------------
|
|
#
|
|
# This file is part of Dotclear 2.
|
|
#
|
|
# Copyright (c) 2003-2008 Olivier Meunier and contributors
|
|
# Licensed under the GPL version 2.0 license.
|
|
# See LICENSE file or
|
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
#
|
|
# Theme Name: Butterfly
|
|
# Version: 1.2
|
|
# Author: Kozlika - http://www.kozlika.org/
|
|
#
|
|
# -- END LICENSE BLOCK ------------------------------------
|
|
*/
|
|
|
|
/* ------------------------------------------------------------------
|
|
PERSONNALISATIONS
|
|
------------------------------------------------------------------- */
|
|
|
|
@import "custom.css";
|
|
|
|
/* ------------------------------------------------------------------
|
|
BUTTERFLY CSS RULES
|
|
------------------------------------------------------------------- */
|
|
|
|
body {
|
|
background: #CFC8B8 url(images/chinaberry.jpg); /* Merci a http://citrusmoon.typepad.com magnifiques patterns */
|
|
font-size: 76%; /* 76% correspond au corps 10 si le reglage par defaut du navigateur (le plus frequemment 14px) n'a pas ete modifie */
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: Verdana, sans-serif;
|
|
color: #666;
|
|
text-align: center; /* pour IE, centrage horizontal de la page */
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
padding: 0 0 1em 0;
|
|
}
|
|
|
|
img {
|
|
border: 3px solid #fff;
|
|
}
|
|
|
|
form {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
margin: 0;
|
|
font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.33em;
|
|
margin: 0em 0;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.17em;
|
|
margin: 0em;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1em;
|
|
margin: 0;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 0.83em;
|
|
margin: 0;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 0.67em;
|
|
margin: 0;
|
|
}
|
|
|
|
h2, h3, h4 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
code,pre {
|
|
font-family: "Courier New",monospace;
|
|
font-size: 1.1em;
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
pre {
|
|
margin: 0 auto;
|
|
margin-bottom: 1em;
|
|
padding: 0.5em;
|
|
text-align: left;
|
|
white-space: normal;
|
|
/* cache pour IE 5 Mac qui sait pas faire - Ne pas supprimer cette ligne \*/
|
|
white-space: pre;
|
|
width: 90%;
|
|
overflow: auto;
|
|
/* Fin hack Ne pas supprimer cette ligne */
|
|
}
|
|
|
|
q { /* citations */
|
|
font-style: italic;
|
|
background: #efe8d6;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
cite {
|
|
font-style: italic;
|
|
}
|
|
|
|
blockquote {
|
|
background: #efe8d6;
|
|
margin: 1em 1em 1em 2em;
|
|
padding: 1em 2em 0.33em 1em;
|
|
border-left: 3px solid #fff;
|
|
}
|
|
|
|
a {
|
|
color: #864525;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:visited {
|
|
color: #320082;
|
|
}
|
|
|
|
a:hover {
|
|
background-color: #e5cdae;
|
|
}
|
|
|
|
a[hreflang]:after {
|
|
content: "\0000a0[" attr(hreflang) "]";
|
|
font-size: 0.86em;
|
|
color: #666;
|
|
background: transparent;
|
|
}
|
|
|
|
/* Page
|
|
-------------------------------------------------------- */
|
|
|
|
#page {
|
|
width: 63em;
|
|
background: #F1E4D3; /* Je donne au fond de page la couleur que je veux pour le sidebar sinon, comme cette colonne est plus courte, ca s'arretera avant le bas de page */
|
|
margin: 2.5em auto 2.5em auto;
|
|
padding: 0;
|
|
border-right: 0.75em solid #5f677c;
|
|
text-align: left; /* Pour retablir l'alignement demande dans le body pour que IE puisse centrer */
|
|
}
|
|
|
|
#top {
|
|
padding: 0;
|
|
width: 70%;
|
|
height: 200px;
|
|
background: #864525 url(images/butterfly.png) bottom left no-repeat;
|
|
margin: 0;
|
|
}
|
|
|
|
#prelude, #prelude a { /* memes couleurs que le fond de main pour qu'on ne le voit pas mais que ca reste lisible pour les navigateurs oraux */
|
|
color: #F4ECD9;
|
|
background: #F4ECD9;
|
|
height: 20px;
|
|
width: 70%;
|
|
}
|
|
|
|
#wrapper {
|
|
margin: -220px 0 0 0;
|
|
}
|
|
|
|
#main {
|
|
background: #F4ECD9; /*fond de gauche */
|
|
float: left;
|
|
margin: 190px 0 0 0;
|
|
padding: 0;
|
|
width: 70%;
|
|
}
|
|
|
|
#content {
|
|
margin: 0;
|
|
padding: 0 4.5em;
|
|
}
|
|
|
|
#sidebar {
|
|
width: 18em;
|
|
margin: 0 0 0 70%;
|
|
padding: 0 1.5em 2em 1.5em;
|
|
font-size: 0.86em;
|
|
font-family: Verdana, arial, helvetica, sans-serif;
|
|
line-height: 140%;
|
|
color: #333;
|
|
}
|
|
|
|
/* Titre
|
|
-------------------------------------------------------- */
|
|
|
|
#top h1 {
|
|
text-align: right;
|
|
padding-right: 1.5em;
|
|
padding-top: 2.5em;
|
|
padding-left: 120px;
|
|
}
|
|
|
|
#top a {
|
|
background: none;
|
|
color: #fff;
|
|
}
|
|
|
|
/* billets
|
|
-------------------------------------------------------- */
|
|
|
|
#navlinks, #content-info {
|
|
text-align: center;
|
|
border-bottom: 1px solid #e5cdae;
|
|
padding: 0.5em 0;
|
|
}
|
|
|
|
#content-info .feed {
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
#content-info h2 {
|
|
color: #4f2c75;
|
|
}
|
|
|
|
.content-inner {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.post {
|
|
height: 100%;
|
|
margin: 1.5em 0 2em 0;
|
|
background: transparent url(images/ecrirelirepenser.png) no-repeat;
|
|
}
|
|
|
|
.day-date {
|
|
display: none;
|
|
}
|
|
|
|
.post-title {
|
|
font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
|
|
font-weight: normal;
|
|
color: #5f677c;
|
|
text-align: center;
|
|
padding: 0 70px;
|
|
}
|
|
|
|
.post-title a {
|
|
background: none;
|
|
font-weight: bold;
|
|
color: #5f677c;
|
|
}
|
|
|
|
.post-info {
|
|
margin-bottom: 1em;
|
|
padding-top: 0.5em;
|
|
font-family: Arial, sans-serif;
|
|
font-size: 0.86em;
|
|
text-align: center;
|
|
}
|
|
|
|
.post-info-co {
|
|
font-family: Arial, sans-serif;
|
|
font-size: 0.86em;
|
|
text-align: left;
|
|
}
|
|
|
|
.post-content {
|
|
padding: 0;
|
|
text-align: justify;
|
|
}
|
|
|
|
.post-excerpt {
|
|
padding: 1em 0;
|
|
text-align: justify;
|
|
}
|
|
|
|
.post-tags {
|
|
margin: 0 0 1em 0;
|
|
padding: 0;
|
|
font-family: Arial, sans-serif;
|
|
font-size: 0.86em;
|
|
}
|
|
|
|
.post-tags li {
|
|
display: inline;
|
|
background: transparent url(images/puce.png) no-repeat 4px 2px;
|
|
padding-left: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.post-tags li:hover {
|
|
background-color: #e5cdae;
|
|
}
|
|
|
|
/* commentaires + formulaire
|
|
-------------------------------------------------------- */
|
|
|
|
#comments, #pings {
|
|
padding: 0;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
#comments h3, #pings h3 {
|
|
font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
|
|
font-size: 1.15em;
|
|
margin-top: 1em;
|
|
margin-bottom: 0.25em;
|
|
padding: 0.15em 0;
|
|
background: #e5cdae;
|
|
padding-left: 0.4em;
|
|
border-left: 0.8em solid #cfc8b8;
|
|
}
|
|
|
|
#comments dd, #pings dd {
|
|
border-left: 0.1em solid #fff;
|
|
padding-left: 0.5em;
|
|
margin: 0.5em 0 1em 2em;
|
|
}
|
|
|
|
#comments dt, #pings dt {
|
|
color: #52297A;
|
|
}
|
|
|
|
.erreur {
|
|
color: #ffffcc;
|
|
}
|
|
|
|
/* Menu
|
|
-------------------------------------------------------- */
|
|
|
|
#sidebar ul, #sidebar li, #sidebar li a {
|
|
/* foutu bug dans IE !! http://www.positioniseverything.net/explorer/creep.html */
|
|
zoom: 1;
|
|
}
|
|
|
|
#sidebar h2, #sidebar h3 {
|
|
font-weight: normal;
|
|
font-size: 1em;
|
|
}
|
|
|
|
#sidebar h2 {
|
|
margin-top: 1em;
|
|
margin-bottom: 0.25em;
|
|
padding: 0.15em 0;
|
|
background: #e5cdae;
|
|
padding-left: 0.4em;
|
|
border-left: 0.8em solid #cfc8b8;
|
|
color: #033;
|
|
}
|
|
|
|
/* Merci AListApart pour la solution pour les menus survoles */
|
|
|
|
#sidebar ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
#sidebar li {
|
|
background: transparent url(images/puce.png) no-repeat 0px 4px;
|
|
padding-left: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
#sidebar li:hover {
|
|
background-color: #e5cdae;
|
|
}
|
|
|
|
#sidebar li a {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
html>body #sidebar li a {
|
|
width: auto;
|
|
}
|
|
|
|
#sidebar li a:hover {
|
|
background-color: #e5cdae;
|
|
}
|
|
|
|
#sidebar a:link {
|
|
|
|
}
|
|
|
|
#sidebar a:visited {
|
|
color: #270066;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#sidebar a:active, #sidebar strong {
|
|
font-color: #e5cade;
|
|
}
|
|
|
|
.links {
|
|
clear: right;
|
|
}
|
|
|
|
.syndicate {
|
|
padding-bottom: 2em;
|
|
}
|
|
|
|
#topnav {
|
|
margin-top: 1em;
|
|
margin-bottom: 0.25em;
|
|
padding: 0.15em 0;
|
|
background: #cfc8b8;
|
|
padding-left: 0.4em;
|
|
border-left: 0.8em solid #e5cdae;
|
|
}
|
|
|
|
#topnav span {
|
|
display: none;
|
|
}
|
|
|
|
#sidebar .text ul, #sidebar .text h2 {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
/* Footer
|
|
-------------------------------------------------------- */
|
|
|
|
#footer {
|
|
background: #5F677C;
|
|
font-size: 0.86em;
|
|
height: 1.5em;
|
|
color: #fff;
|
|
padding-top: 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
#footer a {
|
|
font-weight: bold;
|
|
background: transparent;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Error messages
|
|
-------------------------------------------------------- */
|
|
|
|
.error {
|
|
border: 0.1em solid #c00;
|
|
background: #fee;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
.error ul {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
.error li {
|
|
list-style: square;
|
|
}
|
|
|
|
/* Formulaires
|
|
-------------------------------------------------------- */
|
|
|
|
fieldset {
|
|
display: block;
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
input, textarea {
|
|
font-family: Verdana,Arial,Geneva,Helvetica,sans-serif;
|
|
font-size: 1em;
|
|
border-width: 0.1em;
|
|
border-color: #ccc;
|
|
}
|
|
|
|
input[type], textarea[name] {
|
|
background: #eee;
|
|
}
|
|
|
|
input[type=submit], input[type=reset] {
|
|
background: #ccc;
|
|
color: #000;
|
|
}
|
|
|
|
input[type=submit]:hover {
|
|
background: #036;
|
|
color: #fff;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
p.field {
|
|
margin: 0.5em 0 0 0;
|
|
}
|
|
|
|
p.field label {
|
|
display: block;
|
|
font-weight: bold;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
/* Pages specifiques
|
|
---------------------------------------------------- */
|
|
|
|
.dc-archive-month .content-inner * {
|
|
text-align: left;
|
|
padding: 0;
|
|
}
|
|
|
|
.dc-archive-month .content-inner .day-date {
|
|
display: block;
|
|
margin: 1em 0;
|
|
padding-left: 10px;
|
|
background: transparent url(images/puce.png) no-repeat 0px 4px;
|
|
}
|
|
|
|
.dc-tags #content {
|
|
line-height: 200%;
|
|
}
|
|
|
|
.dc-tags #content ul {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.dc-tags #content ul li {
|
|
background: transparent url(images/puce.png) no-repeat 0% 50%;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.dc-tags #content ul {
|
|
line-height: 200%;
|
|
font-family: "century gothic", "gill sans", sans-serif;
|
|
}
|
|
|
|
.dc-tags #content .tag0 {
|
|
font-size: 100%;
|
|
}
|
|
|
|
.dc-tags #content .tag10 {
|
|
font-size: 110%;
|
|
}
|
|
|
|
.dc-tags #content .tag20 {
|
|
font-size: 120%;
|
|
}
|
|
|
|
.dc-tags #content .tag30 {
|
|
font-size: 130%;
|
|
}
|
|
|
|
.dc-tags #content .tag40 {
|
|
font-size: 140%;
|
|
}
|
|
|
|
.dc-tags #content .tag50 {
|
|
font-size: 150%;
|
|
}
|
|
|
|
.dc-tags #content .tag60 {
|
|
font-size: 160%;
|
|
}
|
|
|
|
.dc-tags #content .tag70 {
|
|
font-size: 170%;
|
|
}
|
|
|
|
.dc-tags #content .tag80 {
|
|
font-size: 180%;
|
|
}
|
|
|
|
.dc-tags #content .tag90 {
|
|
font-size: 190%;
|
|
}
|
|
|
|
.dc-tags #content .tag100 {
|
|
font-size: 200%;
|
|
}
|
|
|
|
/* clearers
|
|
------------------------------------------------------------ */
|
|
|
|
#footer, .post, .post-content, .footnotes,
|
|
.attachments, .post-info-co, #comments {
|
|
clear: both;
|
|
} |