aboutsummaryrefslogtreecommitdiffstats
path: root/scss
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-01 08:35:02 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-01 08:35:02 +0000
commit4803828015e1141528ec66411532e5c0c3a4f5dc (patch)
tree761c771203056bd53867e5496bec6c9e1e0f60c8 /scss
parentload static render before UI (diff)
downloadmmm-4803828015e1141528ec66411532e5c0c3a4f5dc.tar.gz
mmm-4803828015e1141528ec66411532e5c0c3a4f5dc.zip
refactor browser SCSS
Diffstat (limited to 'scss')
-rw-r--r--scss/browser.scss24
-rw-r--r--scss/main.scss2
2 files changed, 26 insertions, 0 deletions
diff --git a/scss/browser.scss b/scss/browser.scss
new file mode 100644
index 0000000..611a157
--- /dev/null
+++ b/scss/browser.scss
@@ -0,0 +1,24 @@
+#browser-root {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+
+ #browser-navbar {
+ display: flex;
+ flex: 0 0 1.2em;
+ padding: 1em;
+ justify-content: space-between;
+ background: #eeeeee;
+ }
+
+ #browser-content {
+ flex: 1 0 0;
+ overflow: auto;
+ padding: 1em 2em;
+ }
+}
diff --git a/scss/main.scss b/scss/main.scss
index ca2f11c..ce10c7c 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -1,5 +1,7 @@
@import 'hljs';
+@import 'browser';
+
body {
font-family: sans-serif;
}