You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
matrix-chat/src/App.vue

83 lines
1.3 KiB
Vue

4 years ago
<template>
<div id="app">
4 years ago
<div class="content">
<router-view />
4 years ago
<error />
4 years ago
</div>
4 years ago
</div>
</template>
<script>
import error from "@/components/error.vue";
4 years ago
export default {
name: 'App',
components:{
error
4 years ago
}
}
</script>
<style>
4 years ago
body{
margin: 0;
}
input{
padding: 0 2rem 0 2rem;
height: 2.5rem;
color: #fff;
background-color: #1d1d1d;
border-radius: 1.25rem;
4 years ago
border: 0.1rem solid #fff;
text-align: center;
font-size: 1.1rem;
margin: 0.5rem;
appearance: none;
outline: none;
}
input:focus{
color: #000;
background-color: #fff;
}
4 years ago
*{
scrollbar-width: thin;
scrollbar-color: #42b983 #2220;
}
*::-webkit-scrollbar {
width: 0.5rem;
height: 0.5rem;
}
*::-webkit-scrollbar-track {
background: none;
}
*::-webkit-scrollbar-thumb {
background-color: #42b983;
border-radius: 0.25rem;
}
4 years ago
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
4 years ago
position: absolute;
color: #ffffff;
background-color: #1d1d1d;
min-height: 100%;
width: 100%;
}
.content{
position: absolute;
4 years ago
top: 0;
left: calc(50% - 35rem);
4 years ago
padding: 0;
min-height: 100%;
width: 70rem;
4 years ago
min-width: 18rem;
4 years ago
background-color: #313131;
4 years ago
box-shadow: 3px 3px 10px #111;
}
@media (max-width: 75rem){
4 years ago
.content{
width: 100%;
4 years ago
left: 0;
}
4 years ago
}
</style>