<style type="text/css">
/*---- Night Mode/Dark Mode Feature - By TwistBlogg.com ----*/
.modedark {
background-color: #5e5c61; /*Background color of icon*/
z-index: 999;
max-width: fit-content;
opacity:0.7 /*Opacity Degree Of Icon*/
}
.modedark svg {
width: 24px;
height: 24px;
vertical-align: -5px;
background-repeat: no-repeat!important;
content: ''
}
.modedark svg path {
fill: #fff
}
.modedark .check:checked~.NavMenu {
opacity: 1;
visibility: visible;
top: 45px;
min-width: 200px;
transition: all .3s ease;
z-index: 2
}
.iconmode {
cursor: pointer;
display: block;
padding: 8px;
background-position: center;
transition: all .5s linear
}
.iconmode:hover {
border-radius: 100px;
opacity:0.9;
background: rgba(0, 0, 0, .6) radial-gradient(circle, transparent 2%, rgba(0, 0, 0, .6) 2%) center/15000%;
title: Dark Theme;
}
.check {
display: none
}
.modedark .iconmode .openmode {
display: block
}
.modedark .iconmode .closemode {
display: none
}
.modedark .check:checked~.iconmode .openmode {
display: none
}
.modedark .check:checked~.iconmode .closemode {
display: block
}
/*----- Start adding Elements From here -----*/
// Below are some samples only
// Start with .nightmode followed by element(class or id) {their_properties}
.nightmode{background:#15202B;color:rgba(255,255,255,.7)}
/* --- Add More Elements --- */
.nightmode .post-body {
color:#c4c4c4;
}
.nightmode .centered-top-container, .nightmode .centered-top-placeholder {
background-color: #15202B;
}
.nightmode .sidebar-container {
background-color:#15202B;}
.nightmode #footerz {
background-color: #131d28;
}
.nightmode #footerz hr {
border: 1px solid #1f2f3f;
}
.nightmode #emoticonz {
background-color:#142331;
color:#000;
}
.nightmode .sidebar-container .svg-icon-24 {
fill: #c0c0c0;
}
.nightmode #postMainTitle {
background-color: #1b242e;
box-shadow: 1px 2px #182633;
color:white;
}
.nightmode .Blog .post-body {
color: #d1d1d1;
}
.nightmode .post-footer .post-labels .byline-label {
color: #828282 !important;
}
.nightmode .post-title a {
color:white;
}
.nightmode .post-header-container .byline a {
color:white;
}
.nightmode .sidebar-container .widget .title{
color:white;
}
.nightmode .post-snippet .snippet-fade{
background: linear-gradient(to left,#1e1f2f 0,#1e1f2f 20%,rgb(255 255 255 / 0%) 100%);
color:white;
}
.nightmode .sidebar .widget{ border-top: 1px solid #1f2f3f;}
.nightmode #HTML13 {
border-top:none;
}
.nightmode #HTML17 {
border-bottom:none;
}
.nightmode #HTML16 {
border:none;
}
#HTML16 {
border:none;
}
#HTML17 {
border-bottom:none;
}
.nightmode .ScrollToTop .fas {
fill:#fff;
}
.nightmode .comment-header a {
color: #ffffff !important;
}
.nightmode .comment .comment-actions a {
background-color: #394161;
color: #c0c0c0;}
.nightmode .comment .comment-actions a:hover {
color: white;
background: #3f425b;
}
.nightmode .comment-block{
background:none;
border:1px dotted #494949;
box-shadow: 1px 1px #2e2d5e;
}
.nightmode #comments .avatar-image-container img {
border: 1px solid #142331;
}
.nightmode .comments .avatar-image-container {
border: 1px solid #142331;
box-shadow: 1px 1px 3px #142331;
}
.nightmode #top-ce{
background:none;
color:white;
}
.nightmode .Blog .post-title, .nightmode .Blog .post-title a {
background-color: #1b242e;
color:white;
}
.nightmode .post-title, .nightmode .post-title a {
background-color: #15202B;
}
.nightmode .search-input input {
color: #ffffff;
}
.nightmode .feed-message {
color: #b4b4b4;
}
</style>
<style>
.span_light_dark_toggle {
display: inline;
font-size: 15px;
font-family: aldrich;
color: #797979;
float: left;
padding-top: 12px;
padding-left: 18px;
animation: blinkingText 4s linear infinite;
}
@keyframes blinkingText{
50%{ opacity: 0; }
}
</style>
<script type='text/javascript'>
//<![CDATA[
/* Night Mode/Dark Mode Feature - By TwistBlogg.com */
/* Keep the Credit Intact */
$(document).ready(function(){$("body").toggleClass(localStorage.toggled),$("#modedark").on("click",function(){"nightmode"!=localStorage.toggled?($("body").toggleClass("nightmode",!0),localStorage.toggled="nightmode",$(".section-center").css("display","block")):($("body").toggleClass("nightmode",!1),localStorage.toggled="",$(".section-center").css("display",""))}),$("body").hasClass("nightmode")?$("#modedark").prop("checked",!0):$("#modedark").prop("checked",!1)});
//]]>
</script>
<div style="float:left;" class='modedark'><input class='check' id='modedark' title='Mode Dark' type='checkbox'/>
<label class='iconmode' for='modedark'>
<svg class='openmode' viewbox='0 0 24 24'>Dark Mode<path d='M12,18C11.11,18 10.26,17.8 9.5,17.45C11.56,16.5 13,14.42 13,12C13,9.58 11.56,7.5 9.5,6.55C10.26,6.2 11.11,6 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z'/></path></svg>
<svg class='closemode' viewbox='0 0 24 24'>Light Mode<path d='M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z'/></path></svg>
</label>
</div>
<span class="span_light_dark_toggle" style="display:inline; font-size:15px; font-family:aldrich; color: #797979; float:left;">Toggle Light/Dark Mode</span>
<div style="clear:both;"><div></div></div>
Comments
Post a Comment