Render resources in markdown context properly and implement all the

documented render options.
This commit is contained in:
Thomas Keller
2011-12-06 01:39:45 +01:00
parent 3897d7facb
commit 8fde1e4762
5 changed files with 221 additions and 11 deletions

View File

@@ -928,6 +928,40 @@ ol > li {
margin-left: 2em;
}
.resource-container {
border: 1px solid #EEE;
padding: 5px;
}
.resource-container .preview {
margin-bottom: 5px;
}
.resource-container .preview * {
width: 100%;
height: 100%;
}
.resource-container .preview img {
height: auto;
}
.resource-container .preview + .title {
font-size: 80%;
}
.resource-container .title * {
vertical-align: middle;
}
.resource-container .title .download {
display: inline-block;
margin-right: 5px;
background: url("../img/down-large.png") no-repeat;
width: 22px;
height: 22px;
}
/**
* main menu
*/