adjusted bottom margin of footer; images on projects page now shrink on mobile
This commit is contained in:
@@ -28,11 +28,11 @@
|
|||||||
<img class="gallery-img" src="{entry.img}" alt="{entry.imgAlt}">
|
<img class="gallery-img" src="{entry.img}" alt="{entry.imgAlt}">
|
||||||
<div class="gallery-text-container">
|
<div class="gallery-text-container">
|
||||||
{#if reverseTextOrder}
|
{#if reverseTextOrder}
|
||||||
<p class="gallery-date">{@html entry.subtitle}</p>
|
<p class="gallery-subtitle">{@html entry.subtitle}</p>
|
||||||
<p class="gallery-title">{entry.title}</p>
|
<p class="gallery-title">{entry.title}</p>
|
||||||
{:else}
|
{:else}
|
||||||
<p class="gallery-title">{entry.title}</p>
|
<p class="gallery-title">{entry.title}</p>
|
||||||
<p class="gallery-date">{@html entry.subtitle}</p>
|
<p class="gallery-subtitle">{@html entry.subtitle}</p>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@@ -62,6 +62,7 @@
|
|||||||
|
|
||||||
.gallery-img {
|
.gallery-img {
|
||||||
width: 145px;
|
width: 145px;
|
||||||
|
min-width: 145px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
@@ -83,20 +84,20 @@
|
|||||||
transition: border-color 0.1s ease-out;
|
transition: border-color 0.1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-date, .gallery-title {
|
.gallery-title, .gallery-subtitle {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
transition: color 0.1s ease-out;
|
transition: color 0.1s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gallery-date {
|
|
||||||
font-size: 1.0rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gallery-title {
|
.gallery-title {
|
||||||
font-family: var(--font-mono);
|
font-family: var(--font-mono);
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gallery-subtitle {
|
||||||
|
font-size: 1.0rem;
|
||||||
|
}
|
||||||
|
|
||||||
.gallery-container:hover .gallery-text-container {
|
.gallery-container:hover .gallery-text-container {
|
||||||
border-color: var(--color-highlight);
|
border-color: var(--color-highlight);
|
||||||
}
|
}
|
||||||
@@ -106,4 +107,21 @@
|
|||||||
.gallery-container:hover p {
|
.gallery-container:hover p {
|
||||||
color: var(--color-highlight);
|
color: var(--color-highlight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 700px) {
|
||||||
|
.gallery-title {
|
||||||
|
font-size: 1.0rem;
|
||||||
|
line-height: 1.1rem;
|
||||||
|
}
|
||||||
|
.gallery-subtitle {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
line-height: 1.1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 500px) {
|
||||||
|
.gallery-subtitle {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -134,5 +134,11 @@
|
|||||||
.toc-level-1::before, .toc-level-2::before, .toc-level-3::before {
|
.toc-level-1::before, .toc-level-2::before, .toc-level-3::before {
|
||||||
content: "└ ";
|
content: "└ ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 550px) {
|
||||||
|
.toc-container {
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -90,6 +90,7 @@
|
|||||||
gap: 16px;
|
gap: 16px;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
padding-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-box {
|
.content-box {
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Header from "$lib/header.svelte";
|
import Header from "$lib/viewport/header.svelte";
|
||||||
import Footer from "$lib/footer.svelte";
|
import Footer from "$lib/viewport/footer.svelte";
|
||||||
|
|
||||||
let { children } = $props();
|
let { children } = $props();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import GamedevWebring from "$lib/webrings/gamedev.svelte";
|
import GamedevWebring from "$lib/webrings/gamedev.svelte";
|
||||||
import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
|
import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
|
||||||
import LinkList from "$lib/link-list.svelte";
|
import LinkList from "$lib/lists/link-list.svelte";
|
||||||
import { quotes, type Quote } from "./quotes";
|
import { quotes, type Quote } from "./quotes";
|
||||||
|
|
||||||
import { posts } from "./projects/projectn5/devlog/posts";
|
import { posts } from "./projects/projectn5/devlog/posts";
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import TableOfContents from "$lib/table-of-contents.svelte";
|
import TableOfContents from "$lib/table-of-contents.svelte";
|
||||||
import LinkList, { type LinkEntry } from "$lib/link-list.svelte";
|
import LinkList, { type LinkEntry } from "$lib/lists/link-list.svelte";
|
||||||
|
|
||||||
let favouriteAlbums: LinkEntry[] = [
|
let favouriteAlbums: LinkEntry[] = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import TableOfContents from "$lib/table-of-contents.svelte";
|
import TableOfContents from "$lib/table-of-contents.svelte";
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import List, { type ListEntry } from "$lib/link-list.svelte";
|
import List, { type LinkEntry } from "$lib/lists/link-list.svelte";
|
||||||
|
|
||||||
let feeds: ListEntry[] = [
|
let feeds: LinkEntry[] = [
|
||||||
{
|
{
|
||||||
text: "Project N5 devlog",
|
text: "Project N5 devlog",
|
||||||
link: "/projects/projectn5/devlog/feed.xml",
|
link: "/projects/projectn5/devlog/feed.xml",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import TableOfContents from "$lib/table-of-contents.svelte";
|
import TableOfContents from "$lib/table-of-contents.svelte";
|
||||||
import type { Project } from './projects';
|
import { type Project, projects } from './projects';
|
||||||
import { projects } from './projects';
|
import LinkList from "$lib/lists/link-list.svelte";
|
||||||
import LinkList from "$lib/link-list.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
@@ -86,15 +85,14 @@
|
|||||||
.project-banner-container {
|
.project-banner-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
height: 300px;
|
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: flex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-banner {
|
.project-banner {
|
||||||
margin: 0; /* reset left/right margins */
|
margin: 0; /* reset left/right margins */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.project-icon {
|
.project-icon {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import TableOfContents from "$lib/table-of-contents.svelte";
|
import TableOfContents from "$lib/table-of-contents.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
// import type { DevlogPost } from "./devlog-posts";
|
// import type { DevlogPost } from "./devlog-posts";
|
||||||
import { posts, type DevlogPost } from "./posts";
|
import { posts, type DevlogPost } from "./posts";
|
||||||
import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
|
import Gallery, { type GalleryEntry } from "$lib/lists/gallery.svelte";
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
import TableOfContents from "$lib/table-of-contents.svelte";
|
import TableOfContents from "$lib/table-of-contents.svelte";
|
||||||
|
|
||||||
export let data;
|
export let data;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Banner2 from "$lib/banner2.svelte";
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
import Content from "$lib/content.svelte";
|
import Content from "$lib/viewport/content.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
|||||||
16
src/routes/what-is-this/+page.svelte
Normal file
16
src/routes/what-is-this/+page.svelte
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import Content from "$lib/viewport/content.svelte";
|
||||||
|
import Banner2 from "$lib/banner2.svelte";
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<svelte:head>
|
||||||
|
<title>what is this space? | denizk0461</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
|
<Content>
|
||||||
|
<Banner2
|
||||||
|
title="what is this space?" />
|
||||||
|
|
||||||
|
<p>Inspired by <a href="https://blog.avas.space/what-is-this/">this</a></p>
|
||||||
|
|
||||||
|
</Content>
|
||||||
Reference in New Issue
Block a user