@font-face { font-family: Urbit Sans; src: url(https://media.urbit.org/fonts/UrbitSans/UrbitSansVFWeb-Regular.woff2) format("woff2"); font-weight: 100 700; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-UltraThin.otf); font-weight: 100; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-Thin.otf); font-weight: 200; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-Light.otf); font-weight: 300; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-Regular.otf); font-weight: 400; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-Medium.otf); font-weight: 500; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-SemiBold.otf); font-weight: 600; font-style: normal } @font-face { font-family: "Urbit Serif Italic"; src: url(https://media.urbit.org/fonts/UrbitSerifItalic/UrbitSerifItalic-Bold.otf); font-weight: 700; font-style: normal } body, html { font-family: Urbit Sans } /* utility */ .f { display: flex; } .fs { display: flex; justify-content: space-between; } .g1 { gap: 0.5rem; } .g2 { gap: 1rem; } .cp{ cursor: pointer; } .tc{ text-align:center; } /* base */ :root { --black: #141A14; --white: #FFFFFF; --primary: #FFF450; --muted: #B9B13D; } body { background-color: var(--primary); color: var(--black); margin: 0; padding: 0; min-height: 100vh; display: flex; flex-direction: column; } a { color: inherit; text-decoration: none; } /* nav */ #topnav { height: 63px; & #login-div { display: flex; align-items: center; text-decoration: underline; margin-right: 2rem; font-size: 20px; line-height: 23px; font-weight: 600; } } #nav-main { background-color: var(--black); color: var(--primary); cursor: pointer; font-size: 25px; line-height: 23px; font-weight: 600; text-align: center; display: flex; align-items: center; gap: 1rem; padding: 0 1rem; } #nav-links { display: flex; align-items: center; font-size: 25px; line-height: 23px; font-weight: 600; text-align: center; gap: 1rem; & a { opacity: 0.5; } & .active { opacity: 1 } } /* index */ main { padding: 1rem 2rem; flex-grow: 1; overflow: auto; } #index-top { margin-bottom: 1.5rem; font-size: 1.4rem; font-weight: 600; div { opacity: 0.5; cursor: pointer; } & .active { opacity: 1; } } .thread-preview { padding: 0.5rem 0; border-bottom: 2px solid black; &:first-child { border-top: 2px solid black; } & .num { font-size: 1.5rem; } & a { text-decoration: none; } & .preview{ max-width: 100%; } & .title { font-weight: 600; font-size: 25px; line-height: 33px; } & .title-text{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } & .out-link { font-weight: 600; font-size: 20px; & .arrow { margin-left: 0.3rem; font-size: 1.3rem; } } & .meta { opacity: 0.5; & .upvote-button, & .downvote-button{ } } } .moar { text-decoration: underline; font-size: 20px; margin-top: 1rem; display: block; } .white{ background-color: var(--white); } /* thread page */ #thread-main{ background-color: var(--white); & h1{ margin-top: 0.3rem; } & ul{ display: block; list-style-image: none; list-style-position: outside; list-style-type: none; padding: 0; & li{ margin-bottom: 1rem; } } & .nested{ padding-left: 2rem !important; } & .comment{ & img{ max-width: 60%; display: block; margin: 1rem auto; } & .comment-proper{ margin-top: 0.5rem; } & .content{ font-weight: 600; margin: 1rem 0; & p{ margin: 0.2rem 0; } } } } .red{ color: red; } .green { color: green; } .tally{ font-weight: 600; } .uln{ text-decoration: underline; cursor: pointer; } .return-link{ display: block; margin-bottom: 2rem; } #og{ border: 1px solid var(--black); border-radius: 0.5rem; & img{ width: 100%; max-height: 500px; } } #link-url{ padding: 0.5rem 1rem; } #thread-composer{ & input{ display: block; height: 2rem; width: 100%; margin: 1rem 0; } } #comment-composer{ margin-top: 3rem; margin-bottom: 1rem; padding: 0.5rem 1rem; border: 1px solid var(--black); border-radius: 0.5rem; } #composer-proper{ margin: 1rem; padding: 1rem; & textarea{ width: 100%; height: 200px; margin-bottom: 0.5rem; resize: none; } } #login-page{ & form{ display: block; width: 50%; margin: 2rem auto; & input{ display: block; width: 30ch; padding: 0.4rem; height: 2rem; margin: 2rem auto; } & button{ display: block; margin: auto; font-size: 1.2rem; } } } #sigil-img{ margin: 1rem auto !important; } #user-page{ & *{ margin: auto; } & #main{ width: 50%; } } #logout{ display: block; margin: 2rem auto; font-size: 1.2rem; } button, .button{ border: 1px solid var(--black); background: none; padding: 0.5rem; width: max-content; }