1er commit
WP theme
This commit is contained in:
589
style.css
Executable file
589
style.css
Executable file
@@ -0,0 +1,589 @@
|
||||
/*
|
||||
Theme Name: Twentytwelve Child
|
||||
Description: Theme enfant pour Twentytwelve
|
||||
Author: Bruno Pesenti
|
||||
Template: twentytwelve
|
||||
*/
|
||||
|
||||
@import url("../twentytwelve/style.css");
|
||||
|
||||
|
||||
/* Minimum width of 960 pixels. */
|
||||
@media screen and (min-width: 960px) {
|
||||
body .site {
|
||||
/*
|
||||
margin-top: 3.428571429rem;
|
||||
margin-bottom: 3.428571429rem;
|
||||
*/
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* ===[ Footer Widget Areas ]=== */
|
||||
.site-info { clear: both; }
|
||||
#footer-widgets {
|
||||
width: 100%;
|
||||
border-top: none;
|
||||
}
|
||||
#footer-widgets .widget li { list-style-type: none; }
|
||||
.template-front-page #footer-widgets { padding-top: 0; }
|
||||
@media screen and (min-width: 600px) {
|
||||
#footer-widgets.three .widget {
|
||||
float: left;
|
||||
margin-right: 3.7%;
|
||||
width: 30.85%;
|
||||
clear: none;
|
||||
}
|
||||
#footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
|
||||
}
|
||||
/* for IE8 and IE7 */
|
||||
.ie #footer-widgets.three .widget {
|
||||
float: left;
|
||||
margin-right: 3.7%;
|
||||
width: 29.85%;
|
||||
clear: none;
|
||||
}
|
||||
.ie #footer-widgets.three .widget + .widget + .widget { margin-right: 0; }
|
||||
/* Hide footer widgets Homepage Template*/
|
||||
.template-front-page #footer-widgets { display: none; }
|
||||
|
||||
|
||||
/* centrer le titre des photos */
|
||||
.wp-caption .wp-caption-text {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
blockquote{
|
||||
|
||||
/*font-family:Georgia,Serif;*/
|
||||
font-size:15px;
|
||||
padding:0 10px 20px 27px;
|
||||
position:relative;
|
||||
margin-top: 25px;
|
||||
}
|
||||
blockquote:after{
|
||||
font-style:italic;
|
||||
font-weight:normal;
|
||||
position:absolute;
|
||||
content:'"';
|
||||
font-size:40px;
|
||||
color:#D0D9E0;
|
||||
width:50px;
|
||||
top:-5px;
|
||||
left:0;
|
||||
font-family:Georgia,Serif;
|
||||
margin-left: 25px;
|
||||
}
|
||||
blockquote p{
|
||||
margin-bottom:10px;
|
||||
padding-left: 25px;
|
||||
letter-spacing: 0.1em;
|
||||
font: italic 18px Georgia,Serif;
|
||||
}
|
||||
|
||||
/*
|
||||
article.format-aside .aside {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
article.format-aside h1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aside .entry-content {
|
||||
font-size: 100%;
|
||||
}
|
||||
*/
|
||||
#mybread {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.site-content article {
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
|
||||
.entry-meta {
|
||||
margin-left: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* =Logo : Search Form
|
||||
-------------------------------------------------------------- */
|
||||
.header-search {
|
||||
float: right;
|
||||
margin-top: -50px;
|
||||
}
|
||||
@media (max-width: 650px) {
|
||||
.header-search {
|
||||
margin-top:5px;
|
||||
text-align:center;
|
||||
float:none;
|
||||
}
|
||||
.main-navigation {
|
||||
clear:both;
|
||||
}
|
||||
}
|
||||
|
||||
/* Search form */
|
||||
/*
|
||||
.header-search #searchform {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
|
||||
margin-top: -12px;
|
||||
}
|
||||
*/
|
||||
.header-search #searchform label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-search #searchform #searchsubmit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.header-search #searchform #s {
|
||||
width: 28px;
|
||||
|
||||
background: #F9F9F9 url(images/mag.png) no-repeat 10px center;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-width: 0 0 1px 0;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
color: #777;
|
||||
font-size: 0.9em;
|
||||
font-weight: 200;
|
||||
padding: 4px;
|
||||
padding-left: 30px;
|
||||
-webkit-transition: all 0.275s ease-in-out;
|
||||
-moz-transition: all 0.275s ease-in-out;
|
||||
-o-transition: all 0.275s ease-in-out;
|
||||
-ms-transition: all 0.275s ease-in-out;
|
||||
transition: all 0.275s ease-in-out;
|
||||
}
|
||||
|
||||
.header-search #searchform #s:focus {
|
||||
width: 180px;
|
||||
|
||||
}
|
||||
|
||||
/* Maj article */
|
||||
|
||||
.maj {
|
||||
font-style: italic;
|
||||
font-size: x-small;
|
||||
color: #9e9e9e;
|
||||
text-align: right;
|
||||
margin-right: 3em;
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
|
||||
/* Articles relatifs */
|
||||
|
||||
.relatedposts {width: 640px; margin: 40px auto 20px; font-size: 12px;}
|
||||
.relatedposts h3 { margin: 0 0 5px 0;
|
||||
font: 20px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
|
||||
}
|
||||
.relatedthumb {margin: 0 1px 0 1px; float: left; }
|
||||
.relatedthumb img {margin: 0 0 3px 0; padding: 0;}
|
||||
.relatedthumb a {color :#333; text-decoration: none; display:block; padding: 4px; width: 150px;
|
||||
text-align: center;
|
||||
}
|
||||
.relatedthumb a:hover {background-color: #ddd; color: #000;}
|
||||
|
||||
.cls {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* /Articles relatifs */
|
||||
|
||||
|
||||
/* Comment bubble */
|
||||
|
||||
.thecomment {
|
||||
width: 47px;
|
||||
height: 48px;
|
||||
float: right;
|
||||
margin-top: -6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.thecomment a {
|
||||
background: url(images/bubble_image.png) no-repeat 0px -1px;
|
||||
color: #666;
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
height: 48px;
|
||||
line-height: 45px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
/* /Comment bubble */
|
||||
|
||||
|
||||
/* =Post : Bar below content
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.post .below-content {
|
||||
background: #FAFAFA;
|
||||
background: #F9F9F9;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-style: solid;
|
||||
border-width: 1px 0;
|
||||
color: #666;
|
||||
margin-top: 30px;
|
||||
padding: 20px 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.post .below-content svg {
|
||||
display: inline-block;
|
||||
fill: #999;
|
||||
margin-bottom: -4px;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.post .below-content a {
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post .below-content p {
|
||||
height: 1em;
|
||||
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
/* =Post : Bar below content : Tags
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.post .below-content .tags {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.post .below-content .tags .the_tags {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.post .below-content .tags .the_tags a:last-child:after {
|
||||
content: '';
|
||||
}
|
||||
|
||||
.post .below-content .read-more {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/* Swipe */
|
||||
|
||||
.swipe {
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
.swipe-wrap > div {
|
||||
float:left;
|
||||
width:100%;
|
||||
position: relative;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
/*-------Commentaires---------*/
|
||||
|
||||
.masquer {
|
||||
display:none;
|
||||
}
|
||||
|
||||
/* My Comment */
|
||||
.bouton:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.depth-2 {
|
||||
border-left: medium solid #929292;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.depth-3 {
|
||||
border-left: medium solid #cbcbcb;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.thread-alt {
|
||||
/*background-color: #fafafa;
|
||||
margin-bottom: 10px;
|
||||
padding: 5px;*/
|
||||
|
||||
background: #F9F9F9;
|
||||
border: 1px solid #EEEEEE;
|
||||
border-style: solid;
|
||||
border-width: 1px 0;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
.thread-even {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/*------- /Commentaires---------*/
|
||||
|
||||
|
||||
/*-------Slider---------*/
|
||||
|
||||
.slider {
|
||||
padding: 10px;
|
||||
width: 750px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
ul.slideshow {
|
||||
list-style:none;
|
||||
width:750px; /*450*/
|
||||
height:200px;
|
||||
overflow:hidden;
|
||||
position:relative;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
ul.slideshow li {
|
||||
position:absolute;
|
||||
left:0;
|
||||
right:0;
|
||||
}
|
||||
|
||||
ul.slideshow li.show {
|
||||
z-index:500;
|
||||
}
|
||||
|
||||
ul img {
|
||||
border:none;
|
||||
}
|
||||
|
||||
|
||||
#slideshow-caption {
|
||||
width:750px; /*450*/
|
||||
height:90px; /*70*/
|
||||
position:absolute;
|
||||
bottom:0;
|
||||
left:0;
|
||||
color:#fff;
|
||||
background:#000;
|
||||
z-index:500;
|
||||
}
|
||||
|
||||
#slideshow-caption .slideshow-caption-container {
|
||||
padding:5px 10px;
|
||||
z-index:1000;
|
||||
}
|
||||
|
||||
#slideshow-caption h3 {
|
||||
margin:0;
|
||||
padding:0;
|
||||
font: italic 24px "Lucida Grande", Lucida, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
#slideshow-caption p {
|
||||
margin:5px 0 0 0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
/*------- /Slider---------*/
|
||||
|
||||
/*-------Photo du mois... ---------*/
|
||||
|
||||
.main-navigation .current-menu-item > a {
|
||||
color: #636363;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cadre {
|
||||
text-align: center;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.cadre img {
|
||||
padding: 10px;
|
||||
background-color: #fff;
|
||||
/*border: 1px solid #818181;*/
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
max-width: 95%;
|
||||
height: auto;
|
||||
}
|
||||
/*
|
||||
|
||||
|
||||
.imgLivre {
|
||||
padding: 10px;
|
||||
width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
*/
|
||||
#archive {
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#archive h1 {
|
||||
font-size: 20px;
|
||||
font-size: 1.428571429rem;
|
||||
line-height: 1.2;
|
||||
font-weight: normal;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.cadre .titrePhoto {
|
||||
text-align: center;
|
||||
font-size: 18px;
|
||||
text-decoration: underline;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.cadre .legendePhoto {
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.thumb {
|
||||
/*float: left;
|
||||
line-height: 200px;*/
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
/**/
|
||||
border: 1px solid #d7d8d4;
|
||||
background-color: #f8f8f4;
|
||||
|
||||
}
|
||||
|
||||
.albumdesc {
|
||||
float: right;
|
||||
text-align:center;
|
||||
width: 200px;
|
||||
padding: 6px 0 0 0;
|
||||
text-align:center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.album {
|
||||
float: left;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
text-align:center;
|
||||
margin-top: 0;
|
||||
margin-right: auto;
|
||||
/* entre 2 rangées d'albums */
|
||||
margin-bottom: 25px;
|
||||
margin-left: auto;
|
||||
padding: 0px 20px 20px;
|
||||
}
|
||||
|
||||
/*------- /Photo du mois... ---------*/
|
||||
|
||||
|
||||
/*------- ToolTip ---------*/
|
||||
|
||||
#tooltip {
|
||||
text-align: left;
|
||||
color: #909090;
|
||||
background: -webkit-gradient( linear, left top, left bottom, from( rgba(248, 248, 244, .6) ), to( rgba(248, 248, 244, .8) ) );
|
||||
background: -webkit-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: -moz-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: -ms-radial-gradient( top, rgba(248, 248, 244, .6), rrgba(248, 248, 244, .8) );
|
||||
background: -o-linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
background: linear-gradient( top, rgba(248, 248, 244, .6), rgba(248, 248, 244, .8) );
|
||||
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
padding: 15px;
|
||||
border: thin solid #d7d8d4;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
font: x-small "Lucida Grande", Lucida, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
/* triangle decoration */
|
||||
#tooltip:after {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 10px solid #d7d8d4;
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: -10px;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
#tooltip.top:after {
|
||||
border-top-color: transparent;
|
||||
border-bottom: 10px solid #d7d8d4;
|
||||
top: -20px;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
#tooltip.left:after {
|
||||
left: 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#tooltip.right:after {
|
||||
right: 10px;
|
||||
left: auto;
|
||||
margin: 0;
|
||||
}
|
||||
.aide {
|
||||
font-size: x-large;
|
||||
color: #fefb4e;
|
||||
border: thin solid #a0966c;
|
||||
text-align: center;
|
||||
padding-left: 10px;
|
||||
margin-right: 6px;
|
||||
background-color: #e7e7e2;
|
||||
}
|
||||
|
||||
/*------- /ToolTip ---------*/
|
||||
|
||||
|
||||
/*------- Livre d'Or ---------*/
|
||||
|
||||
.imgLivre {
|
||||
padding: 10px;
|
||||
width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 30px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.navPage {
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user