all the website mainly done
This commit is contained in:
+105
-3
@@ -25,6 +25,7 @@ header nav {
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
h1 { font-size: 1.6rem; }
|
||||
h1 .phonetic { color: darkgrey; font-size: 1rem; font-weight: normal; }
|
||||
h2 { font-size: 1.1rem; color: var(--muted); font-weight: normal; }
|
||||
footer {
|
||||
margin-top: 3rem;
|
||||
@@ -32,6 +33,19 @@ footer {
|
||||
border-top: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
}
|
||||
.buttons88x31 {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: .4rem;
|
||||
margin-bottom: .8rem;
|
||||
}
|
||||
.buttons88x31 a { border-bottom: none; }
|
||||
.buttons88x31 img {
|
||||
width: 88px;
|
||||
height: 31px;
|
||||
image-rendering: pixelated;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dot {
|
||||
display: inline-block;
|
||||
@@ -45,21 +59,58 @@ footer {
|
||||
.dot-dnd { background: #ed4245; }
|
||||
.dot-offline { background: #747f8d; }
|
||||
|
||||
.status-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: stretch;
|
||||
gap: .6rem;
|
||||
}
|
||||
.status-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .8rem;
|
||||
padding: .8rem;
|
||||
flex: 1 1 220px;
|
||||
min-width: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 8px;
|
||||
border-radius: 4px;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
}
|
||||
.status-card .avatar { border-radius: 8px; flex: none; }
|
||||
.status-card .avatar { border-radius: 4px; flex: none; }
|
||||
.status-card .who { display: flex; flex-direction: column; gap: .15rem; }
|
||||
.status-card .name { font-weight: bold; }
|
||||
.status-card .state { color: var(--muted); font-size: .9rem; }
|
||||
.now-playing { color: var(--muted); font-size: .9rem; }
|
||||
|
||||
.spotify-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: .8rem;
|
||||
padding: .7rem;
|
||||
flex: 1 1 220px;
|
||||
min-width: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 4px;
|
||||
color: var(--fg);
|
||||
}
|
||||
a.spotify-card:hover { border-color: #1db954; }
|
||||
.spotify-card .album-art { border-radius: 4px; flex: none; }
|
||||
.spotify-card .album-art--empty {
|
||||
width: 64px; height: 64px;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
background: var(--field);
|
||||
color: var(--muted);
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.np-label { font-size: .72rem; letter-spacing: .02em; }
|
||||
.spotify-card .np-label { color: #1db954; }
|
||||
.spotify-idle .np-label { color: var(--muted); }
|
||||
.dc-label { color: #5865f2; }
|
||||
.spotify-card .track { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
|
||||
.spotify-card .np-label { color: #1db954; font-size: .72rem; letter-spacing: .02em; }
|
||||
.spotify-card .song { font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.spotify-card .artist { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
|
||||
form { display: flex; flex-direction: column; gap: .5rem; margin: 1.5rem 0; }
|
||||
input, textarea {
|
||||
@@ -84,3 +135,54 @@ button {
|
||||
.entry { border-top: 1px solid var(--line); padding: .8rem 0; }
|
||||
.entry .date { color: var(--muted); font-size: .8rem; margin-left: .5rem; }
|
||||
.entry p { margin: .3rem 0 0; }
|
||||
|
||||
.muted { color: var(--muted); }
|
||||
|
||||
/* post list (home widget + /blog) */
|
||||
.posts-widget { margin: 2rem 0; }
|
||||
.post-list { list-style: none; padding: 0; margin: 1rem 0; }
|
||||
.post-list li {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
gap: 1rem;
|
||||
padding: .6rem 0;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.post-list .date { color: var(--muted); font-size: .85rem; white-space: nowrap; }
|
||||
|
||||
/* single post */
|
||||
.back-link { margin: .5rem 0; }
|
||||
.back-link a { border-bottom: none; color: var(--muted); }
|
||||
.back-link a:hover { color: var(--fg); }
|
||||
.post-title { margin-bottom: .2rem; }
|
||||
.post-meta { color: var(--muted); font-size: .85rem; margin-bottom: 1.5rem; }
|
||||
.post-body img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 1.5rem 0;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.post-body h1, .post-body h2, .post-body h3 { margin: 1.8rem 0 .6rem; }
|
||||
.post-body h2 { color: var(--fg); font-size: 1.2rem; }
|
||||
.post-body pre {
|
||||
background: var(--field);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 4px;
|
||||
padding: .8rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.post-body code {
|
||||
background: var(--field);
|
||||
padding: .1rem .3rem;
|
||||
border-radius: 3px;
|
||||
font-size: .9em;
|
||||
}
|
||||
.post-body pre code { background: none; padding: 0; }
|
||||
.post-body blockquote {
|
||||
border-left: 3px solid var(--line);
|
||||
margin: 1rem 0;
|
||||
padding-left: 1rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user