-
Notifications
You must be signed in to change notification settings - Fork 2
/
tables.css
44 lines (36 loc) · 908 Bytes
/
tables.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
/*
https://css-tricks.com/responsive-data-tables/
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 1000px),
(min-device-width: 768px) and (max-device-width: 1024px) {
/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr { border: 0px solid #ccc; }
td {
/* Behave like a "row" */
border: none;
border-bottom: 0px solid #eee;
position: relative;
/*padding-left: 50%;*/
}
.project-bg {
width:250px;
height:250px;
margin: 10px;
}
.project-img {
width:200px;
}
}