style: safe center home app
This commit is contained in:
parent
cc63223742
commit
f85608bc7c
1 changed files with 6 additions and 12 deletions
|
@ -64,26 +64,20 @@ const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy';
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: grid;
|
||||||
|
place-content: safe center;
|
||||||
|
}
|
||||||
|
|
||||||
#app-wrapper {
|
#app-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 650px;
|
max-width: 650px;
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
padding-bottom: 5em;
|
padding-bottom: 5em;
|
||||||
|
|
||||||
/*
|
|
||||||
position: relative;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
*/
|
|
||||||
|
|
||||||
&:has(#router-outlet #post) {
|
&:has(#router-outlet #post) {
|
||||||
/*
|
|
||||||
position: default;
|
|
||||||
top: 0;
|
|
||||||
transform: none;
|
|
||||||
*/
|
|
||||||
|
|
||||||
#jumbotron {
|
#jumbotron {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue