File: html-Table-RWD.html

package info (click to toggle)
easygen 5.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: sh: 14; makefile: 13
file content (182 lines) | stat: -rw-r--r-- 3,445 bytes parent folder | download | duplicates (3)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!doctype html>

<!--
    !!! !!!
    WARNING: Code automatically generated. Editing discouraged.
    !!! !!!

  -->

<html lang="en">
  <head>
    <meta charset="utf-8" />

    <style class="cp-pen-styles">@import "http://fonts.googleapis.com/css?family=Montserrat:300,400,700";
      .rwd-table {
      margin: 1em 0;
      min-width: 300px;
      }
      .rwd-table tr {
      border-top: 1px solid #ddd;
      border-bottom: 1px solid #ddd;
      }
      .rwd-table th {
      display: none;
      }
      .rwd-table td {
      display: block;
      }
      .rwd-table td:first-child {
      padding-top: .5em;
      }
      .rwd-table td:last-child {
      padding-bottom: .5em;
      }
      .rwd-table td:before {
      content: attr(data-th) ": ";
      font-weight: bold;
      width: 6.5em;
      display: inline-block;
      }
      @media (min-width: 480px) {
      .rwd-table td:before {
      display: none;
      }
      }
      .rwd-table th, .rwd-table td {
      text-align: left;
      }
      @media (min-width: 480px) {
      .rwd-table th, .rwd-table td {
      display: table-cell;
      padding: .25em .5em;
      }
      .rwd-table th:first-child, .rwd-table td:first-child {
      padding-left: 0;
      }
      .rwd-table th:last-child, .rwd-table td:last-child {
      padding-right: 0;
      }
      }

      body {
      padding: 0 2em;
      font-family: Montserrat, sans-serif;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      color: #444;
      background: #eee;
      }

      h1 {
      font-weight: normal;
      letter-spacing: -1px;
      color: #34495E;
      }

      .rwd-table {
      background: #34495E;
      color: #fff;
      border-radius: .4em;
      overflow: hidden;
      }
      .rwd-table tr {
      border-color: #46627f;
      }
      .rwd-table th, .rwd-table td {
      margin: .5em 1em;
      }
      @media (min-width: 480px) {
      .rwd-table th, .rwd-table td {
      padding: 1em !important;
      }
      }
      .rwd-table th, .rwd-table td:before {
      color: #dd5;
      }
    </style>
    
  </head>

  <body>



    <h2>Android Cell phones</h2>

    <table class="rwd-table">
      <tr>
	<th>Module A</th>
	<th>Module B</th>
	<th>Module C</th>
      </tr>

      <tr>
	<td>Samsung Galaxy A</td>
	<td>Samsung Galaxy B</td>
	<td>Samsung Galaxy C</td>
      </tr>
      <tr>
	<td>Droid X A</td>
	<td>Droid X B</td>
	<td>Droid X C</td>
      </tr>
      <tr>
	<td>HTC Desire A</td>
	<td>HTC Desire B</td>
	<td>HTC Desire C</td>
      </tr>
    </table>


    <h2>iPhone Cell phones</h2>

    <table class="rwd-table">
      <tr>
	<th>Module A</th>
	<th>Module B</th>
	<th>Module C</th>
      </tr>

      <tr>
	<td>Apple iPhone 4 A</td>
	<td>Apple iPhone 4 B</td>
	<td>Apple iPhone 4 C</td>
      </tr>
      <tr>
	<td>Apple iPhone 5 A</td>
	<td>Apple iPhone 5 B</td>
	<td>Apple iPhone 5 C</td>
      </tr>
      <tr>
	<td>Apple iPhone 6 A</td>
	<td>Apple iPhone 6 B</td>
	<td>Apple iPhone 6 C</td>
      </tr>
    </table>


    <h2>BlackBerry Cell phones</h2>

    <table class="rwd-table">
      <tr>
	<th>Module A</th>
	<th>Module B</th>
	<th>Module C</th>
      </tr>

      <tr>
	<td>BlackBerry Bold 9650 A</td>
	<td>BlackBerry Bold 9650 B</td>
	<td>BlackBerry Bold 9650 C</td>
      </tr>
      <tr>
	<td>BlackBerry 10 A</td>
	<td>BlackBerry 10 B</td>
	<td>BlackBerry 10 C</td>
      </tr>
    </table>
	
    
  </body>
</html>