blob: b4ea35e2c3ee04ffc6df3d099ddf8a700560689c [file] [log] [blame]
Jon West60d01562019-08-22 19:13:06 -04001.box-table table{
2 border-collapse:collapse;
3 text-align:left;
4 width:100%;
5 margin:0;
6 padding:0;
7 background:#7f8c8d;
8 animation: responsive 5s infinite ease-in-out;
9}
10.box-table{
11 font:normal 12px/150% Arial, Helvetica, sans-serif;
12 overflow:hidden;
13 margin:0 auto;
14 display:block;
15 width:95%;
16 padding:2.5%;
17}
18.box-table table thead th{
19 background-color:#7f8c8d;
20 color:#bdc3c7;
21 text-align:center;
22 padding: 0.75em;
23 font-family: 'Vollkorn', serif;
24 font-weight: bold;
25 font-size: 1.5em;
26 height: 1.5em;
27 vertical-align: top;
28 border-left:0.25em double #95a5a6;
29
30}
31.box-table table tbody td,
32.box-table table tbody tr{
33 font-family: 'Vollkorn', serif;
34 font-size:1em;
35 border:none;
36 padding:1em;
37}
38.box-table table tbody tr:nth-child(odd){
39 background:#ecf0f1;
40 color:#95a5a6;
41}
42.box-table table tbody tr:nth-child(even){
43 background:#bdc3c7;
44 color:#7f8c8d;
45}
46.box-table table tbody tr a{
47 text-decoration:none;
48 color:#e67e22;
49}
50.box-table table tbody tr a:hover{
51 color:#d35400;
52}
53.box-table .user-photo{
54 background:#bdc3c7;
55}
56.box-table .user-tumb{
57 width:6em;
58 height:6em;
59 padding:0;
60 display:table-cell;
61 text-align:center;
62 margin:0 auto;
63 -webkit-border-radius:100%;
64 -moz-border-radius:100%;
65 border-radius:100%;
66}
67
68#content{
69 width:100%;
70 padding: 5px;
71 overflow:hidden;
72 display: flex;
73 flex-wrap: wrap;
74 justify-content: center;
75 align-items: center;}
76#event{
77 width: 208.6px;
78 float: left;
79 text-align: center;
80 padding: 10px;
81 margin: 5px 5px 5px 5px;
82 display: inline-table;}
83#container{ /* center for demo only */
84 max-width:725px;
85 width:100%;
86 overflow:hidden;
87 position:absolute;
88 top:50%;
89 left:50%;
90 margin-right:-50%;
91 transform:translate(-50%, -50%);}
92.image{
93 width:200px;
94 padding-bottom:5px;
95 border-radius:50%;}
96/* = Responsive table
97------------------------*/
98
99/* http://elvery.net/demo/responsive-tables/ */
100@media only screen and (max-width: 800px){
101 .box-table table{
102 width:100%;
103 border-collapse:collapse;
104 border-spacing:0;
105 }
106 .box-table th,
107 .box-table td{
108 margin:0;
109 vertical-align:top;
110 }
111 .box-table th{
112 text-align:left;
113 }
114 .box-table table{
115 display:block;
116 position:relative;
117 width:100%;
118 }
119 .box-table thead{
120 display:block;
121 float:left;
122 }
123 .box-table tbody{
124 display:block;
125 width:auto;
126 position:relative;
127 overflow-x:auto;
128 white-space:nowrap;
129 }
130 .box-table thead tr{
131 display:block;
132 }
133 .box-table th{
134 display:block;
135 text-align:right;
136 }
137 .box-table tbody tr{
138 display:inline-block;
139 vertical-align:top;
140 }
141 .box-table td{
142 display:block;
143 min-height:1.25em;
144 text-align:left;
145 }
146 .box-table th{
147 border-bottom:0;
148 border-left:0;
149 }
150 .box-table td{
151 border-left:0;
152 border-right:0;
153 border-bottom:0;
154 }
155}
156/* = Error
157------------------------*/
158.error_table {
159 display: block;
160 background: #E05E5E;
161 color: #D1D1D1;
162 font-family: 'Vollkorn', serif;
163 text-align: center;
164 font-size: 3em;
165 width: 90%;
166 padding: 5%;
167}
168/* = Loader
169------------------------*/
170.loading_table{
171 background:#d35400;
172 color:#ecf0f1;
173 font-family: 'Vollkorn', serif;
174 text-align: center;
175 font-size: 1em;
176 width: 0;
177 display: block;
178 overflow: hidden;
179 height: 1em;
180 /*padding:0.5em; */
181 animation: table_loader 10s infinite ease;
182}
183@keyframes table_loader{50%{width:100%}}
184@-webkit-keyframes table_loader{50%{width:100%}}
185@-moz-keyframes table_loader{50%{width:100%}}
186@-ms-keyframes table_loader{50%{width:100%}}
187@-o-keyframes table_loader{ 50%{width:100%}}