Skip to content

Instantly share code, notes, and snippets.

@aalhitennf
Last active July 3, 2023 00:58
Show Gist options
  • Save aalhitennf/84a05d5a4f477b17c291c9c8ee1189c2 to your computer and use it in GitHub Desktop.
Save aalhitennf/84a05d5a4f477b17c291c9c8ee1189c2 to your computer and use it in GitHub Desktop.
lemmy-ui
ul .comments {
margin-left: 20px !important;
}
.container-lg {
width: 100% !important;
}
main,
.create-post {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
.create-post .row {
width: 100%;
}
.dropdown-item {
border: 0;
}
#createPostForm,
.create-post {
width: 100%;
margin: 0 !important;
}
#createPostForm .col-form-label {
width: 100px;
}
#createPostForm .markdown-textarea textarea {
height: 200px !important;
}
.markdown-textarea textarea {
resize: vertical !important;
}
#createPostForm .markdown-textarea .col-12 {
width: 100% !important;
display: flex !important;
flex-direction: column;
margin: 0;
padding-right: 0;
}
#createPostForm .markdown-textarea .row {
margin: 0;
}
#createPostForm .markdown-textarea .col-12 {
padding: 0;
}
#createPostForm h1 {
margin-bottom: 2em;
font-size: large;
}
#createPostForm .row {
display: flex;
justify-content: space-between;
}
.create-community .col-lg-6 {
margin: 0;
width: 100%;
}
.create-community .form-check {
display: flex;
justify-content: end;
}
.create-community h5 {
margin-bottom: 2em;
}
.post-title h5 {
font-size: 16px;
}
.preview-lines {
font-size: 13px;
}
#community_table tr td {
vertical-align: middle;
}
#community_table .text-right {
text-align: right;
}
.post-container .mt-3 {
display: none;
}
.person-listing .picture img {
height: 2em !important;
width: 2em !important;
}
#sidebarContainer a.community-link {
display: flex;
align-items: center;
}
#sidebarMain li .community-link,
#sidebarSubscribed li .community-link {
border-width: 1px;
border-style: solid;
border-color: #99999920;
padding: 4px 8px !important;
border-radius: 4px;
height: auto;
display: inline-flex;
font-size: 13px;
transition: background-color .2s;
}
#sidebarMain li .community-link:hover,
#sidebarSubscribed li .community-link:hover {
background-color: #444;
}
#sidebarContainer h5 {
font-weight: 500;
font-size: 16px;
}
p, li, .col-form-label, .form-check-label, select, button, label, a.btn, input, textarea {
font-size: 13px !important;
}
.form-check {
display: flex;
gap: .5em;
}
.community-link img,
.person-listing img {
height: 22px;
width: 22px;
}
.post-listing .post-media a.text-body {
width: 100%;
max-height: 80px !important;
min-height: 80px !important;
}
.post-container .thumbnail {
object-fit: cover;
max-height: 80px !important;
min-height: 80px !important;
}
ul.list-inline {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 4px;
}
.comment {
margin-left: .5em;
}
.app-footer .navbar-nav {
margin: 0 !important;
text-align: center;
}
.post-media {
padding-left: 0;
}
.col-12 .btn-link {
display: flex;
gap: 4px;
}
.col-12 .btn-link .icon {
margin: 0 !important;
margin-right: 4px;
padding: 0 !important;
}
.post-listing .dropdown {
display: flex;
}
.post-listing {
padding: 1em;
box-shadow: 0px 0px 5px 5px #13121194;
border-radius: 4px;
transition: box-shadow .1s;
}
.post-listing:hover {
box-shadow: 0px 0px 5px 5px #00000052;
}
.post-title {
margin-bottom: 6px;
}
.vote-bar button {
display: flex;
width: min-content;
}
.vote-bar {
display: flex;
flex-direction: column;
align-items: center;
}
body, .card-body {
background-color: #1a1c1d;
}
.card {
border-style: none;
box-shadow: 0px 0px 5px 5px #13121194;
}
.card-header {
background-color: #232728;
}
.post-container .col-12 img, #sidebarInfo {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment