Просмотр файла table.css

Размер файла: 1.06Kb
html, body{
	padding:0;
	margin:0;
	position:relative;
	background:#282828;
	color:#ddd;
	font-family:Georgia, "Times New Roman", Times, serif;
}

#container{
	width:960px;
	margin:0 auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
	width:100%;
}

.zebra {
    border: solid #555 1px;
}

.zebra td {
    border-left: 1px solid #555;
    border-top: 1px solid #555;
    padding: 10px;
    text-align: left;    
}

.zebra th {
    border-left: 1px solid #555;
    padding: 20px;  
    background-color: #333;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#232323), to(#333));
    background-image: -webkit-linear-gradient(top, #232323, #333);
    background-image:    -moz-linear-gradient(top, #232323, #333);
    background-image:     -ms-linear-gradient(top, #232323, #333);
    background-image:      -o-linear-gradient(top, #232323, #333);
    background-image:         linear-gradient(top, #232323, #333);
	border-bottom:#555 1px solid;
}

.zebra tbody tr:nth-child(even) {
    background: #333;
}

.alteven {
	background: #333;
}