summaryrefslogtreecommitdiff
path: root/front/src/styles/trill.css
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-11 01:48:14 +0700
committerpolwex <polwex@sortug.com>2025-09-11 01:48:14 +0700
commitb1d68ac307ed87d63e83820cbdf843fff0fd9f7f (patch)
treed6a684a70a80509e68ff667b842aa4e4c091906f /front/src/styles/trill.css
init
Diffstat (limited to 'front/src/styles/trill.css')
-rw-r--r--front/src/styles/trill.css612
1 files changed, 612 insertions, 0 deletions
diff --git a/front/src/styles/trill.css b/front/src/styles/trill.css
new file mode 100644
index 0000000..5687c7a
--- /dev/null
+++ b/front/src/styles/trill.css
@@ -0,0 +1,612 @@
+#not-found {
+ margin: auto;
+ padding: 2rem;
+ text-align: center;
+}
+
+#not-found button {
+ height: 1.5rem;
+ margin: auto;
+}
+
+#timeline {
+ overflow-y: auto;
+ overflow-x: hidden;
+}
+
+.timeline-post {
+ width: 100%;
+ border-top: 1px solid var(--text-color);
+}
+
+.trill-post {
+ display: flex;
+ padding: 0.5rem;
+ /* min-height: 150px; */
+}
+
+.trill-post .author {
+ flex: 1 0 auto;
+}
+
+.trill-reply-thread {
+ border-top: 1px solid var(--text-color);
+}
+
+.trill-post:first-child {
+ border-top: none;
+}
+
+.trill-post:last-child {
+ border-bottom: 1px solid var(--text-color);
+}
+
+.trill-post .left {
+ width: 8%;
+ margin-right: 1rem;
+}
+
+.trill-post .sigil {
+ height: 42px;
+ width: 42px;
+}
+
+.trill-post .right {
+ width: 90%;
+}
+
+.trill-post header {
+ display: flex;
+ justify-content: space-between;
+}
+
+.trill-post header p {
+ margin: 0 0.3rem;
+}
+
+.trill-post .nick {
+ font-weight: 700;
+}
+
+.trill-post header .p {
+ font-family: "Courier New", Courier, monospace;
+ font-weight: 100;
+ font-size: 1rem;
+}
+
+.trill-post .p-only {
+ margin: 0.7rem 0.3rem;
+ font-weight: 700;
+}
+
+.trill-post .p {
+ /* margin-top: -5px; */
+}
+
+.trill-post a {
+ text-decoration: 0;
+ color: var(--text-color);
+}
+
+.trill-post blockquote {
+ border-left: 2px solid grey;
+ margin-left: 0;
+ padding-left: 0.5rem;
+ opacity: 70%;
+}
+
+.trill-post .body {
+ margin: 1rem;
+ margin-left: 0;
+}
+
+.trill-post-body p span {
+ /* margin: 0 3px; */
+}
+
+.trill-post pre {
+ font-family: "Courier New", Courier, monospace;
+ background-color: rgb(200, 200, 200, 0.5);
+ padding: 0.2rem;
+ max-width: 90%;
+ border: 1px solid var(--text-color);
+ overflow: scroll;
+}
+
+.trill-post .quote-in-post .body {
+ margin: 0;
+}
+
+.quote-in-post svg {
+ margin-right: 0.5rem;
+}
+
+.trill-post .body-text {
+ /* font-family: Arial, Helvetica, sans-serif; */
+ margin: 0.3rem 0 1rem 0;
+ word-break: break-word;
+}
+
+.trill-post .trill-post-paragraph {
+ margin-block-start: 1em;
+ margin-block-end: 1em;
+}
+
+.trill-post .body-text a {
+ text-decoration: underline;
+}
+
+.trill-post .token {
+ margin: 0 0.5rem;
+}
+
+.trill-post .date {
+ float: right;
+}
+
+.trill-post .nav {
+ display: flex;
+}
+
+.trill-post .chevron {
+ width: 1.5rem;
+ height: 1.5rem;
+}
+
+.body-media {
+ width: 100%;
+ max-height: 520px;
+ text-align: center;
+ /* images being inline */
+}
+
+.body-media img {
+ margin: 1px 3px;
+}
+
+.body-img-1-of-1 {
+ max-width: 100%;
+ max-height: inherit;
+ margin: auto !important;
+}
+
+.body-img-1-of-2 {
+ max-width: 48.5%;
+ max-height: inherit;
+}
+
+.body-img-1-of-3 {
+ max-width: 48.5%;
+}
+
+.body-img-1-of-4 {
+ max-width: 48.5%;
+}
+
+.body-img-1-of-5 {
+ max-width: 31%;
+}
+
+.body-img-1-of-6 {
+ max-width: 31%;
+}
+
+.body-img-1-of-7 {
+ max-width: 31%;
+}
+
+.body-img-1-of-8 {
+ max-width: 31%;
+}
+
+.body-img-1-of-9 {
+ max-width: 31%;
+}
+
+/* quotes */
+
+.quote-in-post {
+ margin-top: 1rem;
+ padding: 0.5rem;
+ border: 1px solid grey;
+ border-radius: 0.5rem;
+ cursor: pointer;
+}
+
+.quote-in-post header {
+ display: flex;
+}
+
+.mention {
+ font-family: "Courier New", Courier, monospace;
+ font-weight: 700;
+}
+
+.mention:hover {
+ cursor: pointer;
+ text-decoration: underline;
+}
+
+.bad-quote {
+ border: 1px solid var(--text-color);
+ padding: 7px;
+ border-radius: 0.5rem;
+}
+
+/* post-cards */
+.trill-post-card {
+ position: relative;
+ border-radius: 0.3rem;
+ /* margin: 1rem 0 0 -8%; */
+ margin: 0.5rem 0;
+}
+
+.trill-post-card-logo {
+ position: absolute;
+ width: 25px;
+ height: 25px;
+ top: -17px;
+ left: -17px;
+}
+
+#post-menu {
+ position: absolute;
+ top: 0;
+ right: 50px;
+ z-index: 99;
+}
+
+.deleted-post {
+ text-align: center;
+ border: 1px solid var(--text-color);
+ padding: 0.4rem;
+}
+
+#post-menu p {
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0.5rem;
+ cursor: pointer;
+ border: 1px solid var(--text-color);
+ height: 40px;
+}
+
+#post-menu p:hover {
+ /* background-color: var(--highlighted-grey); */
+}
+
+/* threads */
+.trill-reply-thread {
+ margin-top: 1rem;
+}
+
+#replies>.trill-post:first-child {
+ border-top: 1px solid black;
+}
+
+/* footer */
+
+.footer-wrapper {
+ position: relative;
+ /* transform: rotate(0deg); */
+ /* the dummy transform enforces position fixed inheritance */
+}
+
+.post-footer footer {
+ display: flex;
+ margin-left: -20px;
+ height: 24px;
+ justify-content: space-between;
+}
+
+footer .icon {
+ cursor: pointer;
+ margin: 0 0.2rem;
+ display: flex;
+ /* min-width: 64px; */
+}
+
+footer #menu-icon {
+ width: 32px !important;
+ /* margin-left: 20px; */
+}
+
+.post-footer footer .icon img {
+ display: block;
+ width: 24px;
+ height: 24px;
+}
+
+footer .icon span {
+ display: block;
+ width: 30px;
+ text-align: right;
+ padding-top: 0.2rem;
+ margin-right: 0.4rem;
+}
+
+footer .icon span:hover {
+ text-decoration: underline;
+}
+
+.react-icon {
+ font-size: 26px;
+ margin: -10px 0 0 0 !important;
+ padding: 0;
+ padding-top: 0 !important;
+}
+
+#react-list {
+ display: flex;
+ flex-wrap: wrap;
+}
+
+#react-list img {
+ margin: 3px;
+ width: 50px;
+ height: 50px;
+ cursor: pointer;
+ border: 1px solid transparent;
+}
+
+#react-list span {
+ width: 50px;
+ height: 50px;
+ font-size: 38px;
+ margin: 3px;
+ cursor: pointer;
+ border: 1px solid transparent;
+}
+
+#react-list span:hover,
+#react-list img:hover {
+ border: 1px solid var(--text-color);
+}
+
+#menu-background {
+ position: fixed;
+ top: 0;
+ left: 0;
+ opacity: 0;
+ height: 100vh;
+ width: 100vw;
+}
+
+/* contact */
+
+.contact-cover {
+ height: 150px;
+ max-width: 100vw;
+ margin-bottom: -50px;
+}
+
+#contact-proper {
+ padding: 1rem;
+}
+
+#contact-proper .row {
+ display: flex;
+}
+
+.contact-avatar {
+ width: 6rem;
+ height: 6rem;
+}
+
+.contact-name {
+ margin-top: 1rem;
+ margin-bottom: 0.5rem;
+ margin-left: 0.3rem;
+ font-weight: 700;
+ font-size: 1.1rem;
+}
+
+.contact-username {
+ margin-top: -10px;
+}
+
+#contact-proper .buttons {
+ margin-top: 2rem;
+ margin-left: auto;
+}
+
+#contact-proper .buttons button {
+ width: 5rem;
+ margin-bottom: 5px;
+ height: 1.5rem;
+}
+
+#contact-proper .p {
+ font-family: "Courier New", Courier, monospace;
+}
+
+#contact-proper .p-only {
+ margin-top: 1rem;
+}
+
+.bio-row {
+ display: flex;
+ align-items: center;
+}
+
+.stats-row {
+ display: flex;
+ justify-content: center;
+}
+
+.stats-icon {
+ margin: 0 2px;
+}
+
+.stats-row p {
+ text-align: center;
+ font-size: 1.3rem;
+ margin: -5px 0 0 0;
+}
+
+.stats-row img {
+ width: 32px;
+}
+
+.locked-notice,
+.suspended-notice {
+ text-align: center;
+}
+
+.cover-placeholder {
+ height: 150px;
+ background-color: rgb(125, 125, 125, 0.5);
+}
+
+#stats-modal .trill-post {
+ border-bottom: 1px solid var(--text-color) !important;
+}
+
+#stats-modal {
+ height: 80vh;
+}
+
+#stats-modal #engagement {
+ min-height: 40%;
+ max-height: 40%;
+ overflow-y: scroll;
+}
+
+#stats-modal .trill-post {
+ max-height: 50%;
+ overflow-y: scroll;
+}
+
+.btw {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+#stats-modal .react-stat img {
+ width: 32px;
+ height: 32px;
+}
+
+#stats-modal .react-stat react-icon {
+ width: 32px;
+ height: 32px;
+}
+
+#stats-modal #engagement .nickname {
+ font-size: 1rem;
+}
+
+#stats-modal #engagement .p {
+ font-size: 0.9rem;
+}
+
+#stats-modal .tab h4 {
+ font-weight: 100;
+}
+
+#stats-modal .tab.active-tab h4 {
+ font-weight: 700;
+}
+
+/* .not-found {
+ border: 1px solid var(--text-color);
+ border-radius: 1rem;
+ padding: 0.5rem;
+} */
+
+/* refs */
+.reference {}
+
+/* polls */
+.trill-poll {
+ /* border: 1px solid var(--text-color); */
+ border-radius: 1rem;
+ padding: 0.5rem;
+ position: relative;
+ background: linear-gradient(90deg,
+ rgba(255, 255, 168, 0.4) 0%,
+ /* Lighter yellow */
+ rgba(255, 233, 150, 0.5) 52%,
+ /* Mid-tone gold */
+ rgba(255, 209, 0, 0.4) 100%
+ /* Deeper gold */
+ );
+}
+
+.trill-poll .poll-option {
+ height: 2rem;
+ align-items: center;
+ text-align: center;
+ border: 1px solid var(--text-color);
+ border-radius: 0.7rem;
+ margin: 1rem;
+ position: relative;
+ outline: 3px solid transparent;
+}
+
+.trill-poll .my-vote:hover {
+ /* cursor:not-allowed */
+}
+
+.trill-poll .poll-option:hover {
+ opacity: 50%;
+ outline-color: var(--text-color);
+}
+
+.trill-poll .poll-option p {
+ padding: 0 0.5rem;
+ margin: 0;
+ line-height: 2rem;
+}
+
+.trill-poll .poll-option-stats {
+ height: 2rem;
+ position: relative;
+}
+
+.trill-poll .poll-option-bar {
+ height: 100%;
+ position: absolute;
+ background-color: rgb(100, 100, 100, 0.3);
+ border-radius: 0.7rem;
+}
+
+.trill-poll .my-vote {
+ border: 3px solid var(--text-color);
+ border-right: 4px solid var(--text-color);
+}
+
+.trill-poll .bottom-row {
+ opacity: 60%;
+}
+
+.youtube-thumbnail {
+ width: 70%;
+ margin: 0.7rem auto;
+}
+
+.cursor-button {
+ width: 100%;
+ padding: 1rem;
+ border-top: 1px solid var(--text-color);
+}
+
+.cursor-button button {
+ display: block;
+ margin: auto;
+ padding: 0.5rem;
+}
+
+.rumor-quote img {
+ width: 50px;
+ margin-right: 1rem;
+}
+
+#trill-thread {
+ flex-grow: 1;
+ height: 100%;
+ overflow-y: auto;
+
+
+} \ No newline at end of file