diff --git a/src/App.vue b/src/App.vue index cd71b57..a0b95df 100644 --- a/src/App.vue +++ b/src/App.vue @@ -100,6 +100,28 @@ background-color: #E94A47; } + /* slightly smaller font for very small devices */ + @media screen and (max-width: 330px) { + body { + font-size: 22px; + } + + button { + font-size: 0.8em; + } + } + + /* regular font for devices wider than 330px */ + @media screen and (min-width: 330px) { + body { + font-size: 24px; + } + + button { + font-size: 0.9em; + } + } + /* div element used to center a button or multiple buttons */ .button-wrapper { text-align: center; @@ -114,13 +136,5 @@ font-style: normal; font-weight: normal; line-height: 1.35em; - font-size: 24px; - } - - .fade-enter-active, .fade-leave-active { - transition: opacity .5s; - } - .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ { - opacity: 0; } diff --git a/src/components/Question.vue b/src/components/Question.vue index 0f1ecbf..218b7cd 100644 --- a/src/components/Question.vue +++ b/src/components/Question.vue @@ -39,14 +39,6 @@ background: #e94a47; cursor: pointer; } - - /*.bottom-aligned { - position: absolute; - left: 0; - right: 0; - bottom: 0; - border: 1px solid black; - }*/