diff options
Diffstat (limited to 'frontend/src/css/Maps.css')
| -rw-r--r-- | frontend/src/css/Maps.css | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/frontend/src/css/Maps.css b/frontend/src/css/Maps.css index 66e11c7..14eed05 100644 --- a/frontend/src/css/Maps.css +++ b/frontend/src/css/Maps.css | |||
| @@ -477,6 +477,7 @@ p>span.portal-count { | |||
| 477 | border: 0; | 477 | border: 0; |
| 478 | transition: background-color .1s; | 478 | transition: background-color .1s; |
| 479 | background-color: #2b2e46; | 479 | background-color: #2b2e46; |
| 480 | box-sizing: border-box; | ||
| 480 | } | 481 | } |
| 481 | 482 | ||
| 482 | .leaderboard-record>span:nth-child(1) { | 483 | .leaderboard-record>span:nth-child(1) { |
| @@ -508,12 +509,19 @@ p>span.portal-count { | |||
| 508 | display: grid; | 509 | display: grid; |
| 509 | grid-template-columns: 50% 50%; | 510 | grid-template-columns: 50% 50%; |
| 510 | place-items: left; | 511 | place-items: left; |
| 512 | box-sizing: border-box; | ||
| 513 | min-width: 0; | ||
| 514 | overflow: hidden; | ||
| 511 | } | 515 | } |
| 512 | 516 | ||
| 513 | .leaderboard-record>div>a>span { | 517 | .leaderboard-record>div>a>span { |
| 514 | display: flex; | 518 | display: flex; |
| 515 | place-items: center; | 519 | place-items: center; |
| 516 | height: 44px; | 520 | height: 44px; |
| 521 | min-width: 0; | ||
| 522 | overflow: hidden; | ||
| 523 | text-overflow: ellipsis; | ||
| 524 | white-space: nowrap; | ||
| 517 | } | 525 | } |
| 518 | 526 | ||
| 519 | .leaderboard-record>span>button { | 527 | .leaderboard-record>span>button { |
| @@ -858,6 +866,134 @@ p>span.portal-count { | |||
| 858 | border-bottom: 7px solid transparent; | 866 | border-bottom: 7px solid transparent; |
| 859 | } | 867 | } |
| 860 | 868 | ||
| 869 | @media screen and (min-width: 769px) and (max-width: 1024px) { | ||
| 870 | #section1 { | ||
| 871 | margin: 18px 0 0 0; | ||
| 872 | } | ||
| 873 | |||
| 874 | .nav-button { | ||
| 875 | height: 38px; | ||
| 876 | font-size: 17px; | ||
| 877 | } | ||
| 878 | |||
| 879 | #section2 { | ||
| 880 | margin: 36px 0 0 0; | ||
| 881 | gap: 2px; | ||
| 882 | } | ||
| 883 | |||
| 884 | #section2>.nav-button { | ||
| 885 | height: 45px; | ||
| 886 | font-size: 20px; | ||
| 887 | } | ||
| 888 | |||
| 889 | #section3 { | ||
| 890 | margin: 36px 0 0 0; | ||
| 891 | grid-template-columns: 1fr; | ||
| 892 | gap: 18px; | ||
| 893 | } | ||
| 894 | |||
| 895 | #category { | ||
| 896 | height: 320px; | ||
| 897 | width: 100%; | ||
| 898 | max-width: 100%; | ||
| 899 | } | ||
| 900 | |||
| 901 | #category>p { | ||
| 902 | font-size: 44px; | ||
| 903 | } | ||
| 904 | |||
| 905 | p>span.portal-count { | ||
| 906 | font-size: 88px; | ||
| 907 | } | ||
| 908 | |||
| 909 | #history { | ||
| 910 | width: 100%; | ||
| 911 | max-width: 100%; | ||
| 912 | } | ||
| 913 | |||
| 914 | #records { | ||
| 915 | height: 232px; | ||
| 916 | } | ||
| 917 | |||
| 918 | .record-top, | ||
| 919 | .record { | ||
| 920 | font-size: 17px; | ||
| 921 | } | ||
| 922 | |||
| 923 | #section4 { | ||
| 924 | grid-template-columns: 1fr 1fr; | ||
| 925 | gap: 18px; | ||
| 926 | margin: 36px 0 0 0; | ||
| 927 | } | ||
| 928 | |||
| 929 | #difficulty>span:nth-child(2) { | ||
| 930 | font-size: 36px; | ||
| 931 | } | ||
| 932 | |||
| 933 | #count>div { | ||
| 934 | font-size: 44px; | ||
| 935 | } | ||
| 936 | |||
| 937 | #section5 { | ||
| 938 | margin: 36px 0 18px 0; | ||
| 939 | } | ||
| 940 | |||
| 941 | #description { | ||
| 942 | min-height: 300px; | ||
| 943 | } | ||
| 944 | |||
| 945 | #description>iframe { | ||
| 946 | width: 100%; | ||
| 947 | max-width: 100%; | ||
| 948 | height: 250px; | ||
| 949 | margin: 20px 0; | ||
| 950 | padding: 0; | ||
| 951 | box-sizing: border-box; | ||
| 952 | } | ||
| 953 | |||
| 954 | #description>h3 { | ||
| 955 | font-size: 2.2rem; | ||
| 956 | } | ||
| 957 | |||
| 958 | #description-text { | ||
| 959 | font-size: 19px; | ||
| 960 | } | ||
| 961 | |||
| 962 | #section6 { | ||
| 963 | margin: 36px 0 18px 0; | ||
| 964 | min-height: 540px; | ||
| 965 | } | ||
| 966 | |||
| 967 | #leaderboard-top { | ||
| 968 | font-size: 18px; | ||
| 969 | padding-left: 50px; | ||
| 970 | } | ||
| 971 | |||
| 972 | .leaderboard-record { | ||
| 973 | font-size: 18px; | ||
| 974 | padding: 0 0 0 50px; | ||
| 975 | grid-template-columns: 4% 5% 38% 5% 4% 14% 14% 16%; | ||
| 976 | } | ||
| 977 | |||
| 978 | .leaderboard-record>div>a>span>img { | ||
| 979 | height: 32px; | ||
| 980 | } | ||
| 981 | |||
| 982 | #section7 { | ||
| 983 | margin: 36px 0 18px 0; | ||
| 984 | } | ||
| 985 | |||
| 986 | #discussion-search>input, | ||
| 987 | #discussion-send>input { | ||
| 988 | font-size: 18px; | ||
| 989 | } | ||
| 990 | |||
| 991 | #discussion-thread>div:nth-child(2) { | ||
| 992 | font-size: 18px; | ||
| 993 | max-height: 460px; | ||
| 994 | } | ||
| 995 | } | ||
| 996 | |||
| 861 | @media screen and (max-width: 1480px) { | 997 | @media screen and (max-width: 1480px) { |
| 862 | #section3.summary1 { | 998 | #section3.summary1 { |
| 863 | grid-template-columns: auto; | 999 | grid-template-columns: auto; |