fix: some design
This commit is contained in:
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
||||
|
||||
## Project Overview
|
||||
|
||||
Remanso is a Vue 3 + TypeScript web app that displays markdown notes from GitHub repositories with Zettelkasten-style backlinks. Users access notes via `https://litenote.space/{user}/{repo}`. Supports both public repos (direct access) and private repos (GitHub OAuth).
|
||||
Remanso is a Vue 3 + TypeScript web app that displays markdown notes from GitHub repositories with Zettelkasten-style backlinks. Users access notes via `https://remanso.space/{user}/{repo}`. Supports both public repos (direct access) and private repos (GitHub OAuth).
|
||||
|
||||
## Commands
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// Script pour changer facilement le thème sombre de l'application LiteNote
|
||||
// Script pour changer facilement le thème sombre de l'application Remanso
|
||||
// Usage: pnpm run theme:dark [theme-name]
|
||||
|
||||
import { readFileSync, writeFileSync } from "fs"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// Script pour changer facilement le thème clair de l'application LiteNote
|
||||
// Script pour changer facilement le thème clair de l'application Remanso
|
||||
// Usage: pnpm run theme:light [theme-name]
|
||||
|
||||
import { readFileSync, writeFileSync } from "fs"
|
||||
|
||||
@@ -119,7 +119,6 @@ watch(
|
||||
</div>
|
||||
<span class="badge badge-accent" v-if="author">{{ author.alias }}</span>
|
||||
<article class="note-display" v-html="content"></article>
|
||||
</div>
|
||||
<router-link
|
||||
:to="{ name: 'Home' }"
|
||||
class="button is-small is-white back-button"
|
||||
@@ -143,6 +142,7 @@ watch(
|
||||
return home
|
||||
</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
@@ -152,9 +152,10 @@ watch(
|
||||
|
||||
.back-button {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 1rem;
|
||||
left: 1.5rem;
|
||||
top: 0.4rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -162,15 +163,19 @@ watch(
|
||||
}
|
||||
|
||||
.badge {
|
||||
margin-bottom: 1rem;
|
||||
position: absolute;
|
||||
top: 0.4rem;
|
||||
right: 2rem;
|
||||
}
|
||||
|
||||
.article {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0 2rem;
|
||||
scrollbar-width: none;
|
||||
|
||||
article {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
&.content {
|
||||
|
||||
Reference in New Issue
Block a user