Remove category selection
This commit is contained in:
@@ -668,69 +668,6 @@ main {
|
||||
#PORTFOLIO
|
||||
\*-----------------------------------*/
|
||||
|
||||
.filter-list {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.filter-select-box {
|
||||
position: relative;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.filter-select {
|
||||
background: var(--eerie-black-2);
|
||||
color: var(--light-gray);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid var(--jet);
|
||||
border-radius: 14px;
|
||||
font-size: var(--fs-6);
|
||||
font-weight: var(--fw-300);
|
||||
}
|
||||
|
||||
.filter-select.active .select-icon {
|
||||
transform: rotate(0.5turn);
|
||||
}
|
||||
|
||||
.select-list {
|
||||
background: var(--eerie-black-2);
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
width: 100%;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--jet);
|
||||
border-radius: 14px;
|
||||
z-index: 2;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
pointer-events: none;
|
||||
transition: 0.15s ease-in-out;
|
||||
}
|
||||
|
||||
.filter-select.active+.select-list {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
.select-item button {
|
||||
background: var(--eerie-black-2);
|
||||
color: var(--light-gray);
|
||||
font-size: var(--fs-6);
|
||||
font-weight: var(--fw-300);
|
||||
text-transform: capitalize;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.select-item button:hover {
|
||||
--eerie-black-2: hsl(240, 2%, 20%);
|
||||
}
|
||||
|
||||
.project-list {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -856,8 +793,7 @@ main {
|
||||
* #PORTFOLIO, BLOG
|
||||
*/
|
||||
|
||||
.project-img,
|
||||
.blog-banner-box {
|
||||
.project-img {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
@@ -1058,18 +994,9 @@ main {
|
||||
* #PORTFOLIO
|
||||
*/
|
||||
|
||||
.project-img,
|
||||
.blog-banner-box {
|
||||
.project-img {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.blog-posts-list {
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.blog-content {
|
||||
padding: 25px;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1108,45 +1035,10 @@ main {
|
||||
--fs-8: 15px;
|
||||
}
|
||||
|
||||
/**
|
||||
* PORTFOLIO
|
||||
*/
|
||||
|
||||
.article-title {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.filter-select-box {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.filter-list {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 25px;
|
||||
padding-left: 5px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.filter-item button {
|
||||
color: var(--light-gray);
|
||||
font-size: var(--fs-5);
|
||||
transition: var(--transition-1);
|
||||
}
|
||||
|
||||
.filter-item button:hover {
|
||||
color: var(--light-gray-70);
|
||||
}
|
||||
|
||||
.filter-item button.active {
|
||||
color: var(--orange-yellow-crayola);
|
||||
}
|
||||
|
||||
/* portfolio and blog grid */
|
||||
|
||||
.project-list,
|
||||
.blog-posts-list {
|
||||
.project-list {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user