[New] added styling .g-table-dl to use as a <dl>:
<table class="g-table-dl"> <tr> <td>label 1</td> <td>value 1</td> </tr> <tr> <td>label 2</td> <td>value 2</td> </tr> </table>
This commit is contained in:
parent
35d3c93426
commit
1859d1ab15
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-styles",
|
||||
"description": "Strolch WebComponent Styles",
|
||||
"version": "0.4.7",
|
||||
"version": "0.4.8",
|
||||
"authors": ["Robert von Burg"],
|
||||
"keywords": [
|
||||
"strolch",
|
||||
|
|
|
@ -14,6 +14,14 @@
|
|||
border-radius: 2px;
|
||||
}
|
||||
|
||||
/*
|
||||
* table as a data definition list. Works simpler than a dl
|
||||
*/
|
||||
.g-table-dl td:first-child {
|
||||
text-align: right;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* data definition list
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue