Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gurusabarish/hugo-profile.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorgurusabarish <gurusabarisha@gmail.com>2022-01-26 15:03:09 +0300
committergurusabarish <gurusabarisha@gmail.com>2022-01-26 15:03:09 +0300
commitd159cfb59462feffc775440f014c6d3c30bae5be (patch)
tree5b38a3714de22aa57ab59141be9e4c99bff87203 /static
parentaeec9ef74fe73be9bf57dd3b01efc61042435193 (diff)
dropdown v3 #44
Diffstat (limited to 'static')
-rw-r--r--static/css/v3/darkmode.css5
-rw-r--r--static/css/v3/navbar-footer.css3
-rw-r--r--static/css/v3/v3.css6
-rw-r--r--static/js/auto_darkmode.js2
4 files changed, 7 insertions, 9 deletions
diff --git a/static/css/v3/darkmode.css b/static/css/v3/darkmode.css
index 104c983..2368c50 100644
--- a/static/css/v3/darkmode.css
+++ b/static/css/v3/darkmode.css
@@ -10,5 +10,6 @@
color: #b0b3b8 !important;
}
-
-
+.darkmode-dropdown-menu {
+ background-color: #212121 !important;
+}
diff --git a/static/css/v3/navbar-footer.css b/static/css/v3/navbar-footer.css
index 189b45a..973a667 100644
--- a/static/css/v3/navbar-footer.css
+++ b/static/css/v3/navbar-footer.css
@@ -9,6 +9,9 @@
.navbar-text {
font-size: 16px !important;
}
+li> .dropdown-toggle:focus{
+ color: #007bff !important;
+}
/* v2 and v3 footer */
footer {
diff --git a/static/css/v3/v3.css b/static/css/v3/v3.css
index 9988a51..f189655 100644
--- a/static/css/v3/v3.css
+++ b/static/css/v3/v3.css
@@ -205,13 +205,9 @@ a:hover {
}
/* v3 experience */
-#experience {
-}
#nav-pills-out {
border-left: 1px solid #007bff;
}
-.nav-pills .nav-link {
-}
.nav-pills .active {
padding-left: 20%;
color: #818181 !important;
@@ -224,8 +220,6 @@ a:hover {
left: 0px;
color: #007bff;
}
-.tab-pane {
-}
.ex {
list-style-type: none;
}
diff --git a/static/js/auto_darkmode.js b/static/js/auto_darkmode.js
index 51a8fd7..0dc5a3a 100644
--- a/static/js/auto_darkmode.js
+++ b/static/js/auto_darkmode.js
@@ -7,6 +7,7 @@ function setCookie(name,value,days) {
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
+
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
@@ -52,7 +53,6 @@ function switchDarkmodeSetting() {
}
}
-
const check_darkmode = getDarkmodeSetting();
const darkmode_prefer = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (darkmode_prefer && check_darkmode === null) {