mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 19:20:56 +01:00
Added preview of the file "readme" like in github with using showdown.js parser (http://github.com/coreyti/showdown).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user