Przeglądaj źródła

Default theme: Improve table styling

Daniel Rudolf 9 lat temu
rodzic
commit
e0c1e068fb
1 zmienionych plików z 13 dodań i 2 usunięć
  1. 13 2
      themes/default/style.css

+ 13 - 2
themes/default/style.css

@@ -32,7 +32,7 @@ body {
 }
 
 table {
-	border-collapse: separate;
+	border-collapse: collapse;
 	border-spacing: 0;
 }
 
@@ -137,7 +137,7 @@ h3 {
 	margin-top: 2em;
 }
 
-p {
+p, table {
 	margin-bottom: 1em;
 }
 
@@ -167,6 +167,17 @@ td, td img {
 	vertical-align: top;
 }
 
+td, th {
+	border: solid 1px #999;
+	padding: 0.25em 0.5em;
+}
+
+th {
+	font-weight: bold;
+	text-align: center;
+	background: #eee;
+}
+
 sub {
 	vertical-align: sub;
 	font-size: smaller;