Try some layouting with sample image
This commit is contained in:
parent
203892a0ca
commit
04635d2758
4 changed files with 21 additions and 1 deletions
|
@ -1,4 +1,20 @@
|
|||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
#container {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
border-left: 2px solid gray;
|
||||
border-right: 2px solid gray;
|
||||
}
|
||||
|
||||
.entry {
|
||||
display: inline;
|
||||
white-space: nowrap;
|
||||
width:200px;
|
||||
height: 200px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
|
BIN
resources/public/img/sample.png
Normal file
BIN
resources/public/img/sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 78 KiB |
|
@ -12,7 +12,7 @@
|
|||
|
||||
<a href="{{servlet-context}}/">Home</a>
|
||||
|
||||
<div class="container">
|
||||
<div id="container">
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
|
4
src/ldview/views/templates/entries.html
Normal file
4
src/ldview/views/templates/entries.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% extends "ldview/views/templates/base.html" %}
|
||||
{% block content %}
|
||||
<div class="entry"><img src="{{servlet-context}}/img/sample.png" alt="entry-#" /></div>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue