first alpha mithril version: display text, open nested crossref infinitly

This commit is contained in:
Bachir Soussi Chiadmi
2017-04-18 12:27:07 +02:00
parent 2f69ebccc2
commit 4d237e7b5c
7 changed files with 234 additions and 32 deletions
+44 -5
View File
@@ -1,8 +1,47 @@
/*
Main scss
*/
// @Author: Bachir Soussi Chiadmi <bach>
// @Date: 16-04-2017
// @Email: bachir@figureslibres.io
// @Last modified by: bach
// @Last modified time: 18-04-2017
// @License: GPL-V3
html, body{
font-family: 'dejavu', sans-serif;
background-color: green;
font-size: 16px;
font-family: 'amiri', sans-serif;
position: relative;
}
#app{
position: relative;
}
main#content{
display:inline-block;
margin: 0 auto;
}
section.item{
width:350px;
margin: 1em 0;
// max-height:14px;
// overflow: hidden;
// transition: max-height 0.5s ease-in-out;
// &.active{
// max-height:1000px;
// }
h1{
font-size: 0.750em;
margin: 0;
cursor:pointer;
}
div.text div.paragraph{
margin-bottom: 1em;
}
div.text section.item{
padding-left:2em;
border-left: 1px solid #999;
}
}