gdx-studio
git clone https://git.pyrossh.dev/gdx-studio
An IDE for creating Games using libgdx and Java supported on all platforms Android, iOS, Desktop
stylesheets/normalize.css
| fd92c43 | 1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */ |
| fd92c43 | 2 | |
| fd92c43 | 3 | /** |
| fd92c43 | 4 | * 1. Set default font family to sans-serif. |
| fd92c43 | 5 | * 2. Prevent iOS text size adjust after orientation change, without disabling |
| fd92c43 | 6 | * user zoom. |
| fd92c43 | 7 | */ |
| fd92c43 | 8 | |
| fd92c43 | 9 | html { |
| fd92c43 | 10 | font-family: sans-serif; /* 1 */ |
| fd92c43 | 11 | -ms-text-size-adjust: 100%; /* 2 */ |
| fd92c43 | 12 | -webkit-text-size-adjust: 100%; /* 2 */ |
| fd92c43 | 13 | } |
| fd92c43 | 14 | |
| fd92c43 | 15 | /** |
| fd92c43 | 16 | * Remove default margin. |
| fd92c43 | 17 | */ |
| fd92c43 | 18 | |
| fd92c43 | 19 | body { |
| fd92c43 | 20 | margin: 0; |
| fd92c43 | 21 | } |
| fd92c43 | 22 | |
| fd92c43 | 23 | /* HTML5 display definitions |
| fd92c43 | 24 | ========================================================================== */ |
| fd92c43 | 25 | |
| fd92c43 | 26 | /** |
| fd92c43 | 27 | * Correct `block` display not defined for any HTML5 element in IE 8/9. |
| fd92c43 | 28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11 |
| fd92c43 | 29 | * and Firefox. |
| fd92c43 | 30 | * Correct `block` display not defined for `main` in IE 11. |
| fd92c43 | 31 | */ |
| fd92c43 | 32 | |
| fd92c43 | 33 | article, |
| fd92c43 | 34 | aside, |
| fd92c43 | 35 | details, |
| fd92c43 | 36 | figcaption, |
| fd92c43 | 37 | figure, |
| fd92c43 | 38 | footer, |
| fd92c43 | 39 | header, |
| fd92c43 | 40 | hgroup, |
| fd92c43 | 41 | main, |
| fd92c43 | 42 | menu, |
| fd92c43 | 43 | nav, |
| fd92c43 | 44 | section, |
| fd92c43 | 45 | summary { |
| fd92c43 | 46 | display: block; |
| fd92c43 | 47 | } |
| fd92c43 | 48 | |
| fd92c43 | 49 | /** |
| fd92c43 | 50 | * 1. Correct `inline-block` display not defined in IE 8/9. |
| fd92c43 | 51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. |
| fd92c43 | 52 | */ |
| fd92c43 | 53 | |
| fd92c43 | 54 | audio, |
| fd92c43 | 55 | canvas, |
| fd92c43 | 56 | progress, |
| fd92c43 | 57 | video { |
| fd92c43 | 58 | display: inline-block; /* 1 */ |
| fd92c43 | 59 | vertical-align: baseline; /* 2 */ |
| fd92c43 | 60 | } |
| fd92c43 | 61 | |
| fd92c43 | 62 | /** |
| fd92c43 | 63 | * Prevent modern browsers from displaying `audio` without controls. |
| fd92c43 | 64 | * Remove excess height in iOS 5 devices. |
| fd92c43 | 65 | */ |
| fd92c43 | 66 | |
| fd92c43 | 67 | audio:not([controls]) { |
| fd92c43 | 68 | display: none; |
| fd92c43 | 69 | height: 0; |
| fd92c43 | 70 | } |
| fd92c43 | 71 | |
| fd92c43 | 72 | /** |
| fd92c43 | 73 | * Address `[hidden]` styling not present in IE 8/9/10. |
| fd92c43 | 74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. |
| fd92c43 | 75 | */ |
| fd92c43 | 76 | |
| fd92c43 | 77 | [hidden], |
| fd92c43 | 78 | template { |
| fd92c43 | 79 | display: none; |
| fd92c43 | 80 | } |
| fd92c43 | 81 | |
| fd92c43 | 82 | /* Links |
| fd92c43 | 83 | ========================================================================== */ |
| fd92c43 | 84 | |
| fd92c43 | 85 | /** |
| fd92c43 | 86 | * Remove the gray background color from active links in IE 10. |
| fd92c43 | 87 | */ |
| fd92c43 | 88 | |
| fd92c43 | 89 | a { |
| fd92c43 | 90 | background-color: transparent; |
| fd92c43 | 91 | } |
| fd92c43 | 92 | |
| fd92c43 | 93 | /** |
| fd92c43 | 94 | * Improve readability when focused and also mouse hovered in all browsers. |
| fd92c43 | 95 | */ |
| fd92c43 | 96 | |
| fd92c43 | 97 | a:active, |
| fd92c43 | 98 | a:hover { |
| fd92c43 | 99 | outline: 0; |
| fd92c43 | 100 | } |
| fd92c43 | 101 | |
| fd92c43 | 102 | /* Text-level semantics |
| fd92c43 | 103 | ========================================================================== */ |
| fd92c43 | 104 | |
| fd92c43 | 105 | /** |
| fd92c43 | 106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome. |
| fd92c43 | 107 | */ |
| fd92c43 | 108 | |
| fd92c43 | 109 | abbr[title] { |
| fd92c43 | 110 | border-bottom: 1px dotted; |
| fd92c43 | 111 | } |
| fd92c43 | 112 | |
| fd92c43 | 113 | /** |
| fd92c43 | 114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. |
| fd92c43 | 115 | */ |
| fd92c43 | 116 | |
| fd92c43 | 117 | b, |
| fd92c43 | 118 | strong { |
| fd92c43 | 119 | font-weight: bold; |
| fd92c43 | 120 | } |
| fd92c43 | 121 | |
| fd92c43 | 122 | /** |
| fd92c43 | 123 | * Address styling not present in Safari and Chrome. |
| fd92c43 | 124 | */ |
| fd92c43 | 125 | |
| fd92c43 | 126 | dfn { |
| fd92c43 | 127 | font-style: italic; |
| fd92c43 | 128 | } |
| fd92c43 | 129 | |
| fd92c43 | 130 | /** |
| fd92c43 | 131 | * Address variable `h1` font-size and margin within `section` and `article` |
| fd92c43 | 132 | * contexts in Firefox 4+, Safari, and Chrome. |
| fd92c43 | 133 | */ |
| fd92c43 | 134 | |
| fd92c43 | 135 | h1 { |
| fd92c43 | 136 | font-size: 2em; |
| fd92c43 | 137 | margin: 0.67em 0; |
| fd92c43 | 138 | } |
| fd92c43 | 139 | |
| fd92c43 | 140 | /** |
| fd92c43 | 141 | * Address styling not present in IE 8/9. |
| fd92c43 | 142 | */ |
| fd92c43 | 143 | |
| fd92c43 | 144 | mark { |
| fd92c43 | 145 | background: #ff0; |
| fd92c43 | 146 | color: #000; |
| fd92c43 | 147 | } |
| fd92c43 | 148 | |
| fd92c43 | 149 | /** |
| fd92c43 | 150 | * Address inconsistent and variable font size in all browsers. |
| fd92c43 | 151 | */ |
| fd92c43 | 152 | |
| fd92c43 | 153 | small { |
| fd92c43 | 154 | font-size: 80%; |
| fd92c43 | 155 | } |
| fd92c43 | 156 | |
| fd92c43 | 157 | /** |
| fd92c43 | 158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers. |
| fd92c43 | 159 | */ |
| fd92c43 | 160 | |
| fd92c43 | 161 | sub, |
| fd92c43 | 162 | sup { |
| fd92c43 | 163 | font-size: 75%; |
| fd92c43 | 164 | line-height: 0; |
| fd92c43 | 165 | position: relative; |
| fd92c43 | 166 | vertical-align: baseline; |
| fd92c43 | 167 | } |
| fd92c43 | 168 | |
| fd92c43 | 169 | sup { |
| fd92c43 | 170 | top: -0.5em; |
| fd92c43 | 171 | } |
| fd92c43 | 172 | |
| fd92c43 | 173 | sub { |
| fd92c43 | 174 | bottom: -0.25em; |
| fd92c43 | 175 | } |
| fd92c43 | 176 | |
| fd92c43 | 177 | /* Embedded content |
| fd92c43 | 178 | ========================================================================== */ |
| fd92c43 | 179 | |
| fd92c43 | 180 | /** |
| fd92c43 | 181 | * Remove border when inside `a` element in IE 8/9/10. |
| fd92c43 | 182 | */ |
| fd92c43 | 183 | |
| fd92c43 | 184 | img { |
| fd92c43 | 185 | border: 0; |
| fd92c43 | 186 | } |
| fd92c43 | 187 | |
| fd92c43 | 188 | /** |
| fd92c43 | 189 | * Correct overflow not hidden in IE 9/10/11. |
| fd92c43 | 190 | */ |
| fd92c43 | 191 | |
| fd92c43 | 192 | svg:not(:root) { |
| fd92c43 | 193 | overflow: hidden; |
| fd92c43 | 194 | } |
| fd92c43 | 195 | |
| fd92c43 | 196 | /* Grouping content |
| fd92c43 | 197 | ========================================================================== */ |
| fd92c43 | 198 | |
| fd92c43 | 199 | /** |
| fd92c43 | 200 | * Address margin not present in IE 8/9 and Safari. |
| fd92c43 | 201 | */ |
| fd92c43 | 202 | |
| fd92c43 | 203 | figure { |
| fd92c43 | 204 | margin: 1em 40px; |
| fd92c43 | 205 | } |
| fd92c43 | 206 | |
| fd92c43 | 207 | /** |
| fd92c43 | 208 | * Address differences between Firefox and other browsers. |
| fd92c43 | 209 | */ |
| fd92c43 | 210 | |
| fd92c43 | 211 | hr { |
| fd92c43 | 212 | box-sizing: content-box; |
| fd92c43 | 213 | height: 0; |
| fd92c43 | 214 | } |
| fd92c43 | 215 | |
| fd92c43 | 216 | /** |
| fd92c43 | 217 | * Contain overflow in all browsers. |
| fd92c43 | 218 | */ |
| fd92c43 | 219 | |
| fd92c43 | 220 | pre { |
| fd92c43 | 221 | overflow: auto; |
| fd92c43 | 222 | } |
| fd92c43 | 223 | |
| fd92c43 | 224 | /** |
| fd92c43 | 225 | * Address odd `em`-unit font size rendering in all browsers. |
| fd92c43 | 226 | */ |
| fd92c43 | 227 | |
| fd92c43 | 228 | code, |
| fd92c43 | 229 | kbd, |
| fd92c43 | 230 | pre, |
| fd92c43 | 231 | samp { |
| fd92c43 | 232 | font-family: monospace, monospace; |
| fd92c43 | 233 | font-size: 1em; |
| fd92c43 | 234 | } |
| fd92c43 | 235 | |
| fd92c43 | 236 | /* Forms |
| fd92c43 | 237 | ========================================================================== */ |
| fd92c43 | 238 | |
| fd92c43 | 239 | /** |
| fd92c43 | 240 | * Known limitation: by default, Chrome and Safari on OS X allow very limited |
| fd92c43 | 241 | * styling of `select`, unless a `border` property is set. |
| fd92c43 | 242 | */ |
| fd92c43 | 243 | |
| fd92c43 | 244 | /** |
| fd92c43 | 245 | * 1. Correct color not being inherited. |
| fd92c43 | 246 | * Known issue: affects color of disabled elements. |
| fd92c43 | 247 | * 2. Correct font properties not being inherited. |
| fd92c43 | 248 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. |
| fd92c43 | 249 | */ |
| fd92c43 | 250 | |
| fd92c43 | 251 | button, |
| fd92c43 | 252 | input, |
| fd92c43 | 253 | optgroup, |
| fd92c43 | 254 | select, |
| fd92c43 | 255 | textarea { |
| fd92c43 | 256 | color: inherit; /* 1 */ |
| fd92c43 | 257 | font: inherit; /* 2 */ |
| fd92c43 | 258 | margin: 0; /* 3 */ |
| fd92c43 | 259 | } |
| fd92c43 | 260 | |
| fd92c43 | 261 | /** |
| fd92c43 | 262 | * Address `overflow` set to `hidden` in IE 8/9/10/11. |
| fd92c43 | 263 | */ |
| fd92c43 | 264 | |
| fd92c43 | 265 | button { |
| fd92c43 | 266 | overflow: visible; |
| fd92c43 | 267 | } |
| fd92c43 | 268 | |
| fd92c43 | 269 | /** |
| fd92c43 | 270 | * Address inconsistent `text-transform` inheritance for `button` and `select`. |
| fd92c43 | 271 | * All other form control elements do not inherit `text-transform` values. |
| fd92c43 | 272 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. |
| fd92c43 | 273 | * Correct `select` style inheritance in Firefox. |
| fd92c43 | 274 | */ |
| fd92c43 | 275 | |
| fd92c43 | 276 | button, |
| fd92c43 | 277 | select { |
| fd92c43 | 278 | text-transform: none; |
| fd92c43 | 279 | } |
| fd92c43 | 280 | |
| fd92c43 | 281 | /** |
| fd92c43 | 282 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` |
| fd92c43 | 283 | * and `video` controls. |
| fd92c43 | 284 | * 2. Correct inability to style clickable `input` types in iOS. |
| fd92c43 | 285 | * 3. Improve usability and consistency of cursor style between image-type |
| fd92c43 | 286 | * `input` and others. |
| fd92c43 | 287 | */ |
| fd92c43 | 288 | |
| fd92c43 | 289 | button, |
| fd92c43 | 290 | html input[type="button"], /* 1 */ |
| fd92c43 | 291 | input[type="reset"], |
| fd92c43 | 292 | input[type="submit"] { |
| fd92c43 | 293 | -webkit-appearance: button; /* 2 */ |
| fd92c43 | 294 | cursor: pointer; /* 3 */ |
| fd92c43 | 295 | } |
| fd92c43 | 296 | |
| fd92c43 | 297 | /** |
| fd92c43 | 298 | * Re-set default cursor for disabled elements. |
| fd92c43 | 299 | */ |
| fd92c43 | 300 | |
| fd92c43 | 301 | button[disabled], |
| fd92c43 | 302 | html input[disabled] { |
| fd92c43 | 303 | cursor: default; |
| fd92c43 | 304 | } |
| fd92c43 | 305 | |
| fd92c43 | 306 | /** |
| fd92c43 | 307 | * Remove inner padding and border in Firefox 4+. |
| fd92c43 | 308 | */ |
| fd92c43 | 309 | |
| fd92c43 | 310 | button::-moz-focus-inner, |
| fd92c43 | 311 | input::-moz-focus-inner { |
| fd92c43 | 312 | border: 0; |
| fd92c43 | 313 | padding: 0; |
| fd92c43 | 314 | } |
| fd92c43 | 315 | |
| fd92c43 | 316 | /** |
| fd92c43 | 317 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in |
| fd92c43 | 318 | * the UA stylesheet. |
| fd92c43 | 319 | */ |
| fd92c43 | 320 | |
| fd92c43 | 321 | input { |
| fd92c43 | 322 | line-height: normal; |
| fd92c43 | 323 | } |
| fd92c43 | 324 | |
| fd92c43 | 325 | /** |
| fd92c43 | 326 | * It's recommended that you don't attempt to style these elements. |
| fd92c43 | 327 | * Firefox's implementation doesn't respect box-sizing, padding, or width. |
| fd92c43 | 328 | * |
| fd92c43 | 329 | * 1. Address box sizing set to `content-box` in IE 8/9/10. |
| fd92c43 | 330 | * 2. Remove excess padding in IE 8/9/10. |
| fd92c43 | 331 | */ |
| fd92c43 | 332 | |
| fd92c43 | 333 | input[type="checkbox"], |
| fd92c43 | 334 | input[type="radio"] { |
| fd92c43 | 335 | box-sizing: border-box; /* 1 */ |
| fd92c43 | 336 | padding: 0; /* 2 */ |
| fd92c43 | 337 | } |
| fd92c43 | 338 | |
| fd92c43 | 339 | /** |
| fd92c43 | 340 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain |
| fd92c43 | 341 | * `font-size` values of the `input`, it causes the cursor style of the |
| fd92c43 | 342 | * decrement button to change from `default` to `text`. |
| fd92c43 | 343 | */ |
| fd92c43 | 344 | |
| fd92c43 | 345 | input[type="number"]::-webkit-inner-spin-button, |
| fd92c43 | 346 | input[type="number"]::-webkit-outer-spin-button { |
| fd92c43 | 347 | height: auto; |
| fd92c43 | 348 | } |
| fd92c43 | 349 | |
| fd92c43 | 350 | /** |
| fd92c43 | 351 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome. |
| fd92c43 | 352 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome |
| fd92c43 | 353 | * (include `-moz` to future-proof). |
| fd92c43 | 354 | */ |
| fd92c43 | 355 | |
| fd92c43 | 356 | input[type="search"] { |
| fd92c43 | 357 | -webkit-appearance: textfield; /* 1 */ /* 2 */ |
| fd92c43 | 358 | box-sizing: content-box; |
| fd92c43 | 359 | } |
| fd92c43 | 360 | |
| fd92c43 | 361 | /** |
| fd92c43 | 362 | * Remove inner padding and search cancel button in Safari and Chrome on OS X. |
| fd92c43 | 363 | * Safari (but not Chrome) clips the cancel button when the search input has |
| fd92c43 | 364 | * padding (and `textfield` appearance). |
| fd92c43 | 365 | */ |
| fd92c43 | 366 | |
| fd92c43 | 367 | input[type="search"]::-webkit-search-cancel-button, |
| fd92c43 | 368 | input[type="search"]::-webkit-search-decoration { |
| fd92c43 | 369 | -webkit-appearance: none; |
| fd92c43 | 370 | } |
| fd92c43 | 371 | |
| fd92c43 | 372 | /** |
| fd92c43 | 373 | * Define consistent border, margin, and padding. |
| fd92c43 | 374 | */ |
| fd92c43 | 375 | |
| fd92c43 | 376 | fieldset { |
| fd92c43 | 377 | border: 1px solid #c0c0c0; |
| fd92c43 | 378 | margin: 0 2px; |
| fd92c43 | 379 | padding: 0.35em 0.625em 0.75em; |
| fd92c43 | 380 | } |
| fd92c43 | 381 | |
| fd92c43 | 382 | /** |
| fd92c43 | 383 | * 1. Correct `color` not being inherited in IE 8/9/10/11. |
| fd92c43 | 384 | * 2. Remove padding so people aren't caught out if they zero out fieldsets. |
| fd92c43 | 385 | */ |
| fd92c43 | 386 | |
| fd92c43 | 387 | legend { |
| fd92c43 | 388 | border: 0; /* 1 */ |
| fd92c43 | 389 | padding: 0; /* 2 */ |
| fd92c43 | 390 | } |
| fd92c43 | 391 | |
| fd92c43 | 392 | /** |
| fd92c43 | 393 | * Remove default vertical scrollbar in IE 8/9/10/11. |
| fd92c43 | 394 | */ |
| fd92c43 | 395 | |
| fd92c43 | 396 | textarea { |
| fd92c43 | 397 | overflow: auto; |
| fd92c43 | 398 | } |
| fd92c43 | 399 | |
| fd92c43 | 400 | /** |
| fd92c43 | 401 | * Don't inherit the `font-weight` (applied by a rule above). |
| fd92c43 | 402 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. |
| fd92c43 | 403 | */ |
| fd92c43 | 404 | |
| fd92c43 | 405 | optgroup { |
| fd92c43 | 406 | font-weight: bold; |
| fd92c43 | 407 | } |
| fd92c43 | 408 | |
| fd92c43 | 409 | /* Tables |
| fd92c43 | 410 | ========================================================================== */ |
| fd92c43 | 411 | |
| fd92c43 | 412 | /** |
| fd92c43 | 413 | * Remove most spacing between table cells. |
| fd92c43 | 414 | */ |
| fd92c43 | 415 | |
| fd92c43 | 416 | table { |
| fd92c43 | 417 | border-collapse: collapse; |
| fd92c43 | 418 | border-spacing: 0; |
| fd92c43 | 419 | } |
| fd92c43 | 420 | |
| fd92c43 | 421 | td, |
| fd92c43 | 422 | th { |
| fd92c43 | 423 | padding: 0; |
| fd92c43 | 424 | } |