|
| 1 | +@font-face { |
| 2 | + font-family: 'DragonBallFighterz-Regular'; |
| 3 | + src: url('fonts/DragonBallFighterz-Regular.otf') format('opentype'); |
| 4 | + font-weight: normal; |
| 5 | + font-style: normal; |
| 6 | +} |
| 7 | + |
| 8 | +@font-face { |
| 9 | + font-family: 'ProbaPro-Regular'; |
| 10 | + src: url('fonts/ProbaPro-Regular.otf') format('opentype'); |
| 11 | + font-weight: normal; |
| 12 | + font-style: normal; |
| 13 | +} |
| 14 | + |
| 15 | +:root { |
| 16 | + --dbfz-color-white: #ffffff; |
| 17 | + --dbfz-color-yellow: #ffba00; |
| 18 | +} |
| 19 | + |
| 20 | +.dbfz-text-primary { |
| 21 | + text-shadow: 0.1em 0.1em black; |
| 22 | + color: var(--dbfz-color-white); |
| 23 | +} |
| 24 | + |
| 25 | +.dbfz-text-secondary { |
| 26 | + font-family: "ProbaPro-Regular"; |
| 27 | + text-shadow: 0.1em 0.1em black; |
| 28 | + color: var(--dbfz-color-white); |
| 29 | +} |
| 30 | + |
| 31 | +.dbfz-color-white { |
| 32 | + color: var(--dbfz-color-white); |
| 33 | +} |
| 34 | + |
| 35 | +.dbfz-color-yellow { |
| 36 | + color: var(--dbfz-color-yellow); |
| 37 | +} |
| 38 | + |
| 39 | +.dbfz-window { |
| 40 | + font-size: 200%; |
| 41 | + position: relative; |
| 42 | + padding: 6px; |
| 43 | + animation: dbfz-window 0.5s; |
| 44 | +} |
| 45 | + |
| 46 | +@keyframes dbfz-window { |
| 47 | + from { |
| 48 | + margin-top: -4em; |
| 49 | + opacity: 0; |
| 50 | + } |
| 51 | + to { |
| 52 | + margin-top: 0; |
| 53 | + opacity: 1; |
| 54 | + } |
| 55 | +} |
| 56 | + |
| 57 | +.dbfz-window:before { |
| 58 | + content: ""; |
| 59 | + position: absolute; |
| 60 | + top: 0; |
| 61 | + left: 0; |
| 62 | + bottom: 0; |
| 63 | + right: 0; |
| 64 | + border-style: solid; |
| 65 | + border-width: 6px; |
| 66 | + border-image: url("images/DBFZ/CmnMenu/tex/window_bg_01.png") 6 fill stretch; |
| 67 | + z-index: -4; |
| 68 | +} |
| 69 | + |
| 70 | +.dbfz-window:after { |
| 71 | + content: ""; |
| 72 | + position: absolute; |
| 73 | + top: 0; |
| 74 | + left: 0; |
| 75 | + bottom: 0; |
| 76 | + right: 0; |
| 77 | + background-image: url("images/DBFZ/CmnMenu/tex/window_bg_02.png"); |
| 78 | + background-repeat: repeat; |
| 79 | + background-size: 14px 918px; |
| 80 | + z-index: -3; |
| 81 | +} |
| 82 | + |
| 83 | +.dbfz-window-orange:before { |
| 84 | + border-image: url("images/DBFZ/CmnMenu/tex/window_bg_01_orange.png") 6 fill stretch; |
| 85 | +} |
| 86 | + |
| 87 | +.dbfz-window-title { |
| 88 | + position: relative; |
| 89 | + width: 100%; |
| 90 | + margin: 0; |
| 91 | +} |
| 92 | + |
| 93 | +.dbfz-window-title:before { |
| 94 | + content: ""; |
| 95 | + position: absolute; |
| 96 | + left: 0; |
| 97 | + right: 0; |
| 98 | + top: 0; |
| 99 | + bottom: 0; |
| 100 | + margin: 0 3px; |
| 101 | + background-image: url("images/DBFZ/CmnMenu/tex/window_title_00.png"); |
| 102 | + background-size: 100% 100%; |
| 103 | + background-repeat: no-repeat; |
| 104 | + z-index: -2; |
| 105 | +} |
| 106 | + |
| 107 | +.dbfz-window-title:after { |
| 108 | + content: ""; |
| 109 | + position: absolute; |
| 110 | + left: -64px; |
| 111 | + top: -40px; |
| 112 | + width: 256px; |
| 113 | + height: 128px; |
| 114 | + background-image: url("images/DBFZ/CmnMenu/tex/window_title_01.png"); |
| 115 | + background-repeat: no-repeat; |
| 116 | + background-size: contain; |
| 117 | + z-index: -1; |
| 118 | +} |
| 119 | + |
| 120 | +.dbfz-selected { |
| 121 | + position: relative; |
| 122 | + color: var(--dbfz-color-white); |
| 123 | + --margin-left: 2em; |
| 124 | +} |
| 125 | + |
| 126 | +.dbfz-selected:before { |
| 127 | + content: ""; |
| 128 | + position: absolute; |
| 129 | + top: 0; |
| 130 | + left: 0; |
| 131 | + bottom: 0; |
| 132 | + right: 0; |
| 133 | + margin-left: -0.5em; |
| 134 | + margin-right: -0.5em; |
| 135 | + background-image: url("images/DBFZ/CmnMenu/tex/window_arrow_key_01.png"); |
| 136 | + background-size: 100% 100%; |
| 137 | + background-repeat: no-repeat; |
| 138 | + z-index: -1; |
| 139 | + animation: dbfz-selected 0.9s infinite alternate; |
| 140 | +} |
| 141 | + |
| 142 | +@keyframes dbfz-selected { |
| 143 | + 0% { opacity: 0.5; } |
| 144 | + 100% { opacity: 1; } |
| 145 | +} |
| 146 | + |
| 147 | +.dbfz-selected:after { |
| 148 | + content: ""; |
| 149 | + position: absolute; |
| 150 | + left: 0; |
| 151 | + top: 0; |
| 152 | + width: 2em; |
| 153 | + height: 2em; |
| 154 | + margin-left: -2em; |
| 155 | + margin-top: -0.375em; |
| 156 | + background-image: url("images/DBFZ/CmnMenu/tex/window_arrow_key_00.png"); |
| 157 | + background-repeat: repeat; |
| 158 | + background-size: contain; |
| 159 | +} |
0 commit comments