Réorganisation des dossiers : un dossier css + less + sass
This commit is contained in:
parent
1196a16e65
commit
8493b4dfd7
8 changed files with 0 additions and 0 deletions
74
css/tables.css
Normal file
74
css/tables.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
|
||||
/* ----------------------------- */
|
||||
/* ==tables */
|
||||
/* ----------------------------- */
|
||||
|
||||
table,
|
||||
.table {
|
||||
max-width : 100%;
|
||||
table-layout: fixed;
|
||||
border-collapse: collapse;
|
||||
vertical-align: top;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
.table {
|
||||
display: table;
|
||||
}
|
||||
caption {
|
||||
padding: 10px;
|
||||
color: #555;
|
||||
font-style: italic;
|
||||
}
|
||||
table {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
tr > * + * {
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
th,
|
||||
td {
|
||||
padding: .3em .8em;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
td {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* alternate tables */
|
||||
.alternate { border: 0; }
|
||||
.alternate tbody {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.alternate thead tr > * + * {
|
||||
border-left: 0;
|
||||
}
|
||||
.alternate tbody tr > * + * {
|
||||
border-left: 1px solid #ccc;
|
||||
}
|
||||
|
||||
/* alternate-vert tables */
|
||||
.alternate-vert {
|
||||
border: 0;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
.alternate-vert tr > :first-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.alternate-vert tr > * + * {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
/* striped tables */
|
||||
.striped tbody tr:nth-child(odd) {
|
||||
background: #eee;
|
||||
background: rgba(0, 0, 0, .05);
|
||||
}
|
||||
|
||||
/* striped-vert tables */
|
||||
.striped-vert tr > :first-child {
|
||||
background: #eee;
|
||||
background: rgba(0, 0, 0, .05);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue