Compare commits
No commits in common. "c402f329a7cb4c85fc4d037134c57f5805be1657" and "8d9c3cc4feb39e0ecd567a6a30c1d6bcef0f189b" have entirely different histories.
c402f329a7
...
8d9c3cc4fe
8 changed files with 31 additions and 40 deletions
|
@ -8,12 +8,6 @@
|
|||
--bg-600: #edf5ba;
|
||||
--accent: #899911;
|
||||
--text: #11100d;
|
||||
|
||||
--bg-1000: #fffcf7;
|
||||
--bg-800: #f2e8d7;
|
||||
--bg-700: #d9ccad;
|
||||
--accent: #92a40a;
|
||||
--text: #322e1f;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
@ -37,6 +31,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
body { font-family: InterVariable, sans-serif; }
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -50,12 +48,6 @@ body {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@supports (font-variation-settings: normal) {
|
||||
body {
|
||||
font-family: InterVariable, sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
|
|
|
@ -48,9 +48,10 @@
|
|||
|
||||
<style>
|
||||
button {
|
||||
/* min-width: 64px; */
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
padding: .7em .8em;
|
||||
height: 54px;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
@ -61,10 +62,12 @@
|
|||
text-align: left;
|
||||
|
||||
border-radius: 8px;
|
||||
border: 2px solid var(--bg-700);
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
|
||||
background-color: transparent;
|
||||
background-color: var(--bg-700);
|
||||
color: var(--text);
|
||||
border-color: transparent;
|
||||
|
||||
transition-property: border-color, background-color, color;
|
||||
transition-timing-function: ease-out;
|
||||
|
@ -79,11 +82,13 @@
|
|||
}
|
||||
|
||||
button:hover {
|
||||
background-color: color-mix(in srgb, transparent, var(--bg-700) 50%);
|
||||
background-color: color-mix(in srgb, var(--bg-700), var(--accent) 10%);
|
||||
border-color: color-mix(in srgb, var(--bg-700), var(--accent) 20%);
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: var(--bg-700);
|
||||
background-color: color-mix(in srgb, var(--bg-700), var(--bg-800) 50%);
|
||||
border-color: color-mix(in srgb, var(--bg-700), var(--bg-800) 10%);
|
||||
}
|
||||
|
||||
button.active {
|
||||
|
@ -122,6 +127,7 @@
|
|||
}
|
||||
|
||||
button.disabled {
|
||||
background-color: var(--bg-700);
|
||||
color: var(--text);
|
||||
opacity: .5;
|
||||
border-color: transparent;
|
||||
|
@ -129,15 +135,13 @@
|
|||
}
|
||||
|
||||
button.disabled:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
button.disabled:active {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.icon:not(:empty) {
|
||||
height: 1.8em;
|
||||
height: 150%;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
|
|
|
@ -200,8 +200,6 @@
|
|||
height: calc(100vh - 32px);
|
||||
border-radius: 8px;
|
||||
background-color: var(--bg-800);
|
||||
transition: background-color .1s linear;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.server-header {
|
||||
|
@ -215,7 +213,6 @@
|
|||
background-size: cover;
|
||||
background-color: var(--bg-600);
|
||||
background-image: linear-gradient(to top, var(--bg-800), var(--bg-600));
|
||||
transition: background .1s linear;
|
||||
}
|
||||
|
||||
.server-icon {
|
||||
|
@ -273,7 +270,6 @@
|
|||
font-size: .9em;
|
||||
opacity: .6;
|
||||
text-align: center;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.version ul {
|
||||
|
|
|
@ -141,19 +141,18 @@
|
|||
<style>
|
||||
.notification {
|
||||
display: block;
|
||||
border-top: 1px solid color-mix(in srgb, transparent, var(--text) 50%);
|
||||
margin-bottom: 8px;
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
background: var(--bg-800);
|
||||
text-decoration: inherit;
|
||||
color: inherit;
|
||||
transition: background-color .1s;
|
||||
cursor: pointer;
|
||||
}
|
||||
.notification:first-of-type {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.notification:hover {
|
||||
background-color: color-mix(in srgb, var(--bg-800), transparent 50%);
|
||||
background-color: color-mix(in srgb, var(--bg-800), black 5%);
|
||||
}
|
||||
|
||||
header {
|
||||
|
@ -281,7 +280,7 @@
|
|||
width: calc(100% - 16px);
|
||||
margin-bottom: 10px;
|
||||
padding: 4px 8px;
|
||||
--warn-bg: color-mix(in srgb, transparent, var(--bg-700) 50%);
|
||||
--warn-bg: color-mix(in srgb, var(--bg-700), var(--accent) 1%);
|
||||
background: repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--warn-bg) 10px, var(--warn-bg) 20px);
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
padding: 4px 8px;
|
||||
--warn-bg: color-mix(in srgb, transparent, var(--bg-700) 50%);
|
||||
--warn-bg: color-mix(in srgb, var(--bg-700), var(--accent) 1%);
|
||||
background: repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--warn-bg) 10px, var(--warn-bg) 20px);
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
|
@ -84,6 +84,7 @@
|
|||
}
|
||||
|
||||
.post-text {
|
||||
font-size: .9em;
|
||||
line-height: 1.45em;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
|
|
@ -76,16 +76,16 @@
|
|||
.post-container {
|
||||
width: 732px;
|
||||
max-width: 732px;
|
||||
margin-bottom: 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border-top: 1px solid color-mix(in srgb, transparent, var(--text) 25%);
|
||||
}
|
||||
.post-container:first-of-type {
|
||||
border-top: none;
|
||||
border-radius: 8px;
|
||||
background-color: var(--bg-800);
|
||||
}
|
||||
|
||||
.post {
|
||||
padding: 16px;
|
||||
border-radius: 8px;
|
||||
transition: background-color .1s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -100,7 +100,7 @@
|
|||
}
|
||||
|
||||
.post:hover {
|
||||
background-color: color-mix(in srgb, transparent, var(--bg-800) 25%);
|
||||
background-color: color-mix(in srgb, var(--bg-800), black 5%);
|
||||
}
|
||||
|
||||
.post-container:has(.post-context) .post {
|
||||
|
|
|
@ -61,12 +61,13 @@
|
|||
flex-direction: row;
|
||||
color: var(--text);
|
||||
align-items: stretch;
|
||||
border-radius: 8px;
|
||||
transition: background-color .1s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.post-reply:hover {
|
||||
background-color: color-mix(in srgb, var(--bg-800), transparent 50%);
|
||||
background-color: color-mix(in srgb, var(--bg-800), black 5%);
|
||||
}
|
||||
|
||||
.post-avatar-container {
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
margin: 16px 0 8px 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
|
@ -61,7 +60,6 @@
|
|||
margin-left: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue