From: Michael Tremer Date: Wed, 8 Jan 2014 14:07:42 +0000 (+0100) Subject: theme: Fix CSS coding style. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=4c2910e91b036dbb58109681bed0facd49cb3f26 theme: Fix CSS coding style. --- 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; }