Skip to content

Commit 2438e23

Browse files
Merge pull request #4 from 96RadhikaJadhav/Add-styling-to-input-table
Added styling to input table
2 parents cc9eceb + e5c5487 commit 2438e23

File tree

1 file changed

+96
-1
lines changed

1 file changed

+96
-1
lines changed

style.css

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
body {
88
margin: 10px 20px;
9+
color: #444;
10+
font: 100%/30px 'Helvetica Neue', helvetica, arial, sans-serif;
11+
text-shadow: 0 1px 0 #fff;
912
}
1013

1114
.instructions {
@@ -181,4 +184,96 @@ thead {
181184
transform: rotate(225deg);
182185
left: 40%;
183186
top: 20px;
184-
}
187+
}
188+
189+
strong {
190+
font-weight: bold;
191+
}
192+
193+
em {
194+
font-style: italic;
195+
}
196+
197+
table {
198+
background: #f5f5f5;
199+
border-collapse: separate;
200+
box-shadow: inset 0 1px 0 #fff;
201+
font-size: 12px;
202+
line-height: 24px;
203+
text-align: left;
204+
width: 800px;
205+
}
206+
207+
th {
208+
background: url(https://jackrugile.com/images/misc/noise-diagonal.png), linear-gradient(#777, #444);
209+
border-left: 1px solid #555;
210+
border-right: 1px solid #777;
211+
border-top: 1px solid #555;
212+
border-bottom: 1px solid #333;
213+
box-shadow: inset 0 1px 0 #999;
214+
color: #fff;
215+
font-weight: bold;
216+
padding: 10px 15px;
217+
position: relative;
218+
text-shadow: 0 1px 0 #000;
219+
}
220+
221+
th:after {
222+
background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.08));
223+
content: '';
224+
display: block;
225+
height: 25%;
226+
left: 0;
227+
margin: 1px 0 0 0;
228+
position: absolute;
229+
top: 25%;
230+
width: 100%;
231+
}
232+
233+
th:first-child {
234+
border-left: 1px solid #777;
235+
box-shadow: inset 1px 1px 0 #999;
236+
}
237+
238+
th:last-child {
239+
box-shadow: inset -1px 1px 0 #999;
240+
}
241+
242+
td {
243+
border-right: 1px solid #fff;
244+
border-left: 1px solid #e8e8e8;
245+
border-top: 1px solid #fff;
246+
border-bottom: 1px solid #e8e8e8;
247+
padding: 10px 15px;
248+
position: relative;
249+
transition: all 300ms;
250+
}
251+
252+
td:first-child {
253+
box-shadow: inset 1px 0 0 #fff;
254+
}
255+
256+
td:last-child {
257+
border-right: 1px solid #e8e8e8;
258+
box-shadow: inset -1px 0 0 #fff;
259+
}
260+
261+
tr {
262+
background: url(https://jackrugile.com/images/misc/noise-diagonal.png);
263+
}
264+
265+
tr:nth-child(odd) td {
266+
background: #f1f1f1 url(https://jackrugile.com/images/misc/noise-diagonal.png);
267+
}
268+
269+
tr:last-of-type td {
270+
box-shadow: inset 0 -1px 0 #fff;
271+
}
272+
273+
tr:last-of-type td:first-child {
274+
box-shadow: inset 1px -1px 0 #fff;
275+
}
276+
277+
tr:last-of-type td:last-child {
278+
box-shadow: inset -1px -1px 0 #fff;
279+
}

0 commit comments

Comments
 (0)