mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-24 21:26:52 +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,7 +4,11 @@
|
|||
<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>
|
||||
|
|
|
@ -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