adding css

This commit is contained in:
Jon Lambson 2017-09-11 13:41:58 -06:00
parent e3a4858e38
commit ffef89e778
2 changed files with 9 additions and 6 deletions

View File

@ -37,6 +37,9 @@
.ls-none {
list-style: none;
}
.ls-pd0 {
-webkit-padding-start: 0;
}
/* Side Menu */
.side-menu {
padding-top: 10px;
@ -318,4 +321,4 @@
.file-tree .directory_child { margin-left: 2em; position: relative; }
.file-tree .directory_child:last-child::after { display: none; }
.file-tree .directory_child::before { border-bottom: 1px solid; border-left: 1px solid; content: ""; height: 1em; left: -1em; position: absolute; width: 0.7em; }
.file-tree .directory_child::after { border-left: 1px solid; content: ""; height: 100%; left: -1em; position: absolute; top: 0; }
.file-tree .directory_child::after { border-left: 1px solid; content: ""; height: 100%; left: -1em; position: absolute; top: 0; }

View File

@ -237,20 +237,20 @@
<div class="white-well">
<div class="file-tree">
<ul class="directory ls-none">
<ul class="directory ls-none ls-pd0">
<li>The World
<ul class="ls-none">
<ul class="ls-none ls-pd0">
<li class="directory_child">Africa
<ul class="ls-none">
<ul class="ls-none ls-pd0">
<li class="directory_child">Egypt</li>
</ul>
</li>
<li class="directory_child">Antarctica</li>
<li class="directory_child">Asia
<ul class="ls-none">
<ul class="ls-none ls-pd0">
<li class="directory_child">Japan</li>
<li class="directory_child">South Korea
<ul class="ls-none">
<ul class="ls-none ls-pd0">
<li class="directory_child">Seoul</li>
<li class="directory_child">Incheon</li>
</ul>