浏览代码

Improved the styles of tables included in the README file

Javier Eguiluz 9 年之前
父节点
当前提交
5aa81c832e
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      src/Packagist/WebBundle/Resources/public/css/main.css

+ 15 - 0
src/Packagist/WebBundle/Resources/public/css/main.css

@@ -991,6 +991,21 @@ ul.packages .metadata-block:last-child {
   line-height: 100%;
 }
 
+.wrapper .content .package .readme table {
+  margin: 0 0 15px;
+}
+.wrapper .content .package .readme th,
+.wrapper .content .package .readme td {
+  border: 1px solid #CCC;
+  padding: 5px 10px;
+}
+.wrapper .content .package .readme th {
+  background: #EEE;
+}
+.wrapper .content .package .readme table code {
+  font-size: 13px;
+}
+
 .package .package-aside {
   border-top: 1px solid #f28d1a;
   border-radius: 0;