Skip to content

Commit

Permalink
Merge pull request #1 from wowrakibul02/random
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
wowrakibul authored Nov 22, 2023
2 parents 9a36aa8 + 2c6172e commit 0616867
Show file tree
Hide file tree
Showing 23 changed files with 5,061 additions and 6 deletions.
6 changes: 6 additions & 0 deletions animations.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


@keyframes bottommark {
0%{border-bottom: 2px red solid;}
50%{border-bottom: 2px rgb(55, 255, 0) solid;}
}
Binary file added fav.ico
Binary file not shown.
53 changes: 53 additions & 0 deletions from-category.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.top-ex-search-bar {
display: flex;
flex-direction: row;
align-items: center;
width: 200%;
}

.top-ex-search-form {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
padding: 0px 12px;
width: 100%;
background: #ffffff;
border-radius: 100px;
border: 2px #e4e5ec solid;
outline: none;
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.048);
}

.top-ex-search-form:hover {
border: 2px #c2c8ff solid;
}

.top-ex-search-form:focus-within {
/* box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.118); */
background: #e7e7e7;
}

.search-input,
#search-input {
display: flex;
width: 100%;
padding: 20px;
border: 2px transparent solid;
border-radius: 100px;
outline: none;
background-color: transparent;
}


.top-ex-search-form:hover,
.search-input:hover,
#search-input:hover {
background: #f6f6ff;
}

.search-input:focus-within,
#search-input:focus-within {
background-color: transparent;
border: transparent 2px solid;
}
1,059 changes: 1,059 additions & 0 deletions from-category.html

Large diffs are not rendered by default.

69 changes: 69 additions & 0 deletions icon/wow rakibul-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions icon/wowrakibul.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banner-lr.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/img-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/img-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/img-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
581 changes: 575 additions & 6 deletions index.html

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Function to save the back-to-top button state in local storage
function saveBackToTopState() {
var isBackToTopEnabled = document.getElementById('back-to-top').checked;
localStorage.setItem('backToTopEnabled', isBackToTopEnabled);
}

// Function to load the back-to-top button state from local storage
function loadBackToTopState() {
var isBackToTopEnabled = localStorage.getItem('backToTopEnabled');
if (isBackToTopEnabled === 'true') {
document.getElementById('back-to-top').checked = true;
}
}

// Function to scroll to the top of the page
function scrollToTop() {
window.scrollTo({ top: 0, behavior: 'smooth' });
}

// Show/hide the back-to-top button based on the checkbox state
document.getElementById('back-to-top').addEventListener('change', function () {
var backToTopButton = document.querySelector('button');
if (this.checked) {
backToTopButton.style.display = 'block';
} else {
backToTopButton.style.display = 'none';
}
});
204 changes: 204 additions & 0 deletions innersearch.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
.logo-text {
display: none;
}

.prev-btn,
.prev-btn a {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
text-transform: capitalize;
}

.next-btn,
.next-btn a {
display: flex;
flex-direction: row-reverse;
align-items: center;
gap: 8px;
text-transform: capitalize;
}

.prev-btn a:hover,
.next-btn a:hover {
color: red;
}

.prev {
display: block;
}

.search-top-sug-cont {
display: flex;
flex-direction: row;
align-items: center;
gap: 48px;
justify-content: center;
position: relative;
/* top: calc(180% - 50px); */
}

.top-sug-cont {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}

.top-sug {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
}

.top-sug-title {
display: block;
font-size: 16px;
line-height: 24px;
}

.sug-show-list-cont {
display: none;
/* display: flex; */
gap: 16px;
flex-direction: column;
background-color: #fff;
padding: 24px;
border-radius: 12px;
box-sizing: border-box;
box-shadow: 0px 1px 20px -5px #0000002b;
}

.sug-show-list {
display: flex;
gap: 0px;
padding: 0px;
border-radius: 12px;
}

.sug-show-list img {
width: 18px;
height: 18px;
}

.sug-text {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
padding-left: 16px;
color: red;
font-size: 14px;
line-height: 22px;
}


.sug-text:hover {
color: #000000;
}



/* expanded search bar */
.ex-search-bar-cont {
display: flex;
flex-direction: column;
gap: 48px;
position: relative;
width: 100%;
margin-top: 5%;
align-items: center;
}

.ex-search-bar {
display: flex;
flex-direction: row;
align-items: center;
width: fit-content;
width: 80%;
}

.ex-search-form {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
padding: 0px 12px;
width: 100%;
background: #ffffff;
border-radius: 100px;
border: 2px transparent solid;
outline: none;
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.048);
}

.ex-search-form:hover {
border: 2px #c2c8ff solid;
}

.ex-search-form:focus-within {
box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.118);
}

.input-search,
#input-search {
display: flex;
width: 2000px;
padding: 20px;
border: 2px transparent solid;
border-radius: 100px;
outline: none;
background-color: transparent;
}


.ex-search-form:hover,
.input-search:hover,
#input-search:hover {
background: #f6f6ff;
}

.input-search:focus-within,
#input-search:focus-within,
.ex-search-form:focus-within {
background-color: #ffffff;
border: transparent 2px solid;
}



.search-type-label {
display: flex;
flex-wrap: wrap;
flex-direction: row;
gap: 12px;
}

.type-label {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 12px;
float: left;
width: auto;
}

.s-label>input[type='checkbox'],
input[type='checkbox'],
.s-label>input[name='checkbox'],
input[name='checkbox'],
.s-label>input[id='checked'],
input[id='checked'],
.s-label>input[role='checkbox'],
input[role='checkbox'] {
width: 17px;
height: 17px;
outline: none;
border: none;
}

#checked {
display: block;
}
Empty file added load-more-2.css
Empty file.
Loading

0 comments on commit 0616867

Please sign in to comment.