summaryrefslogtreecommitdiff
path: root/src/components/Root.module.css
diff options
context:
space:
mode:
authorHaishan <[email protected]>2019-04-14 22:56:14 +0800
committerHaishan <[email protected]>2019-04-14 22:56:14 +0800
commit7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e (patch)
tree44ca70a51497d5e0dddadaca384ee20541a157fe /src/components/Root.module.css
parent4a4f58c88a857d222fbd21749bfd7019eaee8659 (diff)
refactor: replace sass with postcss
Diffstat (limited to 'src/components/Root.module.css')
-rw-r--r--src/components/Root.module.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/components/Root.module.css b/src/components/Root.module.css
new file mode 100644
index 0000000..c35c4cb
--- /dev/null
+++ b/src/components/Root.module.css
@@ -0,0 +1,33 @@
+.app {
+ display: flex;
+
+ background: var(--color-background);
+ color: var(--color-text);
+ min-height: 300px;
+ height: 100vh;
+
+ @media (max-width: 768px) {
+ flex-direction: column;
+ }
+}
+
+.content {
+ flex-grow: 1;
+ overflow: auto;
+
+ /*
+
+ $w: 7px;
+ &::-webkit-scrollbar {
+ width: $w;
+ }
+ &::-webkit-scrollbar-thumb {
+ border-radius: 20px;
+ background-color: rgba(221, 221, 221, 0.7);
+ }
+ &::-webkit-scrollbar-corner {
+ background: transparent;
+ }
+
+ */
+}