added footer
This commit is contained in:
parent
8e3fe15333
commit
f9b7f91c6f
@ -63,6 +63,13 @@
|
|||||||
<CodeInput bind:code={stylesheet} />
|
<CodeInput bind:code={stylesheet} />
|
||||||
</Editor>
|
</Editor>
|
||||||
<Preview {mobile} {markdown} {stylesheet} />
|
<Preview {mobile} {markdown} {stylesheet} />
|
||||||
|
<footer>
|
||||||
|
<p>
|
||||||
|
made with ❤ by
|
||||||
|
<a href="https://github.com/tweakdeveloper" title="my github profile">@tweakdeveloper</a>
|
||||||
|
</p>
|
||||||
|
<a href="/attributions">attributions</a>
|
||||||
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
@ -72,7 +79,8 @@
|
|||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
'headline'
|
'headline'
|
||||||
'navtree'
|
'navtree'
|
||||||
'editor';
|
'editor'
|
||||||
|
'footer';
|
||||||
grid-template-rows: min-content min-content 1fr;
|
grid-template-rows: min-content min-content 1fr;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
@ -81,7 +89,49 @@
|
|||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
'headline headline'
|
'headline headline'
|
||||||
'navtree preview'
|
'navtree preview'
|
||||||
'editor preview';
|
'editor preview'
|
||||||
|
'footer footer';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
align-items: center;
|
||||||
|
background-color: @color-dark;
|
||||||
|
border-top: 2px solid @color-dark;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: @color-light;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column nowrap;
|
||||||
|
gap: @padding-md-y;
|
||||||
|
grid-area: footer;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: @padding-lg;
|
||||||
|
|
||||||
|
@media screen and (min-width: @sizes[lg]) {
|
||||||
|
flex-flow: row nowrap;
|
||||||
|
gap: @padding-sm-y;
|
||||||
|
padding: @padding-md;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footer a {
|
||||||
|
color: @color-light;
|
||||||
|
transition: color 0.2s;
|
||||||
|
|
||||||
|
&:visited {
|
||||||
|
color: darken(@color-light, 30%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: darken(@color-light, 20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
color: darken(@color-light, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footer p {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
0
src/routes/attributions/+page.svelte
Normal file
0
src/routes/attributions/+page.svelte
Normal file
Loading…
x
Reference in New Issue
Block a user