globals.css (4323B)
1 @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap"); 2 3 :root { 4 --background: #ffffff; 5 --foreground: #171717; 6 } 7 8 html, 9 body { 10 max-width: 100vw; 11 overflow-x: hidden; 12 } 13 14 body { 15 color: var(--foreground); 16 background: var(--background); 17 font-family: "Noto Sans JP", sans-serif; 18 font-optical-sizing: auto; 19 font-weight: 600; 20 font-style: normal; 21 line-height: 1.4; 22 } 23 24 * { 25 box-sizing: border-box; 26 padding: 0; 27 margin: 0; 28 } 29 30 a { 31 color: inherit; 32 text-decoration: none; 33 } 34 35 .table-container { 36 font-family: "Noto Sans JP", sans-serif; 37 font-optical-sizing: auto; 38 font-weight: 500; 39 font-style: normal; 40 font-size: 0.8rem; 41 position: fixed; 42 top: 55px; 43 left: 10px; 44 right: 10px; 45 width: auto; 46 min-width: 480px; 47 max-width: 900px; 48 padding: 10px; 49 overflow: auto; 50 z-index: 1000; 51 border-radius: 14px; 52 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 53 background-color: var(--background); 54 } 55 56 @media (max-width: 500px) { 57 .table-container { 58 border-radius: 14px; 59 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 60 width: 100vw; 61 max-width: calc(100vw - 20px); 62 min-width: 0; 63 } 64 } 65 66 .table-container h2 { 67 font-weight: 700; 68 font-size: 1.05rem; 69 padding: 2px 4px; 70 margin-bottom: 6px; 71 background: linear-gradient(to right, #000 0%, #444 65%, #fff 98%); 72 color: #fff; 73 } 74 75 .table-container h3 { 76 font-weight: 500; 77 font-size: 0.85rem; 78 margin-bottom: 3px; 79 } 80 81 .table-container h3.op, 82 .table-container h3.area, 83 .table-container h3.time { 84 position: relative; 85 padding-left: 38px; 86 } 87 88 .table-container h3.op::before, 89 .table-container h3.area::before, 90 .table-container h3.time::before { 91 position: absolute; 92 left: 0; 93 top: 0; 94 width: 30px; 95 text-align: center; 96 font-weight: 600; 97 color: #000; 98 border: #999 1px solid; 99 } 100 101 .table-container h3.op::before { 102 content: "運営 "; 103 } 104 105 .table-container h3.area::before { 106 content: "場所 "; 107 } 108 109 .table-container h3.time::before { 110 content: "日時 "; 111 } 112 113 .table-container p { 114 color: #555; 115 } 116 117 .table-container table { 118 width: 100%; 119 border-collapse: collapse; 120 } 121 122 .table-container th { 123 background-color: #eee; 124 padding: 4px 8px; 125 border: 1px solid #ddd; 126 text-align: left; 127 } 128 129 .table-container td { 130 padding: 4px 8px; 131 border: 1px solid #ddd; 132 } 133 134 .table-container th:first-child, 135 .table-container td:first-child { 136 max-width: 100px; 137 min-width: 70px; 138 } 139 140 .table-container th:nth-child(2), 141 .table-container td:nth-child(2) { 142 min-width: 140px; 143 } 144 145 .table-container .mainStage th:first-child, 146 .table-container .mainStage td:first-child { 147 width: 130px; 148 } 149 150 .table-container tr:nth-child(even) { 151 background-color: #fafafa; 152 } 153 154 .table-container tr:nth-child(odd) { 155 background-color: #fff; 156 } 157 158 header { 159 text-align: center; 160 color: #000; 161 background-color: #fff; 162 padding: 10px; 163 height: 40px; 164 font-size: 1.2rem; 165 line-height: 0.9; 166 border-bottom: #000 1px solid; 167 } 168 169 footer { 170 text-align: center; 171 color: #000; 172 background-color: #fff; 173 padding: 4px; 174 height: 60px; 175 font-size: 0.9rem; 176 line-height: 1.6; 177 border-top: #000 1px solid; 178 } 179 180 input { 181 font-family: "Noto Sans JP", sans-serif; 182 font-optical-sizing: auto; 183 font-weight: 500; 184 font-size: 0.9rem; 185 padding: 3px 6px; 186 border: 1px solid #aaa; 187 border-radius: 4px; 188 width: 96vw; 189 max-width: 600px; 190 box-sizing: border-box; 191 } 192 193 .about-link { 194 font-family: "Noto Sans JP", sans-serif; 195 font-optical-sizing: auto; 196 font-weight: 500; 197 font-size: 0.8rem; 198 background: none; 199 border: none; 200 text-decoration: underline; 201 cursor: pointer; 202 margin-right: 10px; 203 padding: 0; 204 } 205 206 .description-scroll { 207 max-height: 260px; 208 overflow-y: auto; 209 } 210 211 .floating-modal { 212 position: fixed; 213 bottom: 75px; 214 left: 10px; 215 right: 10px; 216 width: auto; 217 max-width: 750px; 218 background: #fff; 219 font-weight: 500; 220 font-style: normal; 221 font-size: 0.8rem; 222 border-radius: 12px; 223 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); 224 z-index: 2000; 225 padding: 18px; 226 } 227 .floating-modal .about { 228 font-weight: 600; 229 font-size: 1rem; 230 margin-bottom: 8px; 231 } 232 .floating-modal p { 233 margin-top: 4px; 234 line-height: 1.4; 235 } 236 .floating-modal a { 237 text-decoration: underline; 238 } 239 .floating-modal-close { 240 position: absolute; 241 top: 8px; 242 right: 16px; 243 background: none; 244 border: none; 245 font-size: 1.6rem; 246 cursor: pointer; 247 }