Update table

This commit is contained in:
Fabrice Niessen 2015-05-02 10:56:01 +02:00
parent 87f3b6b161
commit 20c6f2b764
2 changed files with 57 additions and 41 deletions

View File

@ -308,36 +308,43 @@ pre.src{
table{
border-collapse:collapse;
border-spacing:0}
border-spacing:0;
empty-cells:show;
margin-bottom:24px;
}
td{
vertical-align:top}
table{
border-collapse:collapse;
border-spacing:0;
empty-cells:show;
margin-bottom:24px}
table caption, .figure p{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;}
table td,table th{
font-size:90%;
margin:0;
overflow:visible;
padding:8px 16px;
background-color: transparent;
border: 1px solid #e1e4e5;}
border: 1px solid #e1e4e5;
}
table thead th{
font-weight:bold;
border-bottom:solid 2px #e1e4e5}
border-bottom:solid 2px #e1e4e5;
}
table caption{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
table tr:nth-child(2n-1) td{
background-color:#f3f6f6}
background-color:#f3f6f6;
}
.figure p{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
.rotate-90{
-webkit-transform:rotate(90deg);

View File

@ -394,26 +394,18 @@ pre.src{
:tangle: css/readtheorg.css
:END:
#+begin_src css
table{
border-collapse:collapse;
border-spacing:0}
td{
vertical-align:top}
#+end_src
** Basic example
#+begin_src css
table{
border-collapse:collapse;
border-spacing:0;
empty-cells:show;
margin-bottom:24px}
margin-bottom:24px;
}
table caption, .figure p{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;}
td{
vertical-align:top}
table td,table th{
font-size:90%;
@ -421,31 +413,48 @@ table td,table th{
overflow:visible;
padding:8px 16px;
background-color: transparent;
border: 1px solid #e1e4e5;}
border: 1px solid #e1e4e5;
}
table thead th{
font-weight:bold;
border-bottom:solid 2px #e1e4e5}
table tr:nth-child(2n-1) td{
background-color:#f3f6f6}
border-bottom:solid 2px #e1e4e5;
}
#+end_src
* Forms
:PROPERTIES:
:tangle: css/readtheorg.css
:END:
** Optional table caption
* Buttons
:PROPERTIES:
:tangle: css/readtheorg.css
:END:
#+begin_src css
table caption{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
#+end_src
** Striped rows
#+begin_src css
table tr:nth-child(2n-1) td{
background-color:#f3f6f6;
}
#+end_src
* Images
:PROPERTIES:
:tangle: css/readtheorg.css
:END:
** Optional image caption
#+begin_src css
.figure p{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
#+end_src
* Helper classes
:PROPERTIES:
:tangle: css/readtheorg.css