Improve mobile layout
This commit is contained in:
1 parent
4b271a08ab
commit
bf2bf78bb5
4 files changed
+32
-2
No files matched your search
@@ -32,6 +32,21 @@
|
|||||||
<style>
|
<style>
|
||||||
.post-content {
|
.post-content {
|
||||||
line-height: 1.75;
|
line-height: 1.75;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-content :global(table) {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
overflow-x: auto;
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-content :global(th),
|
||||||
|
.post-content :global(td) {
|
||||||
|
padding: 0.35rem 0.75rem;
|
||||||
|
border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent);
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content :global(h1),
|
.post-content :global(h1),
|
||||||
@@ -127,6 +142,7 @@
|
|||||||
|
|
||||||
.post-content :global(img) {
|
.post-content :global(img) {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content :global(hr) {
|
.post-content :global(hr) {
|
||||||
|
|||||||
@@ -68,5 +68,9 @@
|
|||||||
.level {
|
.level {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.battery {
|
||||||
|
padding: 0 0.3rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -93,5 +93,13 @@
|
|||||||
.status-name {
|
.status-name {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.discord-status {
|
||||||
|
margin-right: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-button {
|
||||||
|
padding: 0 0.45rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -29,15 +29,17 @@
|
|||||||
.section-title::before,
|
.section-title::before,
|
||||||
.section-title::after {
|
.section-title::after {
|
||||||
content: '';
|
content: '';
|
||||||
height: 1px;
|
height: 0;
|
||||||
background: color-mix(in srgb, var(--foreground) 25%, transparent);
|
border-top: 1px solid color-mix(in srgb, var(--foreground) 25%, transparent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title::before {
|
.section-title::before {
|
||||||
|
flex-shrink: 0;
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title::after {
|
.section-title::after {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
min-width: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in new issue
Block a user