Browse Source

fonts, SVGs, and LESS updates for System Menu overlay

develop
Rob Colbert 2 years ago
parent
commit
fb68f732c4
  1. BIN
      game/assets/fonts/BigPixel.otf
  2. BIN
      game/assets/fonts/BigPixelLight.otf
  3. BIN
      game/assets/fonts/BigPixelShadow.otf
  4. BIN
      game/assets/fonts/LarabieFont.otf
  5. BIN
      game/assets/fonts/MonoBold.ttf
  6. BIN
      game/assets/fonts/MonoLight.ttf
  7. BIN
      game/assets/fonts/MonoRegular.ttf
  8. BIN
      game/assets/fonts/PixelGameFont.ttf
  9. 62
      game/assets/img/game-cartdridge.svg
  10. 14
      game/less/lib/fonts.less
  11. 3
      game/less/lib/navbar.less
  12. 52
      game/less/lib/system-menu.less
  13. 62
      src/images/game-cartdridge.svg

BIN
game/assets/fonts/BigPixel.otf

Binary file not shown.

BIN
game/assets/fonts/BigPixelLight.otf

Binary file not shown.

BIN
game/assets/fonts/BigPixelShadow.otf

Binary file not shown.

BIN
game/assets/fonts/LarabieFont.otf

Binary file not shown.

BIN
game/assets/fonts/MonoBold.ttf

Binary file not shown.

BIN
game/assets/fonts/MonoLight.ttf

Binary file not shown.

BIN
game/assets/fonts/MonoRegular.ttf

Binary file not shown.

BIN
game/assets/fonts/PixelGameFont.ttf

Binary file not shown.

62
game/assets/img/game-cartdridge.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.5 KiB

14
game/less/lib/fonts.less

@ -0,0 +1,14 @@
@font-face {
font-family: 'Big Pixel';
src: url('../../assets/fonts/BigPixel.otf');
}
@font-face {
font-family: 'Mono Regular';
src: url('../../assets/fonts/MonoRegular.ttf');
}
@font-face {
font-family: 'Larabie';
src: url('../../assets/fonts/LarabieFont.otf');
}

3
game/less/lib/navbar.less

@ -0,0 +1,3 @@
.navbar {
padding: var(--default-margin) 0;
}

52
game/less/lib/system-menu.less

@ -0,0 +1,52 @@
.menu-overlay#system-menu {
background-color: blue;
font-family: 'Mono Regular', monospace;
div.os-info {
display: block;
position: absolute;
top: 8px;
left: 8px;
width: calc(100% - 16px);
font-size: 20px;
font-weight: bold;
color: lightgray;
.os-version {
position: absolute;
left: 0;
}
.game-sdk-version {
position: absolute;
right: 0;
}
.game-description {
position: absolute;
left: 0; right: 0;
width: 100%;
text-align: center;
overflow: visible;
}
}
img.nice-cartdridge-icon {
display: block;
width: 100%;
max-width: 240px;
height: auto;
margin: 0 auto;
}
button.menu-button#boot-button {
background: none;
color: lightgray;
border: none;
font-family: inherit;
img {
margin-bottom: 12px;
}
}
}

62
src/images/game-cartdridge.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.2 KiB

Loading…
Cancel
Save