aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-01 21:08:49 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-05-01 21:08:49 +0530
commitf96351a3201cb1efa7b936cefe7ac24431de8203 (patch)
tree1e5993e0d9b7ed5ff3036dc2f23f763c7242abcd
parente2d0df964fafee6efebed51d817354ffb5b494be (diff)
organised styles and updated color scheme
-rw-r--r--src/styles/_theme.scss12
-rw-r--r--src/styles/global.scss31
2 files changed, 40 insertions, 3 deletions
diff --git a/src/styles/_theme.scss b/src/styles/_theme.scss
index 6a37dab..357a026 100644
--- a/src/styles/_theme.scss
+++ b/src/styles/_theme.scss
@@ -16,10 +16,16 @@ $defShadow: 0px 0px 4px #232627;
*/
/* Inspired by Dracula */
+
$defBG: #282A36;
$altBG: #383A59;
+
+$floatingContainerBG: #282C3466;
+$floatingBG: #2e323b;
+
$defFG: #F2F2F2;
$altFG: #FF79C6;
+
$defLink: $defFG;
$altLink: $altFG;
$defBorderColor: lightgreen;
@@ -35,5 +41,7 @@ $warningColor: red;
$warningBorderColor: $warningColor;
-$defShadow: 0px 4px 4px $altBG;
-
+$shadowColor: #232627;
+$defBigShadow: 0px 8px 4px $shadowColor;
+// $floatingShadow: 0px 8px 4px 0 $shadowColor, 0px 6px 20px 0 $shadowColor;
+$floatingShadow: 6px 6px 3px $shadowColor;
diff --git a/src/styles/global.scss b/src/styles/global.scss
index 581cb34..6b1c244 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -35,9 +35,38 @@ body {
border: 1px solid pink;
}
+.FloatingMenuBG {
+ height: 100vh;
+ width: 100vw;
+ position: fixed;
+ top: 0;
+ left: 0;
+ background-color: $floatingContainerBG;
+}
+
+.FloatingMenu {
+ position: fixed;
+
+ width: 95%;
+ height: 70vh;
+ box-sizing: border-box;
+
+
+ left: 0; right: 0;
+ margin: auto;
+ top: 15vh;
+
+ background-color: $floatingBG;
+ box-shadow: $floatingShadow;
+ border: 1px solid $defBorderColor;
+
+
+ padding: 1.5rem;
+}
+
+
@media only screen and (max-device-width: 480px) {
.root-content {
width: 95%;
}
}
-