From 4c2910e91b036dbb58109681bed0facd49cb3f26 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 8 Jan 2014 15:07:42 +0100 Subject: [PATCH] theme: Fix CSS coding style. --- html/html/themes/ipfire/include/css/style.css | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/html/html/themes/ipfire/include/css/style.css b/html/html/themes/ipfire/include/css/style.css index 80221b736..44ab46a46 100644 --- a/html/html/themes/ipfire/include/css/style.css +++ b/html/html/themes/ipfire/include/css/style.css @@ -16,53 +16,62 @@ html { height: 100%; } -/* This decorates all tables with class="table" */ +/* This decorates all tables with class="tbl" */ table { *border-collapse: collapse; /* IE7 and lower */ border-spacing: 0; } -.tbl th{ +.tbl th { color: #000000; font-size: 14px; border-top: 1px solid grey; border-bottom: 1px solid grey; background: #cccccc; } -.tbl th:first-child{ + +.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{ + +.tbl th:only-child { border: 1px solid grey; } -.tbl tr td:first-child{ +.tbl tr td:first-child { border-left: 1px solid grey; } -.tbl tr td:last-child{ + +.tbl tr td:last-child { border-right: 1px solid grey; } -.tbl tr:first-child td:only-child{ + +.tbl tr:first-child td:only-child { border-top: 1px solid grey; } -.tbl tr:last-child td:only-child{ + +.tbl tr:last-child td:only-child { border-bottom: 1px solid grey; } -.tbl tr:last-child td:first-child{ + +.tbl tr:last-child td:first-child { border-bottom: 1px solid grey; } -.tbl tr:last-child td:last-child{ + +.tbl tr:last-child td:last-child { border-bottom: 1px solid grey; } -.tbl tr:last-child td{ + +.tbl tr:last-child td { border-bottom: 1px solid grey; } -- 2.39.2