Alphabetically order css and fix hover

This commit is contained in:
Avijit 🚀
2021-06-04 14:54:35 +02:00
committed by Yash Mehrotra
parent 34702581dd
commit f1b6f08dc4

View File

@@ -12,16 +12,16 @@ html.gokarna-light {
/* HEADER */ /* HEADER */
.header { .header {
position: fixed;
height: 70px; height: 70px;
left: 0; left: 0;
position: fixed;
top: 0; top: 0;
width: 100%;
-ms-transition: all 0.5s ease-out; -ms-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out;
-webkit-transition: all 0.5s ease-out; -webkit-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out; transition: all 0.5s ease-out;
width: 100%;
} }
.header.gokarna-dark { .header.gokarna-dark {
background-color: #1b1c1d; background-color: #1b1c1d;
@@ -35,8 +35,8 @@ html.gokarna-light {
height: 50px; height: 50px;
} }
.header a { .header a {
text-decoration: none;
color: inherit; color: inherit;
text-decoration: none;
} }
.header .header-nav { .header .header-nav {
height: 50px; height: 50px;
@@ -51,32 +51,32 @@ html.gokarna-light {
margin-top: 0; margin-top: 0;
} }
.header-nav .avatar { .header-nav .avatar {
float: left;
margin-left: 15px;
height: 100%;
border: 0.5px solid white; border: 0.5px solid white;
border-radius: 18px; border-radius: 18px;
float: left;
height: 100%;
margin-left: 15px;
} }
.header-nav .avatar img { .header-nav .avatar img {
border-radius: 100%;
display: block; display: block;
width: 50px;
height: 50px; height: 50px;
overflow: hidden; overflow: hidden;
border-radius: 100%; width: 50px;
} }
.header-nav .nav-title { .header-nav .nav-title {
display: inline-block; display: inline-block;
padding-left: 10px;
height: 100%; height: 100%;
line-height: 50px; line-height: 50px;
padding-left: 10px;
} }
.nav-title a { .nav-title a {
height: 50px;
font-size: 20px; font-size: 20px;
height: 50px;
} }
.header-nav .nav-links { .header-nav .nav-links {
line-height: 50px;
float: right; float: right;
line-height: 50px;
margin-right: 15px; margin-right: 15px;
} }
.nav-links .nav-link { .nav-links .nav-link {
@@ -94,25 +94,28 @@ html.gokarna-light {
border-left: 1px solid; border-left: 1px solid;
margin-right: 4.5px; margin-right: 4.5px;
} }
.nav-links #dark-light-theme-toggle:hover {
cursor: pointer;
}
/* TAGS */ /* TAGS */
.post-tags { .post-tags {
padding: 0;
list-style-type: none; list-style-type: none;
padding: 0;
} }
.post-tags .post-tag { .post-tags .post-tag {
display: inline-block;
background-color: #00b5ad; background-color: #00b5ad;
padding: 4px 12px;
border-radius: 4px;
border: 1px solid #00b5ad; border: 1px solid #00b5ad;
border-radius: 4px;
color: white; color: white;
display: inline-block;
font-size: 14px; font-size: 14px;
font-weight: 700; font-weight: 700;
padding: 4px 12px;
} }
.post-tag a { .post-tag a {
text-decoration: none;
color: inherit; color: inherit;
text-decoration: none;
} }
/* SINGLE */ /* SINGLE */
@@ -144,8 +147,8 @@ html.gokarna-light {
margin-top: 50px; margin-top: 50px;
} }
.tags-list .post-tags .post-tag { .tags-list .post-tags .post-tag {
padding: 0;
margin: 0 5px; margin: 0 5px;
padding: 0;
} }
.tags-list .post-tags .post-tag:hover { .tags-list .post-tags .post-tag:hover {
background-color: #009c95; background-color: #009c95;