adjusted bottom margin of footer; images on projects page now shrink on mobile
This commit is contained in:
33
src/lib/viewport/content-sidebar.svelte
Normal file
33
src/lib/viewport/content-sidebar.svelte
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="content">
|
||||
<div class="side">
|
||||
<slot name="side-left" />
|
||||
</div>
|
||||
<div class="main">
|
||||
<slot name="main" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
max-width: 2000px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 0 24px;
|
||||
}
|
||||
.side {
|
||||
min-width: 400px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.content {
|
||||
padding: 0 8px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.side {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user