Finalize theme

This commit is contained in:
hossainemruz 2020-04-18 22:59:58 +06:00
parent 91286e6577
commit 07e816219f
18 changed files with 109 additions and 64 deletions

View file

@ -44,17 +44,20 @@
<div class="container">
<div class="row text-left">
<div class="col-md-4">
Theme:
<a id="theme" href="https://github.com/hossainemruz/toha" target="#">Toha</a>
<a id="theme" href="https://github.com/hossainemruz/toha" target="#">
<img src="/assets/images/logos/logo-inverted.png">
Toha
</a>
</div>
<div class="col-md-4">© 2019 Copyright.</div>
<div class="col-md-4">
Powered by <a href="https://gohugo.io/">Hugo</a>
Powered by <a href="https://gohugo.io/">Hugo
<img
src="/assets/images/logos/hugo-logo-wide.svg"
alt="Hugo Logo"
height="18"
/>
</a>
</div>
</div>
</div>

View file

@ -12,5 +12,5 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" />
<!--================= fab-icon =========================-->
<link rel="icon" type="image/png" href="{{ .Site.Params.logo }}" />
<link rel="icon" type="image/png" href="/assets/images/logos/favicon.png" />

View file

@ -1,6 +1,9 @@
<nav class="navbar navbar-expand-xs top-navbar final-navbar shadow">
<nav class="navbar navbar-expand-lg top-navbar final-navbar shadow">
<div class="container">
<a class="navbar-brand" href="{{ .baseURL }}">{{ .title }}</a>
<a class="navbar-brand" href="{{ .baseURL }}">
<img src="/assets/images/logos/logo.png">
{{- .title -}}
</a>
<button class="navbar-toggler navbar-light" type="button" {{ if .hasToggleButton }}onclick="toggleSidebar()"{{ end }}>
<span class="navbar-toggler-icon"></span>
</button>

View file

@ -1,6 +1,9 @@
<nav class="navbar navbar-expand-lg top-navbar initial-navbar" id="top-navbar">
<div class="container">
<a class="navbar-brand" href="{{ .Site.BaseURL }}">{{- .Site.Title -}}</a>
<a class="navbar-brand" href="{{ .Site.BaseURL }}">
<img src="/assets/images/logos/logo-inverted.png" id="logo">
{{- .Site.Title -}}
</a>
<button
class="navbar-toggler navbar-dark"
id="navbar-toggler"

View file

@ -1,4 +1,4 @@
.achievements .container{
.achievements .container {
padding-top: 0.5rem;
}
@ -15,6 +15,7 @@
position: relative;
overflow: hidden;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
#gallery .achievement-entry:hover {
@ -22,6 +23,7 @@
z-index: 1;
transform: scale(1.1);
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
z-index: 20000;
}
@ -30,7 +32,9 @@
z-index: 1;
opacity: 1 !important;
transition: none !important;
-webkit-transition: none !important;
transform: none !important;
-webkit-transform: none !important;
}
#gallery .img-type-1 {
@ -67,6 +71,7 @@
.achievement-details.img-type-2 i {
margin-top: 0px !important;
transition: none !important;
-webkit-transition: none !important;
float: right;
}
@ -86,6 +91,7 @@
opacity: 1;
bottom: 0px;
transition: bottom 0.3s ease-out;
-webkit-transition: bottom 0.3s ease-out;
}
#gallery .caption {
@ -96,6 +102,7 @@
padding: 15px;
position: absolute;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
#gallery .caption h4 {

View file

@ -2,8 +2,8 @@
padding-bottom: 1rem;
}
.experiences .timeline{
margin-top: 1.5rem!important;
.experiences .timeline {
margin-top: 1.5rem !important;
}
.text-muted {

View file

@ -13,6 +13,7 @@
margin: 0;
background-attachment: fixed;
transform: scale(1.1);
-webkit-transform: scale(1.1);
filter: blur(3px);
-webkit-filter: blur(3px);
background-size: cover;
@ -109,7 +110,7 @@
height: auto;
}
.home .greeting{
.home .greeting {
font-size: 24pt;
}
}

View file

@ -12,12 +12,14 @@
min-height: 100vh;
overflow: auto;
transition: all ease-out 0.3s;
-webkit-transition: all ease-out 0.3s;
}
.sidebar.hide {
position: relative;
width: 0;
transition: all ease-out 0.3s;
-webkit-transition: all ease-out 0.3s;
z-index: -1001;
}
@ -29,6 +31,7 @@
border-radius: 5px;
background-color: #e5e9f2;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
border: 1px solid #c0ccda;
}
@ -43,8 +46,8 @@
position: fixed;
}
#list-heading{
padding-left: 0px!important;
#list-heading {
padding-left: 0px !important;
}
.tree,
@ -75,11 +78,11 @@
border-left: 1px solid;
}
.subtree{
.subtree {
padding-left: 0.7rem;
}
.subtree:before{
.subtree:before {
content: "";
display: block;
width: 0;
@ -122,11 +125,13 @@
text-decoration: none;
color: #131313;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.tree li a:hover {
margin-left: 3px;
color: #2098d1;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.tree i {
@ -230,7 +235,6 @@ a.focused {
.content.overley {
width: 60vw;
padding-left: 3px;
/* margin-left: -50vw; */
}
.navbar-toggler {
display: block;
@ -242,6 +246,7 @@ a.focused {
.sidebar nav {
display: none;
transition: all ease-out 0.3s;
-webkit-transition: all ease-out 0.3s;
}
.sidebar.hide {
position: relative;
@ -252,9 +257,10 @@ a.focused {
.sidebar-tree {
margin-left: -20rem;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.sidebar.hide .sidebar-tree{
.sidebar.hide .sidebar-tree {
margin-left: 1.5rem;
transition: all 0.3s ease-out;
}
@ -319,6 +325,7 @@ a.focused {
min-height: 0;
overflow: hidden;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.sidebar-tree {
@ -332,38 +339,44 @@ a.focused {
max-height: 100vh;
overflow: hidden;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.sidebar-tree{
.sidebar-tree {
margin-left: 1.5rem;
}
.sidebar.hide .sidebar-tree{
.sidebar.hide .sidebar-tree {
margin-left: 1.5rem;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.content-cards {
padding-top: 20px;
padding-left: 0px;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.content.overley .content-cards {
padding-top: 0px;
padding-left: 0px;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.post-cards {
margin: 0;
margin-top: 32px;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.content.overley .post-cards {
margin: 0;
transition: all ease-out 0.5s;
-webkit-transition: all ease-out 0.5s;
}
.post-cards .filtr-item {

View file

@ -5,8 +5,8 @@
width: 100%;
height: 50px;
z-index: 99999;
-webkit-transition: all 0.4s ease-out;
transition: all 0.4s ease-out;
-webkit-transition: all 0.4s ease-out;
margin: 0;
padding-top: 0.1rem;
text-align: center;
@ -15,7 +15,7 @@
/* --- initial state start ------ */
.initial-navbar {
background-color: none;
background-color: transparent;
}
.initial-navbar .navbar-brand {
@ -30,8 +30,12 @@
.initial-navbar .navbar-nav .active,
.initial-navbar li a:hover {
color: #f9fafc;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.navbar-collapse {
margin-top: -5px;
}
.navbar-collapse.show,
@ -47,8 +51,8 @@
.final-navbar {
background-color: #f9fafc;
color: #1c2d41;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.final-navbar .navbar-brand {
@ -59,16 +63,16 @@
.final-navbar li a {
color: #1c2d41;
font-weight: 500;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
border-bottom: 2px solid#F9FAFC;
}
.final-navbar .navbar-nav .active,
.final-navbar li a:hover {
color: #2098d1;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
border-bottom: 2px solid #2098d1;
background: rgb(2, 0, 36);
background: linear-gradient(
@ -82,15 +86,13 @@
.navbar-collapse.collapsing li a {
color: #1c2d41;
font-weight: 500;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.navbar-collapse.show .navbar-nav .active,
.navbar-collapse.show .navbar-nav a:hover {
color: #2098d1;
/* -webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out; */
}
#top-navbar-divider {
@ -113,29 +115,11 @@
height: 20px;
width: 2px;
}
/*------ navbar on blog page start ----*/
.final-navbar .navbar-toggler {
padding: 2px !important;
}
.blog-navbar .navbar-brand {
color: #1c2d41;
font-weight: 800;
}
.blog-navbar li a {
color: #1c2d41;
font-weight: 500;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
.blog-navbar .navbar-nav .active,
.blog-navbar li a:hover {
color: #2098d1;
/* -webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out; */
.navbar-brand img {
width: 42px;
padding: 5px;
margin-left: -10px;
}
/* ============= Device specific fixes ======= */
@ -160,18 +144,23 @@
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
.top-navbar .container {
max-width: 100%;
padding: 0;
}
.initial-navbar .navbar-nav .active,
.initial-navbar li a:hover {
color: #2098d1;
-webkit-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.final-navbar .navbar-nav .active,
.final-navbar li a:hover {
color: #2098d1;
-webkit-transition: none;
transition: none;
-webkit-transition: none;
border-bottom: none;
background: transparent;
}
@ -183,6 +172,7 @@
.final-navbar .navbar-collapse.show {
box-shadow: 5px 10px 10px rgba(192, 204, 218, 0.3);
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.dropdown-divider {

View file

@ -56,7 +56,7 @@
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
.projects .btn{
.projects .btn {
margin-top: 5px;
}
}

View file

@ -1,4 +1,4 @@
body{
body {
background-color: #e5e9f2;
}
.read-area {
@ -10,7 +10,7 @@ body{
}
.hero-area {
margin-top: 3.5rem;
margin-top: 3rem;
width: 100%;
height: 400px;
background-position: center;
@ -160,11 +160,13 @@ mark {
.next-prev-navigator a {
color: #2098d1;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.next-prev-navigator a:hover {
color: #3c4858;
transition: all 0.3 ease-out;
-webkit-transition: all 0.3 ease-out;
}
.next-prev-navigator .next-article {
@ -173,10 +175,12 @@ mark {
.next-prev-navigator .next-article a {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.next-prev-navigator .previous-article a {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.next-prev-navigator .btn-outline-info {
@ -184,12 +188,14 @@ mark {
border-color: #e5e9f2 !important;
background-color: #248aaa !important;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.next-prev-navigator .btn-outline-info:hover {
color: #3c4858 !important;
background-color: #e5e9f2 !important;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.disquss {
@ -205,9 +211,6 @@ mark {
.container {
max-width: 100%;
}
.container {
padding: 10px;
}
}
@media only screen and (max-width: 576px) {
.wrapper {
@ -240,4 +243,9 @@ mark {
.next-article a {
width: 100%;
}
#disqus_thread,
.dsq-brlink {
padding: 5px;
}
}

View file

@ -43,7 +43,7 @@ a:hover {
border-color: #3c4858;
color: #e5e9f2;
transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.btn-dark:hover,
@ -51,7 +51,7 @@ a:hover {
background-color: #248aaa;
border-color: #248aaa;
transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.btn-outline-info {
@ -89,6 +89,7 @@ a:hover {
.card {
box-shadow: none;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
overflow: hidden;
}
@ -107,6 +108,7 @@ a:hover {
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
border: 1px solid #fff;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.card .card-head {
@ -116,13 +118,16 @@ a:hover {
}
.card-img-top {
transition: all 0.3s ease-out!important;
transition: all 0.3s ease-out !important;
-webkit-transition: all 0.3s ease-out !important;
}
.card:hover .card-head .card-img-top,
.card:focus .card-head .card-img-top {
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
transform: scale(1.2);
-webkit-transform: scale(1.2);
}
.card-title {
@ -153,13 +158,13 @@ a:hover {
.footer a {
color: #8392a5;
transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.footer a:hover {
margin-left: 5px;
transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
}
.footer ul {
@ -191,6 +196,10 @@ a:hover {
color: #c0ccda;
}
.footer #theme img {
width: 32px;
}
/* --- FOOTER END ---- */
/* ============= Device specific fixes ======= */
@ -220,7 +229,11 @@ a:hover {
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
.container-fluid.about, .container-fluid.skills, .container-fluid.projects, .container-fluid.recent-posts, .container-fluid.achievements{
.container-fluid.about,
.container-fluid.skills,
.container-fluid.projects,
.container-fluid.recent-posts,
.container-fluid.achievements {
padding-left: 5px;
padding-right: 5px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -14,12 +14,16 @@
$('#navbar-toggler').removeClass('navbar-dark');
$('#navbar-toggler').addClass('navbar-light');
$('#logo').attr("src","/assets/images/logos/logo.png");
} else {
$('#top-navbar').removeClass('final-navbar shadow');
$('#top-navbar').addClass('initial-navbar');
$('#navbar-toggler').removeClass('navbar-light');
$('#navbar-toggler').addClass('navbar-dark');
$('#logo').attr("src","/assets/images/logos/logo-inverted.png");
}
});
});