File tree Expand file tree Collapse file tree 2 files changed +65
-1
lines changed
Expand file tree Collapse file tree 2 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
6+ < title > tutorcruncher-socket</ title >
7+ < style >
8+ @import url (https://fonts.googleapis.com/css?family=Open+Sans:400, 500 );
9+ body {
10+ background : # eee ;
11+ font-family : 'Open Sans' , sans-serif;
12+ }
13+ * {
14+ box-sizing : border-box; /* bootstrap does this on most sites. */
15+ }
16+ main {
17+ max-width : 800px ;
18+ margin : 20px auto;
19+ }
20+ main > div {
21+ background-color : white;
22+ border : 1px solid # aaa ;
23+ }
24+ </ style >
25+ </ head >
26+ < body >
27+ < main >
28+ < p > < a href ="https://github.com/tutorcruncher/socket-frontend "> github.com/tutorcruncher/socket-frontend</ a > </ p >
29+ < p > < a href ="/ "> back to index</ a > </ p >
30+ < p > simple socket view:</ p >
31+ < div id ="socket "> </ div >
32+ </ main >
33+ </ body >
34+ < script >
35+ window . socket = socket ( '9c79f14df986a1ec693c' )
36+ </ script >
37+ </ html >
Original file line number Diff line number Diff line change @@ -46,8 +46,35 @@ $box-height: 186px;
4646
4747.tcs-list-extra {
4848 display : grid ;
49- grid-template-rows : 100 px 1fr auto ;
49+ grid-template-rows : auto 1fr ;
5050 .tcs-stars {
5151 grid-row : span 2 ;
5252 }
5353}
54+
55+ @media (max-width : 600px ) {
56+ .tcs-list {
57+ .tcs-item {
58+ grid-template-columns : $dft-image-size auto ;
59+ }
60+ .tcs-primary-description {
61+ display : none ;
62+ }
63+ h3 .tcs-name {
64+ font-size : 20px ;
65+ }
66+ .tcs-aside {
67+ font-size : 16px ;
68+ }
69+ }
70+ .tcs-image-col {
71+ grid-row : 1 / span 2 ;
72+ }
73+
74+ .tcs-list-extra {
75+ grid-template-rows : auto ;
76+ .tcs-stars {
77+ grid-row : span 1 ;
78+ }
79+ }
80+ }
You can’t perform that action at this time.
0 commit comments