-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsfdesign.css
111 lines (97 loc) · 1.99 KB
/
newsfdesign.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100);
body{
background-image: url(background5.png)
}
#title {
font-family: 'Roboto', sans-serif;
text-align: center;
}
#filter {
font-family: 'Roboto', sans-serif;
text-align:left;
font-size: 15px;
}
table {
text-shadow: 0 1px 0 #fff;
background: #f5f5f5;
border-collapse: separate;
box-shadow: inset 0 1px 0 #fff;
line-height: 24px;
margin: 30px auto;
text-align: left;
width: 1200px;
}
th.head {
background: linear-gradient(#777, #444);
border-left: 1px solid #555;
border-right: 1px solid #777;
border-top: 1px solid #555;
border-bottom: 1px solid #333;
box-shadow: inset 0 1px 0 #999;
color: #fff;
font-weight: bold;
padding: 10px 15px;
position: relative;
text-shadow: 0 1px 0 #000;
text-align: center;
font-size: 17px;
}
th:after {
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.08));
display: block;
height: 25%;
left: 0;
margin: 1px 0 0 0;
position: absolute;
top: 25%;
width: 100%;
}
th:first-child {
border-left: 1px solid #777;
box-shadow: inset 1px 1px 0 #999;
}
th:last-child {
box-shadow: inset -1px 1px 0 #999;
}
td {
border-right: 1px solid #fff;
border-left: 1px solid #e8e8e8;
border-top: 1px solid #fff;
border-bottom: 1px solid #e8e8e8;
padding: 10px 15px;
position: relative;
transition: all 300ms;
font-size: bold;
font-size: 14px;
text-align: center;
}
td:first-child {
box-shadow: inset 1px 0 0 #fff;
}
td:last-child {
border-right: 1px solid #e8e8e8;
box-shadow: inset -1px 0 0 #fff;
}
tr:nth-child(odd) td {
background:#F3E0E6;
}
tr:nth-child(even) td {
background: white;
}
tr:last-of-type td {
box-shadow: inset 0 -1px 0 #fff;
}
tr:last-of-type td:first-child {
box-shadow: inset 1px -1px 0 #fff;
}
tr:last-of-type td:last-child {
box-shadow: inset -1px -1px 0 #fff;
}
tbody:hover td {
color: transparent;
text-shadow: 0 0 3px #aaa;
}
tbody:hover tr:hover td {
color: #444;
text-shadow: 0 1px 0 #fff;
}