Changeset b13f93b for styles/globals.scss
- Timestamp:
- 07/03/22 22:59:15 (2 years ago)
- Branches:
- main
- Children:
- 3a783f2
- Parents:
- ace7865
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
styles/globals.scss
race7865 rb13f93b 57 57 margin: auto; 58 58 margin-top: 20px; 59 60 position: relative; 61 z-index: 5; 59 62 60 63 .logo { … … 179 182 */ 180 183 .notification { 184 z-index: 30; 185 181 186 position: fixed; 182 187 top: 40px; … … 322 327 background: linear-gradient(to right, #0B932E, #097625); 323 328 color: #ead24d; 329 330 z-index: 10; 324 331 } 325 332 … … 631 638 } 632 639 633 .blackjackCards { 634 .card { 635 aspect-ratio: 400/560; 636 height: 150px; 637 638 background-size: contain; 639 640 position: absolute; 641 642 transition: .5s ease-in-out; 643 644 border-radius: 10px; 645 646 border: 1px solid black; 647 } 640 .card { 641 aspect-ratio: 400/560; 642 height: 150px; 643 644 background-size: contain; 645 646 position: absolute; 647 648 transition: .5s ease-in-out; 649 650 border-radius: 10px; 651 652 border: 1px solid black; 648 653 } 649 654 … … 923 928 */ 924 929 .pokerMainContainer { 930 .pokerPickATableContainer { 931 position: absolute; 932 left: 0; 933 top: 0; 934 width: 100vw; 935 height: 100vh; 936 937 background-color: #111; 938 939 display: flex; 940 flex-direction: column; 941 justify-content: center; 942 align-items: center; 943 gap: 5rem; 944 945 .createATable { 946 &>input { 947 margin-bottom: 2rem; 925 948 926 } 949 padding-left: 4px; 950 padding-right: 4px; 951 952 font-size: 1.5rem; 953 954 margin-right: 1rem; 955 956 border-radius: .5rem; 957 } 958 } 959 960 &>div:not(.createATable) { 961 &>h3 { 962 margin-bottom: 1rem; 963 } 964 965 &>div { 966 display: flex; 967 flex-direction: column; 968 align-items: center; 969 gap: 2rem; 970 971 width: 100vw; 972 max-height: 45vh; 973 padding-block: 2rem; 974 975 overflow-x: hidden; 976 overflow-y: scroll; 977 978 &>div { 979 box-shadow: 0 5px 25px #4d99eaaa; 980 981 width: 60vw; 982 983 padding: 1rem 3rem; 984 border-radius: .5rem; 985 986 cursor: pointer; 987 988 display: grid; 989 grid-template-columns: repeat(4, minmax(0, 1fr)); 990 place-items: center; 991 992 transition: all .2s ease-out; 993 994 &:hover { 995 transform: scale(1.05); 996 box-shadow: 0 10px 35px #4d99eaaa; 997 } 998 } 999 } 1000 } 1001 } 1002 1003 .pokerChairsContainer { 1004 .pokerChair { 1005 position: absolute; 1006 1007 transform: translate(-50%, -50%); 1008 1009 width: 110px; 1010 aspect-ratio: 1; 1011 1012 border-radius: 50%; 1013 1014 border: 5px solid #ead24daa; 1015 background-color: black; 1016 1017 display: grid; 1018 place-items: center; 1019 1020 font-size: .8rem; 1021 1022 &.onTurn { 1023 border: 5px solid #ead24d; 1024 } 1025 1026 &.folded { 1027 border: 5px solid rgba(71, 64, 24, 0.667); 1028 } 1029 1030 &>div { 1031 p { 1032 margin-block: 2px; 1033 } 1034 } 1035 1036 .pokerPlayerCardsContainer { 1037 position: relative; 1038 1039 &>div { 1040 position: absolute; 1041 top: -2vh; 1042 1043 transform: translate(-50%, -50%); 1044 1045 display: flex; 1046 1047 .card { 1048 height: 80px; 1049 1050 margin-inline: -1rem; 1051 1052 position: relative; 1053 1054 &:first-child { 1055 transform: rotateZ(-5deg); 1056 } 1057 1058 &:last-child { 1059 transform: rotateZ(5deg); 1060 } 1061 } 1062 } 1063 } 1064 } 1065 } 1066 1067 .pokerPlayButtonsContainer { 1068 position: absolute; 1069 top: 59vh; 1070 left: 50vw; 1071 1072 transform: translate(-50%, -50%); 1073 1074 display: flex; 1075 justify-content: center; 1076 gap: 1rem; 1077 1078 button { 1079 min-width: 110px; 1080 } 1081 } 1082 1083 .cardsInTheMiddleContainer { 1084 position: absolute; 1085 top: 45vh; 1086 left: 50vw; 1087 1088 transform: translate(-50%, -50%); 1089 1090 display: flex; 1091 justify-content: center; 1092 1093 .card { 1094 height: 130px; 1095 1096 position: relative; 1097 margin-inline: 2px; 1098 } 1099 } 1100 1101 .pokerMessagesContainer { 1102 position: absolute; 1103 top: 5vh; 1104 left: 50vw; 1105 1106 transform: translateX(-50%); 1107 1108 &>p:first-child { 1109 font-style: italic; 1110 color: #c1fbaa; 1111 } 1112 1113 &>p:not(:first-child):not(:last-child) { 1114 font-size: 1.2rem; 1115 margin-top: 1rem; 1116 } 1117 1118 &>p:last-child { 1119 margin-top: .5rem; 1120 color: #ccc; 1121 } 1122 } 1123 }
Note:
See TracChangeset
for help on using the changeset viewer.