Skip to content

Commit

Permalink
[dev] modification on frontend
Browse files Browse the repository at this point in the history
* theme color
* better responsive view
* better desription
  • Loading branch information
nanmu42 committed Oct 17, 2018
1 parent 56f49b1 commit 549e22d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 18 deletions.
2 changes: 1 addition & 1 deletion frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="Generate your O'RLY Cover here to make your life happier.">
<meta name="description" content="Generate your O'RLY Cover here to entertain yourself and friends.">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>O'RLY Cover Generator</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"start_url": "/index.html",
"display": "standalone",
"background_color": "#FEFEFE",
"theme_color": "#00B8AB"
"theme_color": "#20B2AA"
}
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,6 @@
}
.w50 {
flex: 1 0 auto;
flex: 0 0 auto;
}
</style>
7 changes: 3 additions & 4 deletions frontend/src/components/Inputer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,13 @@

<style scoped>
form {
max-width: 500px;
min-width: 400px;
width: 500px;
}
@media screen and (max-width: 500px) {
@media screen and (max-width: 400px) {
form {
max-width: 96%;
min-width: auto;
width: auto;
}
}
Expand Down
18 changes: 7 additions & 11 deletions frontend/src/components/Result.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,21 @@

<style scoped>
.result {
max-width: 400px;
width: 400px;
}
@media screen and (max-width: 400px) {
@media screen and (min-width: 970px) {
.result {
max-width: 96%;
}
}
@media screen and (min-width: 1000px) {
.result {
margin: 0
margin: 0 0 0 50px;
}
}
@media screen and (min-width: 900px) {
@media screen and (max-width: 970px) {
.result {
margin: 0 0 0 50px;
margin: 30px 50px 0 50px;
}
}
@media screen and (max-width: 835px) {
@media screen and (max-width: 401px) {
.result {
max-width: 96%;
margin: 30px 0 0 0;
}
}
Expand Down

0 comments on commit 549e22d

Please sign in to comment.