@@ -718,13 +718,16 @@ nav {
718
718
justify-content : flex-end ;
719
719
margin-top : -50px ; // -height (without 5px for translateY)
720
720
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
722
723
723
724
.schedule-tab {
724
725
font-weight : bold ;
725
726
padding : 10px 20px ;
726
727
height : 50px ;
727
- margin-left : 20px ;
728
+ & :not (:first-child ) {
729
+ margin-left : 20px ;
730
+ }
728
731
border-top-left-radius : $img-border-radius ;
729
732
border-top-right-radius : $img-border-radius ;
730
733
user-select : none ;
@@ -798,38 +801,41 @@ nav {
798
801
padding-bottom : 20px ;
799
802
}
800
803
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
+ }
810
810
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 ;
815
822
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 ;
821
826
}
822
827
823
- .hide-full-schedule {
824
- display : none ;
828
+ i {
829
+ color : $red ;
830
+ font-size : 2em ;
831
+ margin-left : 10px ;
825
832
}
833
+ }
826
834
827
- .events {
828
- height : 370px ;
829
- padding-bottom : 10px ;
830
- overflow : hidden ;
831
- }
835
+ .hide-full-schedule {
836
+ display : none ;
832
837
}
838
+
833
839
}
834
840
835
841
.schedule-content {
@@ -1569,48 +1575,63 @@ footer {
1569
1575
width : 100% ;
1570
1576
}
1571
1577
1572
- #schedule-tapes {
1578
+ #schedule-tabs {
1573
1579
justify-content : center ;
1580
+ padding-right : 0 ;
1574
1581
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
+ }
1578
1591
}
1579
1592
}
1580
1593
1581
- #schedule-content {
1594
+ #binder-container {
1595
+ display : none ;
1596
+ }
1597
+
1598
+ .schedule-content {
1582
1599
flex-direction : column ;
1583
1600
padding : 20px ;
1601
+ align-items : center ;
1584
1602
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
+ }
1595
1607
1596
- .name {
1597
- font-size : 1.5em ;
1598
- }
1608
+ .number {
1609
+ font-size : 4em ;
1599
1610
}
1600
1611
}
1601
1612
1602
- .events {
1603
- width : auto ;
1613
+ .day-row {
1614
+ flex-direction : column ;
1615
+ width : 100% ;
1616
+ }
1604
1617
1605
- .event {
1606
- padding : 5 px ;
1618
+ .events {
1619
+ width : 90 % ;
1607
1620
1608
- .title {
1609
- font-size : 1em ;
1610
- }
1621
+ .event .title {
1622
+ font-size : 1em ;
1611
1623
}
1612
1624
}
1625
+
1626
+ }
1627
+
1628
+ #schedule-content-wrapper {
1629
+ .show-full-schedule , .hide-full-schedule {
1630
+ justify-content : center ;
1631
+ margin : 0 auto ;
1632
+ }
1613
1633
}
1634
+
1614
1635
}
1615
1636
1616
1637
#prizes #prizes-wrapper {
@@ -1675,7 +1696,7 @@ footer {
1675
1696
@media screen and (max-width : 650px ) {
1676
1697
1677
1698
.section-pad {
1678
- padding : 20 px ;
1699
+ padding : 10 px ;
1679
1700
}
1680
1701
1681
1702
#hero {
@@ -1732,6 +1753,22 @@ footer {
1732
1753
}
1733
1754
}
1734
1755
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
+
1735
1772
#faq #faq-wrapper {
1736
1773
// Only center the "contact" string in the FAQ
1737
1774
a {
0 commit comments