]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
fifteen-theme: added some css for tables in style.css
authorAlexander Marx <amarx@ipfire.org>
Tue, 7 Jan 2014 10:41:19 +0000 (11:41 +0100)
committerAlexander Marx <amarx@ipfire.org>
Tue, 7 Jan 2014 10:41:19 +0000 (11:41 +0100)
html/html/themes/ipfire/include/css/style.css

index 02b3fed3e1188ff810bdbb4c9b97440c36423ccf..80221b736cd5fe5cb21d7a646c772326c0b45948 100644 (file)
@@ -16,6 +16,56 @@ html {
        height: 100%;
 }
 
+/* This decorates all tables with class="table" */
+
+table {
+       *border-collapse: collapse; /* IE7 and lower */
+       border-spacing: 0;
+}
+
+.tbl th{
+       color: #000000;
+       font-size: 14px;
+       border-top: 1px solid grey;
+       border-bottom: 1px solid grey;
+       background: #cccccc;
+}
+.tbl th:first-child{
+       border-left: 1px solid grey;
+       border-top: 1px solid grey;
+       border-bottom: 1px solid grey;
+}
+.tbl th:last-child {
+       border-right: 1px solid grey;
+       border-top: 1px solid grey;
+       border-bottom: 1px solid grey;
+}
+.tbl th:only-child{
+       border: 1px solid grey;
+}
+
+.tbl tr td:first-child{
+       border-left: 1px solid grey;
+}
+.tbl tr td:last-child{
+       border-right: 1px solid grey;
+}
+.tbl tr:first-child td:only-child{
+       border-top: 1px solid grey;
+}
+.tbl tr:last-child td:only-child{
+       border-bottom: 1px solid grey;
+}
+.tbl tr:last-child td:first-child{
+       border-bottom: 1px solid grey;
+}
+.tbl tr:last-child td:last-child{
+       border-bottom: 1px solid grey;
+}
+.tbl tr:last-child td{
+       border-bottom: 1px solid grey;
+}
+
 body {
        /* SVG as background image (IE9/Chrome/Safari/Opera) */
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc2ODQiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMTAwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjMDAwMDAwIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjODgwNDAwIiBvZmZzZXQ9IjU3JSIvPgo8L2xpbmVhckdyYWRpZW50Pgo8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2c2ODQpIiAvPgo8L3N2Zz4=);
@@ -58,6 +108,7 @@ body {
        font-family: "trebuchet ms", helvetica, sans-serif;
 }
 
+
 h1, h2, h3, h4, h5, h6 {
        font-size: 20px;
        font-weight: normal;