[PATCH] improvements to aesthetics for table display

Shawn Wells shawn at redhat.com
Wed Apr 10 13:17:43 UTC 2013


On 4/10/13 9:06 AM, Jeffrey Blank wrote:
> ---
>   RHEL6/transforms/table-style.xslt |   12 +++++++++---
>   1 files changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/RHEL6/transforms/table-style.xslt b/RHEL6/transforms/table-style.xslt
> index b2fcb80..b099adc 100644
> --- a/RHEL6/transforms/table-style.xslt
> +++ b/RHEL6/transforms/table-style.xslt
> @@ -9,16 +9,22 @@
>   		{
>   			border-collapse:collapse;
>   		}
> -		table,th, td
> +		table, th, td
>   		{
> -			border: 1px solid black;
> +			border: 2px solid #dcdcdc;
> +			border-left: none;
> +			border-right: none;
>   			vertical-align: top;
> -			padding: 3px;
> +			padding: 2px;
> +			font-family: verdana,arial,sans-serif;
> +			font-size:11px;
>   		}
> +		table tr:nth-child(2n+2) { background-color: #f4f4f4; }
>   		thead
>   		{
>   			display: table-header-group;
>   			font-weight: bold;
> +			background-color: #dedede;
>   		}
>   	</style>
>   </xsl:template>
Ack


More information about the scap-security-guide mailing list