diff --git a/scss/import/files.scss b/scss/import/files.scss new file mode 100644 index 0000000..19af17b --- /dev/null +++ b/scss/import/files.scss @@ -0,0 +1,5 @@ +body { + display: flex; + flex-direction: column; + margin: 0; +} diff --git a/scss/import/main.scss b/scss/import/main.scss new file mode 100644 index 0000000..bd6fd9d --- /dev/null +++ b/scss/import/main.scss @@ -0,0 +1,3 @@ +body { + margin: 0; +} diff --git a/scss/import/nom_globaltopbar.scss b/scss/import/nom_globaltopbar.scss index f9fd9e6..169fe41 100644 --- a/scss/import/nom_globaltopbar.scss +++ b/scss/import/nom_globaltopbar.scss @@ -25,13 +25,22 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar margin: 0; overflow-x: auto; overflow-y: hidden; - position: absolute; text-align: left; - top: -$ngtb_height; vertical-align: middle; white-space: nowrap; width: 100%; z-index: 9999; + @if $type == blog { + position: absolute; + top: -$ngtb_height; + } @else if $type == wiki { + position: absolute; + top: 0; + } @else { + order: -1; + position: sticky; + top: 0; + } ul { display: flex; flex: 1;