aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets/style.css
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-08 18:38:03 +0300
committerGravatar Vitaly Takmazov2020-10-08 18:38:03 +0300
commit78be8499ff86aaefca14d91abe2f1dd1ff98fa80 (patch)
treecfd8fbd999f48015de00b3a0c5631204fc999455 /src/main/assets/style.css
parent04f0db43fa33dd3752edc9437c67c85a364b5ff4 (diff)
Desktop layout fixes
Diffstat (limited to 'src/main/assets/style.css')
-rw-r--r--src/main/assets/style.css28
1 files changed, 21 insertions, 7 deletions
diff --git a/src/main/assets/style.css b/src/main/assets/style.css
index 95ecab60..95e4e3e7 100644
--- a/src/main/assets/style.css
+++ b/src/main/assets/style.css
@@ -294,15 +294,17 @@ pre::-moz-selection {
margin: 10px 0;
}
+#column {
+ background: var(--main-background-color);
+}
+
#column .margtop {
margin-top: 15px;
}
#column .tags {
- background: var(--main-background-color);
- border: 1px solid var(--border-color);
line-height: 140%;
- padding: 6px;
+ padding: 12px;
text-align: justify;
}
@@ -1004,11 +1006,11 @@ article p {
@media (--viewport-desktop) {
#column {
+ position: sticky;
padding: 12px;
- left: 0;
- top: 66px;
- width: 240px;
+ margin-top: 66px;
height: 100%;
+ z-index: auto;
overflow-y: auto;
}
article,
@@ -1016,6 +1018,18 @@ article p {
.msg-cont {
width: 640px;
}
+ #sidebar_wrapper {
+ position: fixed;
+ width: 300px;
+ }
+ #header_wrapper,
+ #content_wrapper {
+ width: 1000px;
+ margin: 0 auto;
+ }
+ #content_wrapper {
+ display: flex;
+ }
#footer {
padding: 10px;
}
@@ -1026,8 +1040,8 @@ article p {
display: none;
}
#content {
- margin-left: 240px;
padding-bottom: 12px;
+ width: 100%;
}
.toolbar {
flex-direction: column;