aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
Diffstat (limited to 'styles')
-rw-r--r--styles/Home.module.css49
-rw-r--r--styles/globals.css19
2 files changed, 68 insertions, 0 deletions
diff --git a/styles/Home.module.css b/styles/Home.module.css
new file mode 100644
index 0000000..adc1e86
--- /dev/null
+++ b/styles/Home.module.css
@@ -0,0 +1,49 @@
+.container {
+ width: 100%;
+ height: 100%;
+ display: flex;
+ overflow: hidden;
+}
+
+.main {
+ height: 100%;
+ flex: 1 1 auto;
+}
+
+.asideToggle {
+ display: none;
+}
+
+@media only screen and (max-width: 500px) {
+ .asideToggle {
+ width: 36px;
+ height: 36px;
+ padding-bottom: 3px;
+ padding-left: 2px;
+ border: 2px solid rgba(0, 0, 0, 0.2);
+ border-radius: 4px;
+ display: block;
+ position: absolute;
+ top: 10px;
+ left: 10px;
+ z-index: 999;
+ transform: rotate(90deg);
+ font-family: 'Lucida Console', Monaco, monospace;
+ font-size: 18px;
+ font-weight: 700;
+ letter-spacing: -5px;
+ background-color: #fff;
+ background-clip: padding-box;
+ cursor: pointer;
+ user-select: none;
+ outline: currentcolor none medium;
+ }
+
+ .asideToggle:hover {
+ background-color: #f4f4f4;
+ }
+
+ .asideOpen {
+ left: 0;
+ }
+}
diff --git a/styles/globals.css b/styles/globals.css
new file mode 100644
index 0000000..fc3ded1
--- /dev/null
+++ b/styles/globals.css
@@ -0,0 +1,19 @@
+html,
+body,
+#__next {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ margin: 0;
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
+ Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
+}
+
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
+* {
+ box-sizing: border-box;
+}