-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve UI of Social Page #636
base: main
Are you sure you want to change the base?
Improve UI of Social Page #636
Conversation
…con consistency Signed-off-by: DeshDeepakKant <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contributions. @DeshDeepakKant
I have added some suggestions.
layouts/shortcodes/social.html
Outdated
|
||
.slack-channels { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1rem; | ||
} | ||
|
||
.channel-button { | ||
background: #4A154B; | ||
color: white; | ||
padding: 1rem; | ||
border-radius: 8px; | ||
text-decoration: none; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
.channel-button:hover { | ||
transform: translateY(-2px); | ||
box-shadow: 0 4px 12px rgba(74, 21, 75, 0.2); | ||
} | ||
|
||
.channel-content { | ||
display: flex; | ||
align-items: center; | ||
gap: 1rem; | ||
} | ||
|
||
.channel-info { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.channel-name { | ||
font-weight: bold; | ||
font-size: 1.1rem; | ||
} | ||
|
||
.channel-description { | ||
font-size: 0.9rem; | ||
opacity: 0.9; | ||
} | ||
|
||
.slack-note { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.75rem; | ||
background: #f7fafc; | ||
padding: 1rem; | ||
border-radius: 8px; | ||
margin-top: 1rem; | ||
} | ||
|
||
.lists-container { | ||
display: grid; | ||
gap: 1.5rem; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.list-card { | ||
background: #f7fafc; | ||
padding: 1.5rem; | ||
border-radius: 8px; | ||
transition: all 0.3s ease; | ||
} | ||
|
||
.list-card:hover { | ||
transform: translateY(-2px); | ||
box-shadow: 0 4px 12px rgba(0,0,0,0.1); | ||
} | ||
|
||
.list-header-inline { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.75rem; | ||
margin-bottom: 1rem; | ||
color: #2D3748; | ||
font-size: 1.25rem; | ||
} | ||
|
||
a { | ||
color: #2B6CB0; | ||
text-decoration: none; | ||
transition: color 0.2s ease; | ||
} | ||
|
||
a:hover { | ||
color: #2C5282; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.community-connect-container { | ||
grid-template-columns: 1fr; | ||
padding: 1rem; | ||
} | ||
|
||
.connect-card { | ||
padding: 1.5rem; | ||
} | ||
} | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid using inline css/stlyling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, i will include it in the css file
Signed-off-by: DeshDeepakKant <[email protected]>
Related Issue
Changes Introduced
Screenshots
Before:
After: