}
.upvote:hover {
- color: var(--info);
+ color: var(--bs-info);
}
.upvote {
}
.downvote:hover {
- color: var(--danger);
+ color: var(--bs-danger);
}
.downvote {
margin-top: -10px;
}
-.custom-select {
+.form-select {
-moz-appearance: none;
}
}
.md-div p:last-child {
- margin-bottom: 0px;
+ margin-bottom: 0;
}
.md-div img {
}
.vote-bar {
+ min-width: 5ch;
margin-top: -6.5px;
}
-.post-title {
- line-height: 1;
-}
-
-.post-title a:visited {
- color: var(--gray) !important;
+.post-title a:visited:not(:hover) {
+ color: var(--bs-gray) !important;
}
.icon {
.emoji-picker-container {
position: absolute;
- top: 30px;
+ top: 0;
+ left: 50%;
z-index: 1000;
transform: translateX(-50%);
}
}
blockquote {
- border-left: 2px solid var(--secondary);
+ border-left: 2px solid var(--bs-secondary);
margin: 0.5em 5px;
padding: 0.1em 5px;
}
.thumbnail {
object-fit: cover;
- min-height: 60px;
- max-height: 80px;
- width: 100%;
+ aspect-ratio: 1/1;
+ width: 5rem;
+ height: 5rem;
}
.thumbnail svg {
}
hr {
- border-top: 1px solid var(--light);
+ border-top: 1px solid var(--bs-light);
}
.emoji {
-ms-filter: blur(10px);
}
-.img-cover {
- object-fit: cover;
-}
-
.img-expanded {
max-height: 90vh;
}
-ms-transform: scale(1.2);
}
+/**
+ * TODO: Fix this in markup rather than this overly specific selector:
+ * https://getbootstrap.com/docs/5.3/components/buttons/#block-buttons
+ */
+.btn.d-block + .btn.d-block {
+ margin-top: 0.5rem;
+}
+
.mini-overlay {
- position: absolute;
- top: 0;
- right: 0;
- padding: 2px;
+ display: block;
height: 1.5em;
width: 1.5em;
background: rgba(0, 0, 0, 0.4);
}
.avatar-overlay {
- width: 20%;
- height: 20%;
+ width: 20vw;
+ height: 20vw;
max-width: 120px;
max-height: 120px;
+ min-width: 80px;
+ min-height: 80px;
}
.avatar-pushup {
}
.img-icon {
- width: 2rem;
- height: 2rem;
+ width: calc(var(--bs-body-line-height) * 1em);
+ height: calc(var(--bs-body-line-height) * 1em);
+ border-radius: 0.25em;
}
.tribute-container ul {
margin-top: 2px;
padding: 0;
list-style: none;
- background: var(--light);
+ background: var(--bs-light);
}
.tribute-container li {
- padding: 5px 5px;
+ padding: 5px;
cursor: pointer;
}
.tribute-container li.highlight {
- background: var(--primary);
+ background: var(--bs-primary);
}
.tribute-container li span {
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
-.lang-select-action {
- width: 100px;
-}
-.lang-select-action:focus {
- width: auto;
-}
-em-emoji-picker {
+#emoji-picker {
width: 100%;
}