日报样式美化

This commit is contained in:
yulixing 2019-10-23 15:22:02 +08:00
parent 381403f64d
commit 6b74265530

View File

@ -20,6 +20,7 @@
h1 { h1 {
margin: 30px 0 20px; margin: 30px 0 20px;
font-size: 32px;
font-weight: 500; font-weight: 500;
text-align: center; text-align: center;
} }
@ -35,6 +36,7 @@
.info { .info {
margin: 60px 0 30px; margin: 60px 0 30px;
font-size: 16px;
text-align: center; text-align: center;
} }
@ -56,12 +58,13 @@
height: 36px; height: 36px;
padding-left: 16px; padding-left: 16px;
margin: 20px 0; margin: 20px 0;
font-size: 24px;
font-weight: 500; font-weight: 500;
border-left: #909090 3px solid; border-left: #909090 3px solid;
} }
.panel table { .panel table {
width: 100%; /* width: 100%; */
line-height: 2; line-height: 2;
text-align: left; text-align: left;
border-collapse: collapse; border-collapse: collapse;
@ -74,8 +77,9 @@
.panel table td, .panel table td,
.panel table th { .panel table th {
padding: 0 8px; padding: 0 16px;
border-bottom: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
font-size: 16px;
} }
.panel table tr:nth-child(even) { .panel table tr:nth-child(even) {
@ -113,11 +117,21 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<!-- <tr>
{% for item in line.get('all') %} {% for item in line.get('all') %}
<td>{{ item }}</td> <td>{{ item }}</td>
{% endfor %} {% endfor %}
</tr> </tr> -->
</tbody> </tbody>
</table> </table>
</div> </div>
@ -171,6 +185,6 @@
</table> </table>
</div> </div>
</div> </div>
<!-- {% endfor %} --> {% endfor %}
</body> </body>
</html> </html>