1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-31 14:28:06 +00:00

Compare commits

..

No commits in common. "3cd4337c0445afb608652b0ad238345dd4f472ed" and "3ea90fbd06ea430207b6aae47cbfa09f9ce1b614" have entirely different histories.

4 changed files with 5 additions and 34 deletions

View file

@ -1,15 +1,8 @@
:root {
font-size: 12px;
--nc-font-sans: sans-serif;
--nc-font-mono: monospace;
--nc-lk-1: #1875d1;
--nc-lk-2: #004a9f;
--nc-ac-1: #f57f17;
--nc-ac-tx: var(--nc-tx-1);
}
body {
padding-inline: 1rem;
max-inline-size: 80rem;
}
@ -19,19 +12,6 @@ header {
justify-content: space-evenly;
}
header h1 {
margin: 0;
}
header h1 > a,
header h1 > a:hover {
color: var(--nc-ac-1);
}
header nav > * {
font-size: 1.55rem;
}
a[href^="/"] {
text-decoration: none;
}

View file

@ -35,12 +35,12 @@ export default () => {
<h1>
<a href="/">Quot</a>
</h1>
<nav>
<a href="/new">📄</a>
</nav>
<a href="/new">📄</a>
</header>
{routes[pathname()] ?? (
<Page id={parseInt(pathname().slice(1), 16) || random()} />
<Page
id={parseInt(pathname().slice(1), 16) || random()}
/>
)}
</>
);

View file

@ -3,12 +3,3 @@
gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}
.cards > a:hover::after {
content: "";
background-color: rgba(0, 0, 0, 10%);
display: block;
position: relative;
top: -100%;
height: 100%;
}

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="" dir="ltr">
<html lang="ja" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />