Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d132b53
styling
lumunge Feb 21, 2022
43a9bfe
sidebar markup and javascript
lumunge Feb 21, 2022
377477b
single post
lumunge Feb 21, 2022
4a658bb
left side bar
lumunge Feb 21, 2022
65efd4d
sidebar
lumunge Feb 21, 2022
f610b68
sidebar
lumunge Feb 21, 2022
5ef09a6
sidebar
lumunge Feb 21, 2022
56eb9ce
specific left sidebar for specified article
lumunge Feb 26, 2022
29f27f7
left side-bar tag title
lumunge Mar 5, 2022
e3c48b0
common left side-bar content
lumunge Mar 5, 2022
d9bd8b8
sticky left side-bar
lumunge Mar 5, 2022
51490a1
main wrapper container
lumunge Mar 5, 2022
111c32a
sticky left side-bar
lumunge Mar 5, 2022
ae3f2b9
side-bars styling
lumunge Mar 5, 2022
8ae284d
side-bar styling
lumunge Mar 5, 2022
b5e4275
side-bar
lumunge Mar 5, 2022
11ea87a
limited posts to 50
lumunge Mar 6, 2022
3e33bca
resized post images
lumunge Mar 6, 2022
b71f77a
resized post images
lumunge Mar 6, 2022
3e2dd54
left-side-bar font
lumunge Mar 6, 2022
df45a11
commenting right-side-bar
lumunge Mar 6, 2022
46d59de
limiting the left side-bar posts
lumunge Mar 6, 2022
65e26fa
left-side-bar top
lumunge Mar 6, 2022
71daaf9
top left sidebar
lumunge Mar 7, 2022
91585a9
common side bar links
lumunge Mar 7, 2022
df03d85
top left side bar implementation
lumunge Mar 7, 2022
d171494
left side bar link list
lumunge Mar 7, 2022
de763e8
side bar styling
lumunge Mar 7, 2022
995b3fb
test top post image
lumunge Mar 13, 2022
d6c8263
centering mobile content and image
lumunge Mar 13, 2022
10cc89c
removed extra content
lumunge Mar 13, 2022
36da3b7
sidebar uniformity
lumunge Mar 13, 2022
57cc82b
first implementation of dropdown navigation bar
lumunge Jun 20, 2022
7fb1122
dropdown navbar with arrow icons
lumunge Jun 25, 2022
81a8793
navigation bar dropdown fixes
lumunge Jul 9, 2022
266e44d
navigation bar dropdown
lumunge Jul 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
342 changes: 171 additions & 171 deletions assets/css/global.css

Large diffs are not rendered by default.

350 changes: 327 additions & 23 deletions assets/css/navbar.css
Original file line number Diff line number Diff line change
@@ -1,54 +1,358 @@

