Added preview of the file "readme" like in github with using showdown.js parser (http://github.com/coreyti/showdown).

This commit is contained in:
Michał Prochowski
2012-06-13 01:53:34 +02:00
parent 3c26f08599
commit c6de3bb8c8
8 changed files with 125 additions and 0 deletions

View File

@@ -145,4 +145,33 @@
margin: 0;
}
}
}
.readme-view {
width: 100%;
margin-bottom: @baseLineHeight;
border: 1px solid @treeHeaderBorder;
.readme-header {
padding: 8px;
line-height: @baseLineHeight;
text-align: left;
vertical-align: bottom;
#gradient > .vertical(@treeHeaderHighlight, @treeHeader);
border-bottom: 1px solid lighten(@treeHeaderBorder, 5%);
font-weight: bold;
color: @gray;
text-shadow: 1px 1px 1px rgba(255,255,255,1);
height:28px;
.meta {
float: left;
padding: 4px 0;
font-size: 14px;
}
}
#readme-content {
padding: 30px;
color: @black;
}
}