aboutsummaryrefslogtreecommitdiff
path: root/htdocs/scss/app/mobile.scss
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-10 01:30:05 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-10 23:53:02 +0300
commit1c524efbf7da91cb99bb4516feb514071e938495 (patch)
treee1fced0104749014db154f5d3b29881e705bfafc /htdocs/scss/app/mobile.scss
parent8979719a1af4bc0712407db7f95704f645f261a3 (diff)
dark theme support
Diffstat (limited to 'htdocs/scss/app/mobile.scss')
-rw-r--r--htdocs/scss/app/mobile.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/htdocs/scss/app/mobile.scss b/htdocs/scss/app/mobile.scss
new file mode 100644
index 0000000..a765e25
--- /dev/null
+++ b/htdocs/scss/app/mobile.scss
@@ -0,0 +1,41 @@
+@import '../vars';
+
+textarea {
+ -webkit-overflow-scrolling: touch;
+}
+
+// header
+.head-logo {
+ position: static;
+ display: block;
+ //padding-bottom: 6px;
+ // not very good fix:
+ overflow: hidden;
+ white-space: nowrap;
+ padding-bottom: 0;
+}
+.head-logo::after {
+ display: none;
+}
+.head-items {
+ float: none;
+}
+a.head-item:hover,
+a.head-item:active {
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
+}
+a.head-item:last-child > span {
+ border-right: 0;
+ padding-right: 12px;
+}
+a.head-item:first-child > span {
+ padding-left: 1px;
+}
+
+// blog
+.blog-tags {
+ display: none;
+}
+.blog-list.withtags {
+ margin-right: 0;
+}