Render directory items in index

This commit is contained in:
2017-11-09 00:22:42 +01:00
parent bf84e70527
commit 939dce2b1f
11 changed files with 124 additions and 23 deletions

View File

@@ -26,6 +26,9 @@
padding: 2rem;
nav {
margin-top: 6rem;
margin-bottom: 6rem;
ul {
list-style: none;
margin: 0;
@@ -42,5 +45,9 @@
flex: 1;
overflow: auto;
padding: 2rem;
> header {
height: 6em;
}
}
}

View File

@@ -10,3 +10,5 @@ body {
margin: 0;
padding: 0;
}
@import "components/directory_listing";

View File

@@ -0,0 +1,28 @@
.directory-listing {
table {
width: 100%;
margin-bottom: 6rem;
border-collapse: collapse;
thead {
display: none;
}
tbody {
tr {
border-bottom: 1px solid #ececec;
}
tr:first-of-type {
border-top: 1px solid #ececec;
}
td {
padding: 1rem 1.5rem;
&.type {
color: #aaa;
}
}
}
}
}