improve POPULAR_HASHTAGS style
This commit is contained in:
+60
-11
@@ -455,26 +455,75 @@ img {
|
|||||||
|
|
||||||
/* Tags Section */
|
/* Tags Section */
|
||||||
.tags-section {
|
.tags-section {
|
||||||
margin-bottom: 30px;
|
margin: 30px 0;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
padding-bottom: 10px;
|
padding: 10px 0 20px;
|
||||||
|
text-align: center;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-section::-webkit-scrollbar {
|
||||||
|
height: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-section::-webkit-scrollbar-thumb {
|
||||||
|
background-color: rgba(0, 0, 0, 0.2);
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tags-section::-webkit-scrollbar-track {
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
padding: 8px 15px;
|
align-items: center;
|
||||||
margin-right: 10px;
|
padding: 8px 16px;
|
||||||
border: 1px solid var(--tag-border);
|
margin: 0 8px 12px;
|
||||||
border-radius: 20px;
|
border: none;
|
||||||
font-size: 14px;
|
border-radius: 50px;
|
||||||
background-color: var(--tag-bg);
|
font-size: 15px;
|
||||||
|
font-weight: 600;
|
||||||
|
background: linear-gradient(135deg, var(--tag-bg), #f0f0f0);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.2s;
|
transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||||
|
text-decoration: none;
|
||||||
|
color: #222;
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
letter-spacing: 0.3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(135deg, var(--primary-red), #ff4d4d);
|
||||||
|
opacity: 0;
|
||||||
|
z-index: -1;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag:hover {
|
.tag:hover {
|
||||||
background-color: rgba(0, 0, 0, 0.05);
|
color: white;
|
||||||
|
transform: translateY(-3px);
|
||||||
|
box-shadow: 0 5px 12px rgba(255, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tag:active {
|
||||||
|
transform: translateY(-1px);
|
||||||
|
box-shadow: 0 2px 6px rgba(255, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Section Headers */
|
/* Section Headers */
|
||||||
|
|||||||
Reference in New Issue
Block a user