@@ -718,13 +718,16 @@ nav {
718718 justify-content : flex-end ;
719719 margin-top : -50px ; // -height (without 5px for translateY)
720720 position : absolute ;
721- width : 95% ; // tabs have room on border radius of schedule block
721+ width : 100% ;
722+ padding-right : 30px ; // tabs have room on border radius of schedule block
722723
723724 .schedule-tab {
724725 font-weight : bold ;
725726 padding : 10px 20px ;
726727 height : 50px ;
727- margin-left : 20px ;
728+ & :not (:first-child ) {
729+ margin-left : 20px ;
730+ }
728731 border-top-left-radius : $img-border-radius ;
729732 border-top-right-radius : $img-border-radius ;
730733 user-select : none ;
@@ -798,38 +801,41 @@ nav {
798801 padding-bottom : 20px ;
799802 }
800803
801- .show-full-schedule , .hide-full-schedule {
802- bottom : 0 ;
803- text-align : right ;
804- margin-right : 20% ; // TODO: make more aligned with right of events
805- padding-bottom : 40px ;
806- display : flex ;
807- justify-content : flex-end ;
808- align-items : center ;
809- cursor : pointer ;
804+ .events {
805+ height : 370px ;
806+ padding-bottom : 10px ;
807+ overflow : hidden ;
808+ }
809+ }
810810
811- p {
812- font-size : 1.3em ;
813- user-select : none ;
814- }
811+ // Part of the above content ids
812+ // but specificity is counterproductive to mobile styling
813+ .show-full-schedule , .hide-full-schedule {
814+ bottom : 0 ;
815+ text-align : right ;
816+ margin-right : 20% ; // TODO: make more aligned with right of events
817+ padding-bottom : 40px ;
818+ display : flex ;
819+ justify-content : flex-end ;
820+ align-items : center ;
821+ cursor : pointer ;
815822
816- i {
817- color : $red ;
818- font-size : 2em ;
819- margin-left : 10px ;
820- }
823+ p {
824+ font-size : 1.3em ;
825+ user-select : none ;
821826 }
822827
823- .hide-full-schedule {
824- display : none ;
828+ i {
829+ color : $red ;
830+ font-size : 2em ;
831+ margin-left : 10px ;
825832 }
833+ }
826834
827- .events {
828- height : 370px ;
829- padding-bottom : 10px ;
830- overflow : hidden ;
831- }
835+ .hide-full-schedule {
836+ display : none ;
832837 }
838+
833839 }
834840
835841 .schedule-content {
@@ -1569,48 +1575,63 @@ footer {
15691575 width : 100% ;
15701576 }
15711577
1572- #schedule-tapes {
1578+ #schedule-tabs {
15731579 justify-content : center ;
1580+ padding-right : 0 ;
15741581
1575- .tape {
1576- margin-top : -10px ; // Half of tape height
1577- height : 20px ;
1582+ .schedule-tab {
1583+ // Center tab is now always centered,
1584+ // prev. first and last tabs offset it
1585+ // because flex container has no set width
1586+ width : 130px ;
1587+
1588+ p {
1589+ text-align : center ;
1590+ }
15781591 }
15791592 }
15801593
1581- #schedule-content {
1594+ #binder-container {
1595+ display : none ;
1596+ }
1597+
1598+ .schedule-content {
15821599 flex-direction : column ;
15831600 padding : 20px ;
1601+ align-items : center ;
15841602
1585- #days {
1586- width : auto ;
1587- margin-top : 10px ;
1588- flex-direction : row ;
1589-
1590- .day {
1591- .number {
1592- font-size : 5em ;
1593- text-align : center ;
1594- }
1603+ .day {
1604+ .number , .name {
1605+ text-align : center ;
1606+ }
15951607
1596- .name {
1597- font-size : 1.5em ;
1598- }
1608+ .number {
1609+ font-size : 4em ;
15991610 }
16001611 }
16011612
1602- .events {
1603- width : auto ;
1613+ .day-row {
1614+ flex-direction : column ;
1615+ width : 100% ;
1616+ }
16041617
1605- .event {
1606- padding : 5 px ;
1618+ .events {
1619+ width : 90 % ;
16071620
1608- .title {
1609- font-size : 1em ;
1610- }
1621+ .event .title {
1622+ font-size : 1em ;
16111623 }
16121624 }
1625+
1626+ }
1627+
1628+ #schedule-content-wrapper {
1629+ .show-full-schedule , .hide-full-schedule {
1630+ justify-content : center ;
1631+ margin : 0 auto ;
1632+ }
16131633 }
1634+
16141635 }
16151636
16161637 #prizes #prizes-wrapper {
@@ -1675,7 +1696,7 @@ footer {
16751696@media screen and (max-width : 650px ) {
16761697
16771698 .section-pad {
1678- padding : 20 px ;
1699+ padding : 10 px ;
16791700 }
16801701
16811702 #hero {
@@ -1732,6 +1753,22 @@ footer {
17321753 }
17331754 }
17341755
1756+
1757+ #schedule {
1758+ #schedule-tabs .schedule-tab {
1759+ width : 80px ;
1760+ font-size : 0.8em ;
1761+
1762+ & :not (:first-child ) {
1763+ margin-left : 10px ;
1764+ }
1765+ }
1766+
1767+ .schedule-content .events {
1768+ width : 100% ;
1769+ }
1770+ }
1771+
17351772 #faq #faq-wrapper {
17361773 // Only center the "contact" string in the FAQ
17371774 a {
0 commit comments