tRearranged <pre> tags and <table> - monochromatic - monochromatic blog: http://blog.z3bra.org
HTML git clone git://z3bra.org/monochromatic
DIR Log
DIR Files
DIR Refs
---
DIR commit 4e3bbf82593cb24e84961f706b2bbaf0b9b4bd97
DIR parent f432550d63cc181982af3630c8c3f2c84e827d5c
HTML Author: Willy Goiffon <willy@mailoo.org>
Date: Tue, 29 Oct 2013 10:21:12 +0100
Rearranged <pre> tags and <table>
Diffstat:
M css/monochrome.css | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
DIR diff --git a/css/monochrome.css b/css/monochrome.css
t@@ -140,6 +140,8 @@ header h1 a:hover {
table {
border-collapse: collapse;
border: 2px solid #333;
+ margin-top:8px;
+ margin-bottom:8px;
}
table td, table th {
t@@ -172,7 +174,8 @@ pre {
padding: 10px;
border-radius: 10px;
margin-top: 4px;
- white-space: pre-wrap;
+ max-height:200px;
+ overflow:auto;
}
/* Generated by macro :TOhtml in vim */
t@@ -236,6 +239,8 @@ img {
vertical-align: top;
display: inline-block;
box-shadow: 0px 0px 16px #000;
+ margin:auto;
+ margin-top: 8px;
}
img.a_img:hover {