diff --git a/Stargate-RPG/src/_core.scss b/Stargate-RPG/src/_core.scss index 87b1d02c4d..ecd89a8056 100644 --- a/Stargate-RPG/src/_core.scss +++ b/Stargate-RPG/src/_core.scss @@ -184,14 +184,6 @@ #SECTIONS \*-----------------------------------------------------------------*/ - .version { - float: left; - margin-top: -114px; - width: 240px; - margin-left: 550px; - display: flex; - flex-flow: row nowrap; - } /* --------- General Section Styling ------------- */ @@ -356,10 +348,21 @@ div.tab-buttons{ display: flex; gap: 10px; + z-index: 10; + position: sticky; + top: 40px; + border: 3px solid black; + border-radius: 5px; + background-color: hsla(0, 0%, 85%, 1); + width: 834px; button{ font-size: 1.5em; } + .version { + display: flex; + flex-flow: row nowrap; + } } diff --git a/Stargate-RPG/src/core.html b/Stargate-RPG/src/core.html index 8f58417a91..75da5eb081 100644 --- a/Stargate-RPG/src/core.html +++ b/Stargate-RPG/src/core.html @@ -4,11 +4,10 @@ + Sheet Version: -Sheet Version: - diff --git a/Stargate-RPG/stargate.css b/Stargate-RPG/stargate.css index 61b2aa6b40..8a96a6a525 100644 --- a/Stargate-RPG/stargate.css +++ b/Stargate-RPG/stargate.css @@ -173,14 +173,6 @@ border-radius: 10px; background-position: 0 -28px; } -.charsheet .version { - float: left; - margin-top: -114px; - width: 240px; - margin-left: 550px; - display: flex; - flex-flow: row nowrap; -} .charsheet .section, .charsheet section { display: flex; @@ -319,10 +311,21 @@ .charsheet div.tab-buttons { display: flex; gap: 10px; + z-index: 10; + position: sticky; + top: 40px; + border: 3px solid black; + border-radius: 5px; + background-color: #d9d9d9; + width: 834px; } .charsheet div.tab-buttons button { font-size: 1.5em; } +.charsheet div.tab-buttons .version { + display: flex; + flex-flow: row nowrap; +} .charsheet section.name { grid-area: name; padding: 5px 0px 0px 0px; diff --git a/Stargate-RPG/stargate.html b/Stargate-RPG/stargate.html index a07f09128f..c33ba12969 100644 --- a/Stargate-RPG/stargate.html +++ b/Stargate-RPG/stargate.html @@ -5,11 +5,10 @@ + Sheet Version: -Sheet Version: -