Skip to content

Commit

Permalink
Update responsive design
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTimeey committed May 16, 2021
1 parent e32062a commit 8535930
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
23 changes: 23 additions & 0 deletions src/components/AdditionalTextFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,27 @@ a:hover {
{
opacity: 0;
}
@media screen and (max-width: 768px) {
.author {
font-size: 20px;
}
.link-list {
font-size: 20px;
}
.app-title {
font-size: 40px;
}
}
@media screen and (max-width: 400px) {
.author {
font-size: 15px;
}
.link-list {
font-size: 15px;
}
.app-title {
font-size: 25px;
}
}
</style>
16 changes: 14 additions & 2 deletions src/components/WordContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,22 @@ export default {
max-width: 80%;
}
.word {
font-size: 120px;
font-size: 80px;
}
.word-definition {
font-size: 30px;
font-size: 25px;
}
}
@media screen and (max-width: 400px) {
.word-card {
max-width: 80%;
}
.word {
font-size: 50px;
}
.word-definition {
font-size: 20px;
}
}
</style>

0 comments on commit 8535930

Please sign in to comment.