/* #region generic */ html, body, div, h1, h2, ul, li, p, form, input, textarea, pre { margin: 0; padding: 0; } html, input, textarea { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 12pt; -webkit-font-smoothing: subpixel-antialiased; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } h1, h2 { font-weight: normal; } ul { list-style-type: none; } a { color: #069; text-decoration: none; } img, hr { border: none; } hr { background: #CCC; height: 1px; margin: 10px 0; } pre { background: #222; color: #0f0; overflow-x: auto; padding: 6px; white-space: pre; } pre::selection { background: #0f0; color: #222; } pre::-moz-selection { background: #0f0; color: #222; } .u { text-decoration: underline; } .flex-spacer { flex-grow: 1; } /* #endregion */ /* #region overall layout */ html { background: #eaeadf; color: #222; } #wrapper { align-items: flex-start; display: flex; flex-flow: row wrap; justify-content: space-between; margin: 55px auto 0 auto; max-width: 100%; width: 1000px; } #column { margin: 12px 0 0 10px; order: 0; overflow: hidden; width: 240px; } #content { margin: 12px 0 0 0; max-width: 100%; order: 1; width: 728px; } body > header { box-shadow: 0 0 3px rgba(0, 0, 0, 0.28); background: #f2f2ec; position: fixed; top: 0; width: 100%; z-index: 9; } #header_wrapper { margin: 0 auto; max-width: 100%; min-height: 55px; width: 1000px; } #footer { color: #999; font-size: 10pt; height: 32px; margin: 20px auto; max-width: 100%; padding: 0 12px; width: 1000px; } .announcement { background: #f2f2ec; margin-top: 12px; padding: 6px; text-align: center; width: 100%; } @media screen and (max-width: 1000px) { body { -moz-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } body, #wrapper, #topwrapper, #footer { margin: 0 auto; width: auto; } #wrapper { align-items: center; flex-direction: column; margin: 55px auto 0 auto; padding: 0 8px; } body > header { margin-bottom: 15px; } #column { margin: 12px 0 0 0; max-width: 100%; padding: 0 8px; width: 728px; } #column.bottom { order: 3; } #content { max-width: 100%; /* padding: 0 8px; */ width: 728px; } } /* #endregion */ /* #region header internals */ #header_wrapper { align-items: center; display: flex; flex-flow: row wrap; } #header_wrapper a { color: #069; font-size: 13pt; } #global { order: 0; } #logo { order: 1; } #header-right { order: 2; } #logo { height: 36px; margin: 0 10px 0 10px; width: 110px; } #logo a { background: url("logo@2x.png") no-repeat; background-size: cover; border: 0; display: block; height: 36px; overflow: hidden; text-indent: 100%; white-space: nowrap; width: 110px; } #global { flex-grow: 1; } #global > ul { display: flex; } #header-right > .a-login, #site-search, #post, #global li { margin: 0 10px; } #header-right { align-items: center; display: flex; flex-grow: 1; } #site-search { color: #069; display: flex; } #site-search input { background: #f2f2ec; border: 0; border-bottom: 1px solid rgba(0, 104, 153, 0.5); /* #069 + alpha */ margin: 0; width: 120px; } #user-menu { align-self: stretch; display: flex; min-width: 10px; position: relative; } #user-menu.expanded { outline: none; } #user-menu > img { cursor: pointer; display: block; height: 36px; margin: 10px; user-select: none; } #user-menu-dropdown { background: #f2f2ec; box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.28); display: flex; flex-flow: row wrap; min-width: 160px; position: absolute; right: 0; top: 100%; } #user-menu:not(.expanded) > #user-menu-dropdown { display: none; } #user-menu-dropdown > ul { display: flex; flex-direction: column; flex-grow: 1; margin: -1px 0 1px 0; min-width: 9em; } #user-menu-dropdown li > form, #user-menu-dropdown li > a { display: block; padding: 6px; } #user-menu-dropdown li > a:hover { background-color: #fff; transition: background-color 0.2s ease-in; } #user-menu-dropdown li > a .icon { margin-right: 0.25em; } #user-menu-dropdown li.next-section { border-top: 1px solid #ccc; } #user-menu-dropdown .icon--ei-share-apple { transform: rotate(90deg); } .show-1, .show-2, .show-3, .show-4 { display: none; } @media screen and (max-width: 49.375em /* 790/16 */) { #site-search, .only-icon-1 span, .hide-1 { display: none; } .show-1 { display: inline-block; } } @media screen and (max-width: 38.75em /* 620/16 */) { #header-right > .a-login, #post, #global li { margin: 0 6px; } #header_wrapper { min-height: 48px; } #header_wrapper a { font-size: 12pt; } #user-menu > img { margin: 6px; } .only-icon-2 span, .hide-2 { display: none; } .show-2 { display: inline-block; } } @media screen and (max-width: 32em /* 512/16 */) { #user-menu-dropdown { border: 10px solid #f2f2ec; overflow: hidden; width: 100vw; } .only-icon-3 span, .hide-3 { display: none; } .show-3 { display: inline-block; } } @media screen and (max-width: 25.625em /* 410/16 */) { .only-icon-4 span, .hide-4 { display: none; } .show-4 { display: inline-block; } } /* #endregion */ /* #region left column internals */ #column > ul, #column > hr { margin: 10px 0; } #column li > a, #column li > p { display: block; padding: 6px; } #column li > a:hover { background-color: #f2f2ec; box-shadow: 0 0 3px rgba(0, 0, 0, 0.16); transition: background-color 0.2s ease-in; } #column li span { float: right; } #column li > p, #column li span { color: #999; } #column > form { margin-bottom: 10px; } #column > form > p { font-size: 10pt; line-height: 140%; } #column .inp { background: #F5F5E9; border: 1px solid #CCC; border-radius: 3px; padding: 3px; width: 222px; } #ctitle { display: flex; font-size: 14pt; position: relative; } #ctitle img { margin-right: 5px; max-width: 48px; vertical-align: middle; } #ctags a { display: inline-block; min-width: 25px; text-align: center; } #column-expander { cursor: pointer; display: none; flex-grow: 1; text-align: end; } @media screen and (min-width: 1001px) and (min-height: 750px) { #column { position: sticky; top: 67px; /* #wrapper margin-top + #column margin-top */ } } @media screen and (max-width: 1000px) { #column-expander { align-items: center; display: flex; height: 100%; justify-content: flex-end; position: absolute; width: 100%; } #column:not(.expanded) > *:not(#ctitle) { display: none; } #column { display: flex; flex-flow: row wrap; justify-content: space-between; } #ctitle, #ctags, #column > hr { width: 100%; } #column > ul { flex-grow: 1; margin: 0; max-width: 300px; } #column > hr + ul:not(.toolbar) { max-width: 100%; } } @media screen and (max-width: 470px) { #column > form, #column .inp { width: 100%; } #column > ul { max-width: 100%; } #column > ul.toolbar { display: flex; justify-content: space-between; margin-bottom: 10px; width: 100%; } } /* #endregion */ /* #region main content */ #content > p, #content > h1, #content > h2 { margin: 10px 0; } #content > p:first-child, #content > h1:first-child, #content > h2:first-child { margin-top: 0; } .page { background: #f2f2ec; padding: 6px; text-align: center; } /* #endregion */ /* #region article, message internals */ article { background: #fff; box-shadow: 0 0 3px rgba(0, 0, 0, 0.16); line-height: 140%; margin-bottom: 10px; padding: 20px; } article time { color: #999; font-size: 10pt; } article p { clear: left; margin: 5px 0 15px 0; word-wrap: break-word; overflow-wrap: break-word; } article .ir { text-align: center; } article .ir a { cursor: zoom-in; display: block; } article .ir img { max-width: 100%; } article > nav.l, .msg-cont > nav.l { display: flex; font-size: 10pt; } article > nav.l a, .msg-cont > nav.l a { color: #888; margin-right: 15px; } article .likes { padding-left: 20px; } article .replies { margin-left: 18px; } article .tags { margin-top: 3px; } .msg-tags { margin-top: 5px; min-height: 30px; } article .tags > a, .msg-tags > a { box-shadow: 0 0 3px rgba(0, 0, 0, 0.16); color: #888; display: inline-block; font-size: 10pt; margin-bottom: 5px; margin-right: 5px; padding: 0 10px; } .msgthread { margin-bottom: 0; } .msg-avatar { float: left; height: 48px; margin: 0 10px 10px 0; width: 48px; } .msg-avatar img { height: 48px; vertical-align: top; width: 48px; } .msg-cont { background: #FFF; box-shadow: 0 0 3px rgba(0, 0, 0, 0.16); line-height: 140%; margin: 0 0 12px 0; padding: 20px; width: 640px; } li.msgthread .msg-cont { width: 100%; } .reply-new .msg-cont { border-right: 5px solid #0C0; } .msg-ts { float: right; font-size: small; vertical-align: top; } .msg-ts, .msg-ts > a { color: #999; } .msg-txt { clear: both; margin: 0 0 12px; padding-top: 10px; word-wrap: break-word; overflow-wrap: break-word; } .msg-media { text-align: center; } .msg-links { color: #999; font-size: small; margin: 5px 0 0 0; } .msg-comments { color: #AAA; font-size: small; margin-top: 10px; overflow: hidden; text-indent: 10px; } .ta-wrapper { border: 1px solid #DDD; display: flex; flex-grow: 1; } .msg-comment { display: flex; width: 100%; margin-top: 10px; } .msg-comment-hidden { display: none; } .msg-comment textarea { border: 0; flex-grow: 1; padding: 2px; resize: vertical; vertical-align: top; } .attach-photo { cursor: pointer; } .attach-photo-active { color: green; } .msg-comment input { align-self: flex-start; background: #EEE; border: 1px solid #CCC; color: #999; margin: 0 0 0 6px; position: -webkit-sticky; position: sticky; top: 70px; vertical-align: top; width: 50px; } .msg-recomms { color: #AAA; font-size: small; margin-top: 10px; overflow: hidden; text-indent: 10px; } #replies .msg-txt, #private-messages .msg-txt { margin: 0; } .title2 { background: #DDDDD0; margin: 20px 0; padding: 10px 20px; } .title2-right { float: right; line-height: 24px; } #content .title2 h2 { font-size: 12pt; margin: 0; } @media screen and (max-width: 1000px) { li.msgthread .msg-cont .msg-avatar, li.msgthread .msg-cont .msg-header > span { display: none; } } @media screen and (max-width: 750px) { article p { margin: 5px 0 10px 0; } .msg, .msg-cont { min-width: 240px; width: auto; } article, .msg-cont, .title2 { margin: 0 0 8px 0; } .msg-media { overflow: auto; } .msg-comment { flex-direction: column; } .msg-comment input { align-self: flex-end; margin: 6px 0 0 0; width: 100px; } } @media screen and (max-width: 32em /* 512/16 */) { article > nav.l > a > span, .msg-cont > nav.l > a > span { display: none; } .msg-tags { min-height: 1px; } .msg-txt { padding-top: 5px; } .title2 { font-size: 11pt; } } /* #endregion */ /* #region user-generated texts */ q:before, q:after { content: ""; } q, blockquote { border-left: 3px solid #CCC; color: #666; display: block; margin: 10px 0 10px 10px; padding-left: 10px; } /* #endregion */ /* #region new message form internals */ #newmessage { background: #E5E5E0; margin-bottom: 20px; padding: 15px; } #newmessage textarea { border: 1px solid #CCC; margin: 0 0 5px 0; margin-top: 20px; max-height: 6em; min-width: 280px; padding: 4px; width: 100%; } #newmessage input { border: 1px solid #CCC; margin: 5px 0; padding: 2px 4px; } #newmessage .img { width: 500px; } #newmessage .tags { width: 500px; } #newmessage .subm { background: #EEEEE5; width: 150px; } @media screen and (max-width: 850px) { #newmessage .img, #newmessage .tags { width: 100%; } } /* #endregion */ /* #region user lists */ .users { margin: 10px 0; width: 100%; display: flex; flex-wrap: wrap; } .users > span { overflow: hidden; padding: 6px 0; width: 200px; } .users img { height: 32px; margin-right: 6px; vertical-align: middle; width: 32px; } /* #endregion */ /* #region signup form */ .signup-h1 > img { margin-right: 10px; vertical-align: middle; } .signup-h1 { font-size: x-large; margin: 20px 0 10px 0; } .signup-h2 { font-size: large; margin: 10px 0 5px 0; } .signup-hr { margin: 20px 0; } /* #endregion */ /* #region PM */ .newpm { margin: 20px 60px 30px 60px; } .newpm textarea { resize: vertical; width: 100%; } .newpm-send input { width: 100px; } @media screen and (max-width: 450px) { .newpm { margin: 20px 0 30px 0; } } /* #endregion */ /* #region popup dialog (lightbox) */ #dialogb { background: #222; height: 100%; left: 0; opacity: 0.6; position: fixed; top: 0; width: 100%; z-index: 10; } #dialogt { height: 100%; left: 0; position: fixed; top: 0; width: 100%; z-index: 10; display: flex; align-items: center; justify-content: center; } #dialogw { z-index: 11; max-width: 96%; max-height: calc(100% - 100px); position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); } #dialogw a { display: block; } #dialogw img { max-height: 100%; max-height: 90vh; max-width: 100%; } #dialog_header { width: 100%; height: 44px; position: fixed; display: flex; flex-direction: row-reverse; align-items: center; } .header_image { background: rgba(0, 0, 0, 0.28); } #dialogc { cursor: pointer; color: #ccc; padding-right: 6px; } .dialoglogin { background: #EEEEE5; padding: 25px; width: 350px; } .dialog-opened { overflow: hidden; } #signfb, #signvk { display: block; line-height: 32px; margin: 10px 0; text-decoration: none; width: 100%; } #signvk { margin-bottom: 30px; } .dialoglogin form { margin-top: 7px; } .signinput, .signsubmit { border: 1px solid #CCC; margin: 3px 0; padding: 3px; } .signinput { width: 292px; } .signsubmit { width: 70px; } .dialogshare { background: #EEEEE5; min-width: 300px; overflow: auto; padding: 20px; } .dialogl { background: #F5F5E9; border: 1px solid #DDD; margin: 3px 0 20px; padding: 5px; } .dialogshare li { float: left; margin: 5px 10px 0 0; } .dialogshare a { display: block; } .dialogtxt { background: #EEEEE5; padding: 20px; } @media screen and (max-width: 480px) { .dialog-opened { position: fixed; width: 100%; } } /* #endregion */ /* #region misc */ #wsthread { background: #CCC; bottom: 20px; cursor: pointer; display: none; padding: 5px 10px; position: fixed; right: 20px; } .sharenew { display: inline-block; line-height: 32px; min-height: 32px; min-width: 200px; padding: 0 12px 0 37px; } .icon { margin-top: -2px; vertical-align: middle; } .icon--ei-comment { margin-top: -3px; } .newmessage { /* textarea on the /post page */ border: 1px solid #DDD; padding: 2px; resize: vertical; width: 695px; } /* #endregion */ /* #region footer internals */ #footer-social { float: left; } #footer-social a { border: 0; display: inline-block; } #footer-left { margin-left: 286px; margin-right: 350px; } #footer-right { float: right; } @media screen and (max-width: 850px) { #footer { margin: 0 10px; } #footer div { float: none; margin: 10px 0; } } /* #endregion */ /* #region settings */ fieldset { border: 1px dotted #ccc; margin-top: 25px; } /* #endregion */ /* #region embeds */ .embedContainer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding: 0; margin: 30px -3px 15px -3px; } .embedContainer > * { flex-grow: 1; margin: 3px; min-width: 49%; } .embedContainer > .compact { flex-grow: 0; } .embedContainer .picture img { display: block; } .embedContainer img, .embedContainer video { max-width: 100%; max-height: 80vh; } .embedContainer > .audio, .embedContainer > .youtube { min-width: 90%; } .embedContainer audio { width: 100%; } .embedContainer iframe { overflow: hidden; resize: vertical; display: block; } /* #endregion */ /* #region nsfw */ article.nsfw .embedContainer img, article.nsfw .embedContainer video, article.nsfw .embedContainer iframe, article.nsfw .ir img { opacity: 0.1; } article.nsfw .embedContainer img:hover, article.nsfw .embedContainer video:hover, article.nsfw .embedContainer iframe:hover, article.nsfw .ir img:hover { opacity: 1; } /* #endregion */