mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-24 19:06:53 +00:00
feature: setting some of css for mobile
This commit is contained in:
parent
5cd87926de
commit
0e54335e9d
4 changed files with 26 additions and 6 deletions
|
@ -4,10 +4,14 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Vite + Vue</title>
|
||||
<title>micromobility-navigation</title>
|
||||
<style>
|
||||
html, body {margin: 0; height: 100%; overflow: hidden}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
|
@ -11,5 +11,5 @@
|
|||
</template>
|
||||
|
||||
<script setup>
|
||||
import {RouterLink, RouterView} from 'vue-router';
|
||||
import {RouterLink, RouterView} from 'vue-router';
|
||||
</script>
|
|
@ -4,4 +4,4 @@ import '@/style.css'
|
|||
import App from '@/App.vue'
|
||||
import router from '@/plugins/router'
|
||||
|
||||
createApp(App).use(router).mount('#app')
|
||||
createApp(App).use(router).mount('#app')
|
|
@ -1,3 +1,19 @@
|
|||
/* for mobile user */
|
||||
body{
|
||||
background-color: transparent;
|
||||
}
|
||||
display: block;
|
||||
margin: auto auto auto auto;
|
||||
padding: 1rem 1rem 1rem 1rem;
|
||||
max-width: 450px;
|
||||
height: 925px;
|
||||
background-color: white;
|
||||
}
|
||||
:root{
|
||||
background-color: rgb(131, 131, 131);
|
||||
}
|
||||
|
||||
/* disable desktop & tablet for now due to unfinalized design */
|
||||
@media only screen and (min-width: 700px) {
|
||||
body{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue