File tree Expand file tree Collapse file tree 2 files changed +26
-5
lines changed
Expand file tree Collapse file tree 2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change 4343 h1 {
4444 line-height : 1em ;
4545 }
46- ul .sessionsList li {
47- padding-left : 0 ;
48- }
4946 .more_sessions {
5047 padding-left : 0 ;
5148 }
Original file line number Diff line number Diff line change @@ -195,21 +195,40 @@ div.sidebar-box {
195195 }
196196}
197197
198+ .column {
199+ container-type : inline-size ;
200+ }
201+
198202ul .sessionsList {
203+ display : grid ;
204+ grid-template-columns : 1fr 1fr ;
205+ column-gap : 4em ;
206+ row-gap : 0.5em ;
199207 margin : 0 ;
200208 padding : 0 ;
201209 padding-right : 2.2em ;
202210 list-style-type : none ;
203- @include columns (24em , 1em );
211+
212+ @container (max-width : 400px ) {
213+ grid-template-columns : 1fr ;
214+ padding-right : 3em ;
215+ }
216+
204217 li .attending {
205218 background : image-url (" minnebar.png" ) no-repeat 0 .1em ;
206219 }
207220 li {
208221 margin : 0.6em 0 ;
209222 padding-left : 2.2em ;
210223 padding-right : 1em ;
211- display : inline-block ; // prevent column break
224+ display : grid ; // prevent column break
225+ grid-template-columns : 8px auto ;
226+ grid-template-rows : auto 1fr ;
212227 width : 100% ;
228+
229+ @media screen and (max-width : 65em ) {
230+ padding-left : 2em ;
231+ }
213232 a {
214233 & :link , & :visited {
215234 font : 700 1.2em / 1.2em ;
@@ -221,6 +240,7 @@ ul.sessionsList {
221240 }
222241 }
223242 div .presenter {
243+ grid-area : 2 / 2 ;
224244 font-size : 0.95em ;
225245 color : #AAA ;
226246 a {
@@ -234,6 +254,10 @@ ul.sessionsList {
234254 }
235255 }
236256 }
257+
258+ @media screen and (max-width : 65em ) {
259+ grid-template-columns : 1fr ;
260+ }
237261}
238262
239263.toggle-attendance {
You can’t perform that action at this time.
0 commit comments