/*Navigation bar style */
.burger_menu{
margin-bottom: -20px;
.burger_menu {
line-height: 45px;
font-size: 20px;
}
.navbar_collapse a{
text-align: center;
.wrapper {
padding: 5px;
}

.navbar_collapse a {
text-align: center;
display: block;
text-align: center;
color: #575a60;
font-weight: normal;
margin: 30px;
font-size: 20px;
padding :10px;
padding: 10px;
border-bottom: 1px solid gray;

transition: all 0.5s ease;
}
.navbar_collapse a:hover{
.navbar_collapse a:hover {
color: #3eb0ef;
border-color: #3eb0ef;
}
.navigation_page_open{
left:0px;
.navigation_page_open {
left: 0px;
}
#navbar_close{
#navbar_close {
cursor: pointer;
color: #575a60;
font-size: 40px;
position: absolute;
top:10px;
right:10px;
top: 10px;
right: 10px;
}

.dropdown-navbar {
position: relative;
z-index: 300;
}

.dropdown-navbar ul {
display: flex;
position: relative;
margin: -11px auto 0 -20px;
width: 100%;
}

.nav-link {
padding: 0 1rem;
}
.nav-link a {
display: flex;
opacity: 0.8;
}
.nav-link a:hover {
opacity: 1;
}

.dropdown-navbar .nav-link {
list-style: none;
-webkit-transition: background-color ease-in 300ms;
-moz-transition: background-color ease-in 300ms;
-ms-transition: background-color ease-in 300ms;
-o-transition: background-color ease-in 300ms;
transition: background-color ease-in 300ms;
}

.dropdown-navbar li:hover {
opacity: 1;
}

.dropdown-navbar .nav-link ul {
visibility: hidden;
opacity: 0;
position: absolute;
left: 0;
padding: 0 470px;
margin: 0 -20px;
transition: all 0.4s ease-in;
}
@media (max-width: 700px) {
.navbar-right{
margin-right: 10px;
}

.dropdown {
display: flex;
flex-direction: column;
}
.dropdown li {
list-style: none;
padding-left: 1rem;
}
.dropdown li a {
width: 198px;
padding: 0;
overflow: hidden;
position: relative;
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
}
.dropdown-description {
color: yellowgreen;
}

label{
label.menu-label:after {
content: "";
display: block;
}
label.menu-label {
position: relative;
width: 100%;
display: block;
margin-right: 0;
padding-left: 4vw;
padding: 15px 10px 15px 20px;
color: #222;
font-weight: bold;
background-color: #dedede;
}
@media (min-width: 700px) {
.dropdown-navbar li:hover > .dropdown {
visibility: visible;
opacity: 1;
display: flex;
flex-direction: column;
padding: 0;
margin: 0;
}
.nav-links {
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
height: 376px;
width: 100%;
overflow: auto;
background-color: #15171a;
}
}

.link {
display: flex;
}
.link a {
padding-right: 3px;
}
input[id^="sub-menu-"] {
display: none;
}
.arrow-sm {
display: none;
}
.arrow-lg {
display: block;
}
.dropdown-title-arrow {
display: none;
}

.navbar-left {
padding-left: 4vw;
display: none;
}
#bar-scroll {
color: red;
}

.scroll-down-close {
display: none;
}

/* responsive design */
@media (max-width: 700px) {
.wrapper {
position: absolute;
}

.arrow-sm {
display: block;
}
.arrow-lg {
display: none;
}
.dropdown-title-arrow {
display: block;
}
.navbar-right {
margin-right: 10px;
}

.navbar-left {
padding-left: 4vw;
display: none;
}
.nav-link a {
display: flex;
width: 70%;
border-bottom: 2px solid rebeccapurple;
}
.nav-link a {
display: flex;
opacity: 0.8;
}
.nav-link a:hover {
opacity: 1;
}
.dropdown-navbar {
position: fixed;
top: 6rem;
left: 0;
transform: translate3d(-100%, 0, 0);
transition: transform 0.35s;
}
.dropdown-navbar ul {
flex-direction: column;
background-color: #15171a;
height: 94vh;
width: 100vw;
overflow-y: auto;
padding: 0;
margin: 0;
}
.dropdown-navbar .nav-link {
display: flex;
margin: 10px 0 0 0;
list-style: none;
-webkit-transition: background-color ease-in 300ms;
-moz-transition: background-color ease-in 300ms;
-ms-transition: background-color ease-in 300ms;
-o-transition: background-color ease-in 300ms;
transition: background-color ease-in 300ms;
}
.dropdown-navbar .nav-link ul {
visibility: visible;
opacity: 1;
position: absolute;
left: 0;
padding: 0;
margin: 0;
z-index: 9999;
}
.dropdown {
transform: translate3d(-100%, 0, 0);
transition: transform 0.35s !important;
}
input[id^="sub-menu-"]:checked ~ .dropdown {
transform: translate3d(0, 0, 0);
display: block;
background-color: #15171a;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
width: 100vw;
flex: wrap;
padding: 0;
margin: 0;
position: absolute;
top: 0;
left: 0;
overflow-y: auto;
overflow-x: hidden;
z-index: 99999;
}
input[id^="sub-menu-"] {
display: block;
width: 76px;
height: 32px;
position: relative;
top: 0.1rem;
left: 6.8rem;
cursor: pointer;
opacity: 0;
z-index: 999;
}
#burgertoggle:checked ~ .dropdown-navbar {
transform: translate3d(0, 0, 0);
}

/* SIDE DROPDOWN NAVBAR */
#burgertoggle {
display: block;
width: 40px;
height: 32px;
top: 15px;
left: 14px;
cursor: pointer;
opacity: 0;
z-index: 999;
position: fixed;
}
.wrapper .span {
position: relative;
top: 0;
left: 0;
}
/*hamburger*/
.bars {
position: fixed;
z-index: 101;
top: 9px;
left: 10px;
background: #000;
padding: 10px;
border-radius: 10px;
box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
}
.bar {
cursor: pointer;
display: block;
width: 30px;
height: 4px;
margin-bottom: 5px;
position: relative;
background: #fff;
border-radius: 3px;
z-index: 999;
transform-origin: 4px 0px;
transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

.bar:first-child {
transform-origin: 0% 0%;
}
.bar:nth-last-child(2) {
transform-origin: 0% 100%;
}
#burgertoggle:checked ~ .bar {
opacity: 1;
transform: rotate(45deg) translate(-9px, 7px);
background: red;
}
#burgertoggle:checked ~ .bar:nth-last-child(3) {
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}
#burgertoggle:checked ~ .bar:nth-last-child(2) {
opacity: 1;
transform: rotate(-45deg) translate(-19px, 3px);
}

label.menu-label:after {
content: "";
display: block;
}
label.menu-label {
position: relative;
width: 100%;
display: flex;
padding: 15px 10px 15px 20px;
color: #222;
font-weight: bold;
background-color: #dedede;
}
.dropdown li a {
height: 32px;
width: 70%;
padding: 0;
overflow: hidden;
position: relative;
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
}
}
Loading