aboutsummaryrefslogtreecommitdiff
path: root/source/css/theme.scss
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-11-24 21:40:10 +0100
committerneodarz <neodarz@neodarz.net>2019-11-24 21:40:10 +0100
commit64da66626e7d9d809495c07d310969e44482d0f9 (patch)
treee84da1f5ee7972ee9c4db1a5aa4a30c8bd922528 /source/css/theme.scss
parent5c1e0dda4e2d3d04eaa70525d5d3f3020d542b64 (diff)
downloadmy_new_personal_website-64da66626e7d9d809495c07d310969e44482d0f9.tar.xz
my_new_personal_website-64da66626e7d9d809495c07d310969e44482d0f9.zip
Add right menu language switch
Diffstat (limited to 'source/css/theme.scss')
-rw-r--r--source/css/theme.scss37
1 files changed, 37 insertions, 0 deletions
diff --git a/source/css/theme.scss b/source/css/theme.scss
index ef5c3dc2..5ae5af95 100644
--- a/source/css/theme.scss
+++ b/source/css/theme.scss
@@ -138,6 +138,16 @@ ul li:before {
}
}
+.lia:hover .left-lia::after {
+ content: "█▓▒░";
+ white-space: pre;
+}
+
+.lia:hover .right-lia::after {
+ content: "░▒▓█";
+ white-space: pre;
+}
+
/* subMenu design */
.subnav {
position: fixed;
@@ -282,6 +292,33 @@ ul li:before {
}
}
+/* menu lang switcher */
+
+.lang_switch {
+ position: fixed;
+ right: 11.5%;
+ width: 83px;
+ text-align: center;
+}
+
+.lang_switch .current {
+ color: black;
+}
+
+.lang_switch .current.lia li {
+ background-color: #fff;
+}
+
+.lang_switch .current .left-lia::after {
+ content: " ";
+ white-space: pre;
+}
+
+.lang_switch .current .right-lia::after {
+ content: " ";
+ white-space: pre;
+}
+
/* end menus design */