Browse Source

Show number on list block layout

pm2
Luke Childs 9 years ago
parent
commit
24e504e74b
  1. 16
      assets/style.css

16
assets/style.css

@ -246,14 +246,14 @@ footer {
display: block; display: block;
} }
/* Hide table headers and number cell */ /* Hide table headers */
thead, thead {
td:first-child {
display: none; display: none;
} }
/* Redo padding and sections */ /* Redo padding and sections */
tr { tr {
position: relative;
background: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.1);
padding: 1em; padding: 1em;
} }
@ -272,8 +272,16 @@ footer {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
/* Position number on the right */
td:first-child {
position: absolute;
top: 1em;
right: 1em;
}
td:first-child:before { content: '#'; }
/* Set labels */ /* Set labels */
td:before { td:not(:first-child):before {
display: inline-block; display: inline-block;
min-width: 7em; min-width: 7em;
margin-right: 1em; margin-right: 1em;

Loading…
Cancel
Save