124 lines
2.2 KiB
CSS
124 lines
2.2 KiB
CSS
|
/* --------------------------------------------------------------
|
||
|
|
||
|
base.css
|
||
|
Classes pour faciliter la composition
|
||
|
Cf.: https://contrib.spip.net/3820
|
||
|
|
||
|
-------------------------------------------------------------- */
|
||
|
/*
|
||
|
Configuration
|
||
|
font:100%/1.4em Georgia,"Times New Roman",Times,serif;
|
||
|
color:#121212;
|
||
|
*/
|
||
|
.typo_standard {
|
||
|
/* Configuration */
|
||
|
|
||
|
font-size: /*@font-size*/ 1em;
|
||
|
font-family: /*@font-family*/ Georgia, "Times New Roman", Times, serif;
|
||
|
text-indent: /*@text-indent*/ 50px;
|
||
|
line-height: /*@line-height*/ 1.4em;
|
||
|
margin-bottom: /*@margin-bottom*/ 1.4em;
|
||
|
color: /*@color*/ #121212;
|
||
|
background-color: /*@background-color*/ #ffffff;
|
||
|
}
|
||
|
.typo_mono {
|
||
|
font-family: /*@font-family-mono*/ 'andale mono', 'lucida console', monospace;
|
||
|
line-height: /*@line-height-mono*/ 1.4em;
|
||
|
font-size: /*@font-size-mono*/ 1em;
|
||
|
}
|
||
|
/* Blocs */
|
||
|
.bloc {
|
||
|
display: block;
|
||
|
margin-bottom: /*@margin-bottom*/ 1.4em;
|
||
|
}
|
||
|
.box {
|
||
|
display: block;
|
||
|
margin-bottom: /*@margin-bottom*/ 1.4em;
|
||
|
padding: /*@line-height*/ 1.4em;
|
||
|
background: #EEE;
|
||
|
}
|
||
|
/* Listes, tableaux et mosaiques */
|
||
|
.first {
|
||
|
margin-left: 0;
|
||
|
padding-left: 0;
|
||
|
}
|
||
|
.last {
|
||
|
margin-right: 0;
|
||
|
padding-right: 0;
|
||
|
}
|
||
|
.top {
|
||
|
margin-top: 0;
|
||
|
padding-top: 0;
|
||
|
}
|
||
|
.bottom {
|
||
|
margin-bottom: 0;
|
||
|
padding-bottom: 0;
|
||
|
}
|
||
|
/* Alignements */
|
||
|
.left {
|
||
|
float: left !important;
|
||
|
}
|
||
|
.right {
|
||
|
float: right !important;
|
||
|
}
|
||
|
.center {
|
||
|
text-align: center;
|
||
|
margin-right: auto;
|
||
|
margin-left: auto;
|
||
|
}
|
||
|
/* Espaceur de blocs */
|
||
|
.clear {
|
||
|
clear: both;
|
||
|
}
|
||
|
br.clear, .nettoyeur {
|
||
|
clear: both;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
border: 0;
|
||
|
height: 0;
|
||
|
line-height: 1px;
|
||
|
font-size: 1px;
|
||
|
}
|
||
|
hr.clear {
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
/* clearfix : http://www.positioniseverything.net/easyclearing.html */
|
||
|
.clearfix:after {
|
||
|
content: "\0020";
|
||
|
display: block;
|
||
|
height: 0;
|
||
|
clear: both;
|
||
|
visibility: hidden;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.clearfix {
|
||
|
display: inline-table;
|
||
|
}
|
||
|
/* Hides from IE-mac \*/
|
||
|
.clearfix {
|
||
|
height: 1%;
|
||
|
}
|
||
|
.clearfix {
|
||
|
display: block;
|
||
|
}
|
||
|
/* End hide from IE-mac */
|
||
|
/* Non visible a l'ecran */
|
||
|
.offscreen, .invisible {
|
||
|
position: absolute;
|
||
|
left: -999em;
|
||
|
height: 1%;
|
||
|
}
|
||
|
.hidden {
|
||
|
visibility: hidden;
|
||
|
}
|
||
|
.none {
|
||
|
display: none;
|
||
|
}
|
||
|
/* debug */
|
||
|
.todo {
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
.todo:hover {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
/* end */
|