public: add a common 'cell' class to all cells
This commit is contained in:
parent
d24b54cf59
commit
ae8a573417
|
@ -27,6 +27,11 @@ div#title h1 {
|
|||
text-shadow: black 0px -1px 2px;
|
||||
}
|
||||
|
||||
div.cell {
|
||||
margin: 1em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
div.fortunecell {
|
||||
position: relative;
|
||||
margin: 20px auto;
|
||||
|
@ -38,6 +43,7 @@ div.fortunecell {
|
|||
div.fortunecell div {
|
||||
padding: 2em 4em 1em 4em;
|
||||
font-size: 110%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div.fortunecell:before {
|
||||
|
@ -57,11 +63,6 @@ div.fortunecell:after {
|
|||
font-size: 500%;
|
||||
}
|
||||
|
||||
div.textcell {
|
||||
margin: 1em;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
#content {
|
||||
position: relative;
|
||||
margin-bottom: 5em;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load combo %}
|
||||
{% for cell in cells %}
|
||||
<div class="{{ cell.css_class_name }}"><div>{% render_cell cell %}</div></div>
|
||||
<div class="cell {{ cell.css_class_name }}"><div>{% render_cell cell %}</div></div>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue