Explorar el Código

Adjust font sizes

vintage
Fen Dweller hace 5 años
padre
commit
02d732289c
Se han modificado 6 ficheros con 18 adiciones y 14 borrados
  1. +4
    -0
      src/App.vue
  2. +1
    -1
      src/components/ChoiceButton.vue
  3. +1
    -1
      src/components/Combat.vue
  4. +3
    -3
      src/components/Explore.vue
  5. +1
    -1
      src/components/NavButton.vue
  6. +8
    -8
      src/components/Statblock.vue

+ 4
- 0
src/App.vue Ver fichero

@@ -75,6 +75,10 @@ body, html {
overflow-x: hidden; overflow-x: hidden;
} }


html {
font-size: calc(0.75em + 1vmin);
}

#app { #app {
position: relative; position: relative;
font-family: Avenir, Helvetica, Arial, sans-serif; font-family: Avenir, Helvetica, Arial, sans-serif;


+ 1
- 1
src/components/ChoiceButton.vue Ver fichero

@@ -46,7 +46,7 @@ export default class ChoiceButton extends Vue {
margin: 8pt; margin: 8pt;
background: repeating-linear-gradient(45deg, #333, #333 20px, #222 20px, #222 40px); background: repeating-linear-gradient(45deg, #333, #333 20px, #222 20px, #222 40px);
color: #ccc; color: #ccc;
font-size: 150%;
font-size: 1.25rem;
border-color: #ccc; border-color: #ccc;
border-width: 3px; border-width: 3px;
border-radius: 8px; border-radius: 8px;


+ 1
- 1
src/components/Combat.vue Ver fichero

@@ -303,7 +303,7 @@ export default class Combat extends Vue {
grid-area: main-row-start / main-col-start / main-row-end / main-col-end; grid-area: main-row-start / main-col-start / main-row-end / main-col-end;
overflow-y: scroll; overflow-y: scroll;
overflow-x: hidden; overflow-x: hidden;
font-size: 12pt;
font-size: 1rem;
width: 100%; width: 100%;
max-height: 100%; max-height: 100%;
width: 70vw; width: 70vw;


+ 3
- 3
src/components/Explore.vue Ver fichero

@@ -140,7 +140,7 @@ export default class Explore extends Vue {


.worldinfo-date, .worldinfo-date,
.worldinfo-time { .worldinfo-time {
font-size: 125%;
font-size: 1.25rem;
} }


.explore-info { .explore-info {
@@ -155,12 +155,12 @@ export default class Explore extends Vue {
} }


.location-name { .location-name {
font-size: 200%;
font-size: 2rem;
margin: 8pt; margin: 8pt;
} }


.location-desc { .location-desc {
font-size: 150%;
font-size: 1.5rem;
color: #ccc; color: #ccc;
} }




+ 1
- 1
src/components/NavButton.vue Ver fichero

@@ -44,7 +44,7 @@ export default class NavButton extends Vue {
padding: 5%; padding: 5%;
background: #555; background: #555;
color: #ccc; color: #ccc;
font-size: 18pt;
font-size: 1rem;
border-color: #ccc; border-color: #ccc;
border-width: 3px; border-width: 3px;
border-radius: 8px; border-radius: 8px;


+ 8
- 8
src/components/Statblock.vue Ver fichero

@@ -157,7 +157,7 @@ export default class Statblock extends Vue {
<style scoped> <style scoped>
h2 { h2 {
margin-bottom: 8pt; margin-bottom: 8pt;
font-size: 200%;
font-size: 2rem;
} }
ul { ul {
list-style-type: none; list-style-type: none;
@@ -192,7 +192,7 @@ a {


.stat-entry { .stat-entry {
position: relative; position: relative;
font-size: 10pt;
font-size: 0.75rem;
padding-top: 2pt; padding-top: 2pt;
padding-bottom: 2pt; padding-bottom: 2pt;
display: flex; display: flex;
@@ -230,17 +230,17 @@ a {
.stat-entry .healthbar i { .stat-entry .healthbar i {
flex: 0 1; flex: 0 1;
flex-basis: 20pt; flex-basis: 20pt;
font-size: 14pt;
font-size: 1rem;
} }


.healthbar .healthbar-value { .healthbar .healthbar-value {
flex: 1 0; flex: 1 0;
font-size: 12pt;
font-size: 0.75rem;
color: #bbb; color: #bbb;
} }


.stat-entry > i { .stat-entry > i {
font-size: 16pt;
font-size: 1.25rem;
width: 16pt; width: 16pt;
margin-bottom: 18pt; margin-bottom: 18pt;
} }
@@ -337,7 +337,7 @@ a {
} }


.statblock-shader-dead i { .statblock-shader-dead i {
font-size: 100px;
font-size: 5rem;
position: absolute; position: absolute;
top: 50%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
@@ -373,11 +373,11 @@ a {
.statblock-status-icons { .statblock-status-icons {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
min-height: 16pt;
min-height: 1.25rem;
} }


.statblock-status-icons > i { .statblock-status-icons > i {
font-size: 16pt;
font-size: 1.25rem;
position: relative; position: relative;
} }




Cargando…
Cancelar
Guardar