style: spacing adjustments
This commit is contained in:
parent
69eac28ff9
commit
ad1b670ddc
3 changed files with 17 additions and 17 deletions
|
@ -38,13 +38,12 @@ const form = new FormGroup([
|
|||
<style lang="scss">
|
||||
.address-bar {
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin: 0.5em 0;
|
||||
|
||||
padding: 0.5rem;
|
||||
font-size: small;
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
@ -54,13 +53,12 @@ const form = new FormGroup([
|
|||
}
|
||||
img {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
|
||||
:global(input) {
|
||||
width: 100%;
|
||||
max-width: var(--cozy-width);
|
||||
text-align: center;
|
||||
border: 0px;
|
||||
border-radius: 5px;
|
||||
|
|
|
@ -105,7 +105,7 @@ const {postDivSelector, skipSave = false} = Astro.props;
|
|||
}
|
||||
|
||||
:global(.post-card) {
|
||||
padding-top: 1rem;
|
||||
padding-bottom: 0.5rem;
|
||||
:global(.post-card__image) {
|
||||
float: left;
|
||||
margin: 0.25rem 0.5rem 0.25rem 0;
|
||||
|
|
|
@ -26,28 +26,30 @@ const { meta } = Astro.props;
|
|||
|
||||
</head>
|
||||
<body>
|
||||
<slot />
|
||||
<div id="main-content">
|
||||
<div id="post-wrapper">
|
||||
<slot name="post" />
|
||||
</div>
|
||||
<div id="library-wrapper">
|
||||
<slot name="library" />
|
||||
<div id="app-wrapper">
|
||||
<slot />
|
||||
<div id="main-content">
|
||||
<div id="post-wrapper">
|
||||
<slot name="post" />
|
||||
</div>
|
||||
<div id="library-wrapper">
|
||||
<slot name="library" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
#main-content {
|
||||
max-width: var(--cozy-width);
|
||||
#app-wrapper {
|
||||
width: 100%;
|
||||
max-width: 650px;
|
||||
margin: 0 auto;
|
||||
padding: 0 1em 1em;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
</style>
|
||||
<style is:global lang="scss">
|
||||
:root {
|
||||
--cozy-width: 600px;
|
||||
--system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
||||
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue