@charset "UTF-8"; /* =============== Global variables ================================= */ :root { /* TODO: Remove as much of the following ASAP */ /* Backwards compatibility only */ --main-bg-color: #282c37; --post-bg-color: #282c37; --column-left-color: #282c37; /*--link-bg-color: #282c37;/* /* This should not be set by default */ --dropdown-fg-color: #dddddd; --dropdown-bg-color: #111; --dropdown-bg-color-hover: #333; --dropdown-fg-color-hover: #dddddd; --main-bg-color-reply: #212c37; --main-bg-color-dm: #222; --main-bg-color-report: #221c27; --main-header-color-roles: #282237; --main-fg-color: #dddddd; --column-left-fg-color: #dddddd; --column-right-fg-color: yellow; --column-right-fg-color-voted-on: red; --main-link-color: #999; --main-link-color-hover: #bbb; --main-visited-color: #888; --border-color: #505050; --border-width: 2px; --border-width-header: 2px; --font-size-header: 18px; --font-size-header-mobile: 32px; --font-color-header: #ccc; --font-size-button-mobile: 34px; --font-size-links: 18px; --font-size-publish-button: 18px; --font-size-newswire: 18px; --font-size-newswire-mobile: 40px; --font-size-dropdown-header: 40px; --font-size: 30px; --font-size2: 24px; --font-size3: 38px; --font-size4: 22px; --font-size5: 20px; --font-size-likes: 20px; --font-size-likes-mobile: 32px; --font-size-pgp-key: 16px; --font-size-pgp-key2: 18px; --font-size-tox: 16px; --font-size-tox2: 18px; --time-color: #aaa; --time-vertical-align: 4px; --time-vertical-align-mobile: 25px; --publish-button-text: #FFFFFF; --button-text: #FFFFFF; --button-selected-text: #FFFFFF; --publish-button-background: #999; --button-background: #999; --button-background-hover: #777; --button-text-hover: white; --button-selected: #666; --button-highlighted: green; --button-fg-highlighted: #FFFFFF; --button-selected-highlighted: darkgreen; --button-approve: darkgreen; --button-deny: darkred; --button-width-chars: 10ch; --button-height: 10px; --button-height-padding-mobile: 20px; --button-height-padding: 10px; --image-corners: 10%; --gallery-border: #ccc; --gallery-hover: #777; --gallery-text-color: #ccc; --gallery-font-size: 22px; --gallery-font-size-mobile: 35px; --button-corner-radius: 15px; --timeline-border-radius: 30px; --timeline-posts-background-color: #282c37; --icons-side: right; --title-color: #999; --focus-color: white; --quote-right-margin: 0.1em; --quote-font-weight: normal; --quote-font-size: 120%; --line-spacing: 130%; --line-spacing-newswire: 120%; --newswire-item-moderated-color: white; --newswire-date-moderated-color: white; --column-left-width: 10vw; --column-center-width: 80vw; --column-right-width: 10vw; --column-left-header-style: uppercase; --column-left-header-background: #555; --column-left-header-color: #fff; --column-left-header-size: 20px; --column-left-header-size-mobile: 50px; --column-left-border-width: 0; --column-left-icons-margin: 0; --column-right-border-width: 0; --column-left-border-color: black; --column-left-icon-size: 20%; --column-left-icon-size-mobile: 10%; --column-left-image-width-mobile: 40vw; --column-right-image-width-mobile: 100vw; --column-right-icon-size: 20%; --column-right-icon-size-mobile: 10%; --newswire-date-color: white; --newswire-voted-background-color: black; --login-button-color: #2965; --login-button-fg-color: black; --button-event-corner-radius: 60px; --button-event-background-color: green; --button-event-fg-color: white; --hashtag-background-color: black; --hashtag-fg-color: white; --tab-border-width: 0px; --tab-border-color: grey; --icon-brightness-change: 150%; --container-button-padding: 20px; --header-button-padding: 20px; --container-padding: 2%; --container-padding-bottom: 1%; --container-padding-bottom-mobile: 0%; --vertical-between-posts: 10px; --vertical-between-posts-header: 10px; --containericons-horizontal-spacing: 1%; --containericons-horizontal-spacing-mobile: 3%; --containericons-horizontal-offset: -1%; --likes-count-offset: 5px; --likes-count-offset-mobile: 10px; --publish-button-vertical-offset: 10px; --publish-button-bottom-offset: 10px; /*--banner-height: 20vh; --banner-height-mobile: 10vh;*/ --post-separator-margin-top: 0; --post-separator-margin-bottom: 0; --post-separator-width: 95%; --post-separator-height: 1px; --header-vertical-offset: 0; --profile-background-height: 25vw; --profile-text-align: left; --verticals-width: 0; --italic-font-style: italic; --header-font: 'Arial, Helvetica, sans-serif'; --button-bottom-margin: 10px; } @font-face { font-family: 'Bedstead'; font-style: var(--italic-font-style); font-weight: normal; font-display: block; src: url('./fonts/bedstead.otf') format('opentype'); } @font-face { font-family: 'Bedstead'; font-style: normal; font-weight: normal; font-display: block; src: url('./fonts/bedstead.otf') format('opentype'); } .leftColIcons { width: 100%; background-color: var(--main-bg-color); float: right; display: block; padding-bottom: var(--column-left-icons-margin); } .postSeparatorImage img { background-color: var(--column-left-color); padding-top: var(--post-separator-margin-top); padding-bottom: var(--post-separator-margin-bottom); width: var(--post-separator-width); height: var(--post-separator-height); display: block; } .headericons { display: inline-block; float: right; } blockquote { border-left: 10px; margin: 1.5em 10px; padding: 0.5em 10px; font-weight: var(--quote-font-weight); font-style: italic; font-size: var(--quote-font-size); quotes: "\201C""\201D""\2018""\2019"; } blockquote:before { content: open-quote; font-size: 2em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; } blockquote:after { content: close-quote; font-size: 2em; line-height: 0.1em; margin-left: var(--quote-right-margin); vertical-align: -0.4em; } blockquote p { display: inline; } .voteicon { width: 1.1vw; margin: -4px 5px; } .imageAnchor { font-family: var(--header-font); } .imageAnchor:focus img{ border: 2px solid var(--focus-color); } h1 { font-family: var(--header-font); color: var(--title-color); } /*a, u { color: var(--main-fg-color); } a:visited{ color: var(--main-visited-color); font-weight: bold; } a:link { color: var(--main-link-color); font-weight: bold; } a:link:hover { color: var(--main-link-color-hover); } a:visited:hover { color: var(--main-link-color-hover); } a:focus { border: 2px solid var(--focus-color); }*/ .buttonevent:hover { filter: brightness(var(----icon-brightness-change)); } .profileHeader { font-family: Arial, Helvetica, sans-serif; position: relative; overflow: hidden; margin: 10px; width: 100%; color: #ffffff; text-align: var(--profile-text-align); line-height: 1.4em; background-color: #141414; } .profileHeader .title { border-radius: 50%; position: absolute; bottom: 100%; left: 25px; z-index: 1; max-width: 20%; opacity: 1; box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); } .profileHeader * { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.25s ease; transition: all 0.25s ease; } .profileHeader img.profileBackground { object-fit: cover; max-height: var(--profile-background-height); width: 100%; vertical-align: top; } .profileHeader figcaption { width: 100%; background-color: var(--main-bg-color); color: var(--main-fg-color); padding: 25px; position: relative; } .profileHeader figcaption:before { position: absolute; content: ''; bottom: 100%; left: 0; width: 0; height: 0; border-style: solid; border-width: 55px 0 0 400px; border-color: transparent transparent transparent var(--main-bg-color); } .rssfeed img { width: 5%; float: right; } .about { font-size: var(--font-size5); float: right; } .blogreplies { color: var(--button-highlighted); font-size: var(--font-size2); float: right; } .buttonprev { float: left; width: 10%; -ms-transform: translateY(30%); transform: translateY(30%); } .buttonnext { float: right; width: 10%; -ms-transform: translateY(30%) scaleX(-1); transform: translateY(30%) scaleX(-1); } .new-post-text { font-size: var(--font-size2); padding: 4px 0; } .new-post-subtext { font-size: var(--font-size-header); padding: 4px 0; } .highlight { width: 2%; } .roles { text-align: center; left: 35%; background-color: var(--main-header-color-roles); } .roles-inner { padding: 10px 25px; background-color: var(--main-bg-color); } .timelineIcon { width: 10%; } .timeline-posts { background-color: var(--timeline-posts-background-color); } .container img.timelineicon:hover { filter: brightness(var(--icon-brightness-change)); } .containerHeader img.timelineicon:hover { filter: brightness(var(--icon-brightness-change)); } .buttonunfollow:hover { background-color: var(--button-background-hover); color: var(--button-text-hover); } .followRequestHandle { padding: 0px 20px; } .button span { font-family: var(--header-font); cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } .button span:after { font-family: var(--header-font); content: '\00bb'; position: absolute; opacity: 0; top: 0; right: -20px; transition: 0.5s; } .button:hover { background-color: var(--button-background-hover); color: var(--button-text-hover); } .donateButton:hover { background-color: var(--button-background-hover); color: var(--button-text-hover); } .buttonselected span { font-family: var(--header-font); cursor: pointer; display: inline-block; position: relative; transition: 0.5s; } .buttonselected span:after { font-family: var(--header-font); content: '\00bb'; position: absolute; opacity: 0; top: 0; right: -20px; transition: 0.5s; } .buttonselected:hover { background-color: var(--button-background-hover); color: var(--button-text-hover); } .containerNewPost { border: var(--border-width) solid var(--border-color); border-radius: var(--timeline-border-radius); background-color: var(--main-bg-color); margin: var(--vertical-between-posts); } .containerSubmitNewPost { border: 0; background-color: var(--main-bg-color); margin: var(--vertical-between-posts); } /* .media { width: 80%; border-radius: 5px; padding: 10px; margin: 10px 0; } */ .message { margin-left: 0%; margin-right: 0%; width: 100%; } .addedHashtag:link { background-color: var(--hashtag-background-color); color: var(--hashtag-fg-color); } .addedHashtag:visited { background-color: var(--hashtag-background-color); color: var(--hashtag-fg-color); } .message:focus{ border: 2px solid var(--focus-color); } .message:focus img{ border: 2px solid var(--focus-color); } .gitpatch { width: 90%; font-family: 'monospace'; } .searchEmoji { vertical-align: middle; float: none; width: 80px; margin: 0px 10px; padding: 0px 0px; border-radius: 0px; } .container img.emoji { float: none; width: 50px; margin-left: 0px; margin-right: 0px; padding-right: 0px; border-radius: 0px; vertical-align: middle; } .containericons { padding: 0px 0px; margin: 0px var(--containericons-horizontal-offset); } .replyingto { color: var(--main-fg-color); } .imText { font-size: var(--font-size4); color: var(--main-link-color); /*background: var(--link-bg-color);*/ } .announceOrReply { font-family: var(--header-font); } .container img.announceOrReply { float: none; width: 30px; margin: 0 0; padding: 0 0; border-radius: 0; vertical-align: middle; } .container img.DMicon { float: none; width: 40px; margin: 0 0; padding: 0 0; border-radius: 0; vertical-align: middle; } .darker { background-color: var(--main-bg-color-reply); } .dm { background-color: var(--main-bg-color-dm); } .report { border-color: #255; background-color: var(--main-bg-color-report); } .container img.attachment { max-width: 140%; margin-left: -2%; margin-right: 2%; width: 125%; padding-bottom: 3%; } .container img.right { float: var(--icons-side); margin-left: 0px; margin-right:0; padding: 0 0; margin: 0 0; } .containerHeader img.right { float: var(--icons-side); margin-left: 0px; margin-right:0; padding: 0 0; margin: 0 0; } .containericons img.right { float: var(--icons-side); margin-left: 20px; margin-right: 0; } .containericons img:hover { filter: brightness(var(----icon-brightness-change)); } .post-title { margin-top: 0px; color: #444; } .share-title { margin-top: 0px; color: var(--main-fg-color); } .skill-title { margin-left: 25%; text-align: left; font-size: var(--font-size2); font-weight: bold; color: var(--button-selected); line-height: 40px; } #myProgress { float: left; width: 70%; background-color: #f1f1f1; } #myBar { float: left; width: 10%; height: 30px; background-color: var(--button-background); } input[type=number] { width: 10%; padding: 12px; border: 1px solid #ccc; border-radius: var(--button-corner-radius); box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; font-size: var(--font-size-header); } .labels { font-size: var(--font-size); } .transparent { color: transparent; background: transparent; font-size: 0px; line-height: 0px; height: 0px; } .labelsright { float: right; font-size: var(--font-size); } input[type=date] { background-color: var(--main-bg-color-reply); color: var(--main-fg-color); font-size: var(--font-size); border: none; } input[type=time] { background-color: var(--main-bg-color-reply); color: var(--main-fg-color); font-size: var(--font-size); border: none; } input[type=submit] { background-color: var(--button-background); color: var(--button-text); margin: 10px 10px; padding: 12px 10px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size-header); width: 120px; } .loginButton { background-color: var(--login-button-color); color: var(--login-button-fg-color); float: none; margin: 0px 10px; padding: 12px 40px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size2); opacity: 0.7; } input[type=submit]:hover { background-color: var(--button-background); } .vertical-center { max-width: 90%; min-width: 600px; margin: 0 auto; } .timeline-avatar { margin: 10px auto; padding: 0px 0px; } .timeline-avatar:hover { filter: brightness(120%); } .timeline-avatar-reply { padding: 0px 0px; width: 80%; } .search-result-text { font-size: var(--font-size); } .search-result img { width: 7%; padding: 0px 30px; } /* new post dropdown */ .newPostDropdown { position: relative; } .newPostDropdown img { width: var(--font-size-dropdown-header); } .newPostDropdown > input[type="checkbox"] { position: absolute; left: -100vw; } .newPostDropdown > label, .newPostDropdown > a[role="button"] { display: inline-block; padding: 6px 0px; color: var(--dropdown-fg-color); font-size: var(--font-size-dropdown-header); font-family: var(--header-font); line-height: 1.5em; text-decoration: none; border: 0; cursor: pointer; } .newPostDropdown > label:hover, .newPostDropdown > a[role="button"]:hover, .newPostDropdown > a[role="button"]:focus { border-color: var(--dropdown-fg-color-hover); } .newPostDropdown > label:after, .newPostDropdown > a[role="button"]:after { content: ""; font-family: 'Bedstead'; display: inline-block; margin-left: 6px; } .newPostDropdown > ul { position: absolute; z-index: 999; display: block; left: -100vw; top: calc(1.5em + 14px); border: 0; background: var(--dropdown-bg-color); padding: 6px 0; margin: 0; list-style: none; width: 100%; } .newPostDropdown > ul a { display: block; padding: 6px 15px; text-decoration: none; color: var(--dropdown-fg-color); } .newPostDropdown > ul a:hover, .newPostDropdown > ul a:focus { color: var(--dropdown-fg-color-hover); background: var(--dropdown-bg-color-hover); } .newPostDropdown > input[type="checkbox"]:checked ~ ul, .newPostDropdown > ul:target { left: 0; } .newPostDropdown > [type="checkbox"]:checked + label:after, .newPostDropdown > ul:target ~ a:after { content: "↴"; } .newPostDropdown a.close { display: none; } .newPostDropdown > ul:target ~ a.close { display: block; position: absolute; left: 0; top: 0; height: 100%; width: 100%; text-indent: -100vw; z-index: 1000; } .newPostDropdown + h2 { margin-top: 60px; } .slider { -webkit-appearance: none; width: 57%; height: 25px; background: #d3d3d3; outline: none; opacity: 0.7; -webkit-transition: .2s; transition: opacity .2s; float: right; margin: 5px 0; padding: 12px 0; } .slider:hover { opacity: 1; } .slider::-moz-range-thumb { width: 25px; height: 25px; background: var(--main-bg-color); cursor: pointer; } .dropbtn { margin: 3%; padding: 0px 14px; position: relative; display: inline-block; border: none; cursor: pointer; } .dropbtn img { opacity: 1.0; width: 3%; height: 3%; min-width: 40px; -ms-transform: translateY(10%); transform: translateY(10%); } div.gallery:hover { border: 1px solid var(--gallery-hover); } div.gallery img { width: 100%; height: auto; } .invisible { color: transparent; font-size: 0; } .gallerytext { text-decoration: none; } /***********BUTTON CODE ******************************************************/ a, button, input:focus, input[type='button'], input[type='reset'], input[type='submit'], textarea:focus, .button { -webkit-transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -ms-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out; text-decoration: none; } .btn { margin: -3px 0 0 0; } div.containerHeader { overflow: auto; } div.container { overflow: hidden; } /* MOBILE */ @media screen and (max-width: 414px) { .timeline-banner { background: url('images/banners/Banner_Mobile_400x96.jpg'); /* Height should match .header */ height: 96px; /* Not setting the width causes the image to be repeated */ /*width: 768px;*/ } } /* TABLET */ @media screen and (min-width: 415px) { /*body, html { background-color: var(--main-bg-color); color: var(--main-fg-color); height: 100%; min-width: 950px; font-size: var(--font-size); line-height: var(--line-spacing); }*/ .containerHeader { border: var(--border-width-header) solid var(--border-color); background-color: var(--header-bg-color); border-radius: var(--timeline-border-radius); padding: var(--header-button-padding); margin: var(--vertical-between-posts-header); transform: translateY(var(--header-vertical-offset)); margin-bottom: var(--button-bottom-margin); } .container { border: var(--border-width) solid var(--border-color); background-color: var(--post-bg-color); border-radius: var(--timeline-border-radius); padding-left: var(--container-padding); padding-right: var(--container-padding); padding-top: var(--container-padding); padding-bottom: var(--container-padding-bottom); margin: var(--vertical-between-posts); } h3.linksHeader { background-color: var(--column-left-header-background); color: var(--column-left-header-color); font-family: var(--header-font); font-size: var(--column-left-header-size); text-transform: var(--column-left-header-style); padding: 4px; border: none; } .newswireItem { padding-top: 0; margin-top: 0; font-size: var(--font-size-newswire); color: var(--column-right-fg-color); line-height: var(--line-spacing-newswire); } .newswireItemModerated { font-size: var(--font-size-newswire); color: var(--newswire-item-moderated-color); line-height: var(--line-spacing-newswire); } .newswireDateModerated { font-size: var(--font-size-newswire); font-weight: bold; color: var(--newswire-date-moderated-color); float: right; } .newswireItemVotedOn a:link { background: var(--newswire-voted-background-color); } .newswireItemVotedOn { font-size: var(--font-size-newswire); font-weight: bold; color: var(--column-right-fg-color-voted-on); line-height: var(--line-spacing-newswire); } .newswireDate { font-size: var(--font-size-newswire); color: var(--newswire-date-color); float: right; } .newswireDateVotedOn { font-size: var(--font-size-newswire); font-weight: bold; color: var(--column-right-fg-color-voted-on); float: right; } .imageAnchorMobile img { display: none; } /*.timeline-banner { vertical-align: top; object-fit: cover; width: 100%; max-height: var(--banner-height); }*/ .timeline, .page { display: flex; flex-wrap: nowrap; border: 0; width: 100%; } .col-left a:link { background: var(--column-left-color); } .col-left a:visited { background: var(--column-left-color); } .column-left { background-color: var(--column-left-color); width: var(--column-left-width); } .col-left { border: var(--column-left-border-width) solid var(--column-left-border-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); width: var(--column-left-width); } .col-left img.leftColEdit { background: var(--column-left-color); width: var(--column-left-icon-size); } .col-left img.leftColEditImage { background: var(--column-left-color); width: var(--column-left-icon-size); float: right; } .col-left img.leftColImg { background: var(--column-left-color); width: 100%; margin: 0 0; padding: 0 0; } .column-center { width: var(--column-center-width); } .col-center { width: var(--column-center-width); background-color: var(--main-bg-color); border-bottom: none; border-top: none; border-left: var(--verticals-width) solid var(--tab-border-color); border-right: var(--verticals-width) solid var(--tab-border-color); } .col-right a:link { background: var(--column-left-color); } .col-right a:visited { background: var(--column-left-color); } .column-right { background-color: var(--column-left-color); width: var(--column-right-width); overflow: hidden; } .col-right { border: var(--column-right-border-width) solid var(--column-left-border-color); background-color: var(--column-left-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); width: var(--column-right-width); overflow: hidden; } .col-right img.rightColEdit { background: var(--column-left-color); width: var(--column-right-icon-size); } .col-right img.rightColEditImage { background: var(--column-left-color); width: var(--column-right-icon-size); float: right; } .col-right img.rightColImg { background: var(--column-left-color); width: 100%; margin: 0 0; padding: 0 0; } .likesCount { font-size: var(--font-size-likes); float: right; padding: 10px 0; transform: translateX(var(--likes-count-offset)); font-weight: bold; } .container p.administeredby { font-size: var(--font-size-header); } .toxaddr { font-size: var(--font-size-tox); } .ssbaddr { font-size: var(--font-size-pgp-key); } .pgp { font-size: var(--font-size-pgp-key); color: var(--main-link-color); /*background: var(--link-bg-color);*/ font-family: 'monospace'; } /*body, html { font-size: var(--font-size4); }*/ .galleryContainer { display: grid; grid-template-columns: 50% 50%; grid-column-gap: 5px; background-color: var(--main-bg-color); } div.gallerytext { color: var(--gallery-text-color); font-size: var(--gallery-font-size); } div.gallery { margin: 5px 1.5%; border: 1px solid var(--gallery-border); float: left; width: 95%; object-fit: scale-down; } div.imagedesc { padding: 22px; text-align: center; } .container img { float: left; max-width: 400px; width: 5%; padding: 0px 7px; margin-right: 20px; border-radius: var(--image-corners); } .containerHeader img { float: left; max-width: 400px; width: 5%; padding: 0px 7px; margin-right: 20px; border-radius: var(--image-corners); } .container img.emojisearch { width: 15%; float: right; } .container img.emojicalendar { float: left; max-width: 400px; width: 8%; -ms-transform: translateY(-25%); transform: translateY(-25%); } .container img.timelineicon { float: var(--icons-side); margin-left: 0px; margin-right: 0px; padding: 0px 0px; margin: 0px 0px; width: 50px; } .containerHeader img.timelineicon { float: var(--icons-side); margin-left: 0px; margin-right:0; padding: 0 0; margin: 0 0; width: 50px; } .container img.emojiheader { float: none; width: 25px; margin-left: 0px; margin-right: 0px; padding-right: 0px; border-radius: 0px; vertical-align: middle; } .containericons img { float: var(--icons-side); max-width: 200px; width: 3%; margin: 0px var(--containericons-horizontal-spacing); margin-right: 0px; border-radius: 0%; } div.mediaicons img { float: right; max-width: 200px; width: 6%; margin: 0px 1%; border-radius: 0%; } div.mediaavatar img { float: left; max-width: 200px; width: 5%; margin: 0px 1%; border-radius: 0%; } .timeline-avatar img { opacity: 1.0; width: 8%; height: 8%; padding: 0px 0px; -ms-transform: translateY(-10%); transform: translateY(-10%); } .buttonevent { border-radius: var(--button-event-corner-radius); background-color: var(--button-event-background-color); border: none; color: var(--button-event-fg-color); text-align: center; font-size: var(--font-size-header); padding: var(--button-height-padding); transition: all 0.5s; cursor: pointer; margin: 5px; } .frontPageMobileButtons{ display: none; } .buttonMobile { background: transparent; border: none !important; font-size: 0; padding-left: 0; padding-right: 0; border-left-width: 0; border-right-width: 0; white-space: nowrap; overflow: hidden; } .button { border-radius: var(--button-corner-radius); background-color: var(--button-background); color: var(--button-text); text-align: center; font-size: var(--font-size-header); font-family: var(--header-font); padding: var(--button-height-padding); width: 10%; margin: 5px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .buttonDesktop { border-radius: var(--button-corner-radius); background-color: var(--button-background); color: var(--button-text); text-align: center; font-size: var(--font-size-header); font-family: var(--header-font); padding: var(--button-height-padding); width: 10%; margin: 5px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .publishbtn { border-radius: var(--button-corner-radius); background-color: var(--publish-button-background); border: none; color: var(--publish-button-text); text-align: center; font-size: var(--font-size-publish-button); padding: var(--button-height-padding); width: 10%; max-width: 200px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 0 0px; margin-top: var(--publish-button-vertical-offset); margin-bottom: var(--publish-button-bottom-offset); } .buttonhighlighted { border-radius: var(--button-corner-radius); background-color: var(--button-highlighted); border: none; color: var(--button-fg-highlighted); text-align: center; font-size: var(--font-size-header); padding: var(--button-height-padding); width: 10%; max-width: 100px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 5px; } .buttonselected { border-radius: var(--button-corner-radius); background-color: var(--button-selected); color: var(--button-selected-text); text-align: center; font-size: var(--font-size-header); font-family: var(--header-font); padding: var(--button-height-padding); width: 10%; margin: 5px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .buttonselectedhighlighted { border-radius: var(--button-corner-radius); background-color: var(--button-selected-highlighted); border: none; color: var(--button-text); text-align: center; font-size: var(--font-size-header); font-family: var(--header-font); padding: var(--button-height-padding); width: 10%; max-width: 100px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 5px; } .followApprove { border-radius: var(--button-corner-radius); background-color: var(--button-approve); border: none; color: #FFFFFF; text-align: center; font-size: var(--font-size-header); padding: var(--button-height-padding); width: 20%; max-width: 200px; min-width: 80px; cursor: pointer; margin: 0 5px; float: right; } .followDeny { border-radius: var(--button-corner-radius); background-color: var(--button-deny); border: none; color: #FFFFFF; text-align: center; font-size: var(--font-size-header); padding: var(--button-height-padding); width: 20%; max-width: 200px; min-width: 80px; cursor: pointer; margin: 0 5px; float: right; } .pageicon { width: 4%; background-color: var(--post-bg-color); } .time-right { float: var(--icons-side); color: var(--time-color); margin: var(--time-vertical-align) 20px; } input[type=text], input[type="password"], select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: var(--button-corner-radius); box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; font-size: var(--font-size2); background-color: var(--main-bg-color-reply); color: var(--main-fg-color); } input[type=button], input[type=submit] { background-color: var(--button-background); color: var(--button-text); padding: var(--button-height-padding); display: inline-block; margin: 15px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size); width: 20%; } .question { font-size: var(--font-size); } .questionresult { font-size: var(--font-size); } input[type=radio] { font-size: var(--font-size); width: 32px; vertical-align: middle; margin-right: 20px; } input.vote[type=submit] { background-color: var(--button-background); color: var(--button-text); float: left; padding: var(--button-height-padding); margin: 15px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size); width: 20%; } input[type=file] { background-color: var(--button-background); color: var(--button-text); padding: 20px; margin: 0px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size); width: 96%; } .cancelbtn { background-color: var(--button-background); color: var(--button-text); padding: var(--button-height-padding); margin: 15px; border: none; display: inline-block; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size); width: 20%; } .scope-desc { font-size: var(--font-size3); } .buttonunfollow { border-radius: var(--button-corner-radius); background-color: var(--button-background); border: none; color: var(--button-text); text-align: center; font-size: var(--font-size-header); padding: var(--button-height-padding); width: 20%; max-width: 200px; min-width: 100px; transition: all 0.5s; cursor: pointer; margin: 5px; float: right; } .license { float: right; margin: 0% 1%; width: 10%; } .donateButton { background-color: var(--button-background); color: var(--button-text); float: none; margin: 0px 10px; padding: 12px 40px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size2); opacity: 0.7; } input[type=checkbox] { -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); transform: scale(2); padding: 10px; margin: 20px 30px; } input[type=radio] { -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); transform: scale(2); padding: 10px; margin: 20px 30px; } input[type=number] { -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); transform: scale(2); padding: 10px; margin: 20px 60px; } .columnIcons img { float: right; } } /* DESKTOP */ @media screen and (max-width: 1023px) { /*body, html { background-color: var(--main-bg-color); color: var(--main-fg-color); height: 100%; min-width: 950px; margin-left: 0; font-size: var(--font-size); line-height: var(--line-spacing); }*/ .containerHeader { border: var(--border-width-header) solid var(--border-color); background-color: var(--header-bg-color); border-radius: var(--timeline-border-radius); padding: var(--header-button-padding); margin: var(--vertical-between-posts-header); transform: translateY(0%); margin-bottom: var(--button-bottom-margin); } .container { border: var(--border-width) solid var(--border-color); background-color: var(--post-bg-color); border-radius: var(--timeline-border-radius); padding-left: var(--container-padding); padding-right: var(--container-padding); padding-top: var(--container-padding); padding-bottom: var(--container-padding-bottom-mobile); margin: var(--vertical-between-posts); } h3.linksHeader { background-color: var(--column-left-header-background); color: var(--column-left-header-color); font-family: var(--header-font); font-size: var(--column-left-header-size-mobile); text-transform: var(--column-left-header-style); padding: 4px; border: none; } .leftColEditImage { background: var(--main-bg-color); width: var(--column-left-icon-size-mobile); float: right; margin: 20px 0px; } .leftColImg { background: var(--main-bg-color); width: var(--column-left-image-width-mobile); float: right; margin: 0 0; padding: 0 0; } .rightColEditImage { background: var(--main-bg-color); width: var(--column-right-icon-size-mobile); float: right; margin: 20px 0px; } .rightColImg { background: var(--main-bg-color); width: var(--column-right-image-width-mobile); float: right; margin: 0 0; padding: 0 0; } .newswireItem { padding-top: 0; margin-top: 0; font-size: var(--font-size-newswire-mobile); color: var(--column-right-fg-color); line-height: var(--line-spacing-newswire); } .newswireItemModerated { font-size: var(--font-size-newswire-mobile); color: var(--newswire-item-moderated-color); line-height: var(--line-spacing-newswire); } .newswireDateModerated { font-size: var(--font-size-newswire-mobile); font-weight: bold; color: var(--newswire-date-moderated-color); float: right; } .newswireItemVotedOn a:link { background: var(--newswire-voted-background-color); } .newswireItemVotedOn { font-size: var(--font-size-newswire-mobile); font-weight: bold; color: var(--column-right-fg-color-voted-on); line-height: var(--line-spacing-newswire); } .newswireDate { font-size: var(--font-size-newswire-mobile); color: var(--newswire-date-color); float: right; } .newswireDateVotedOn { font-size: var(--font-size-newswire-mobile); font-weight: bold; color: var(--column-right-fg-color-voted-on); float: right; } .imageAnchorMobile img { display: inline; } /*.timeline-banner { vertical-align: top; object-fit: cover; width: 98vw; max-height: var(--banner-height-mobile); }*/ .timeline, .page { width: 100vw; overflow: hidden; } .column-left { display: none; width: 0%; } .col-left { display: none; } .col-center { width: 100vw; } .col-right { display: none; } .column-right { display: none; width: 0%; } .column-center { width: 100%; } .likesCount { font-size: var(--font-size-likes-mobile); float: right; padding: 32px 0; transform: translateX(var(--likes-count-offset-mobile)); font-weight: bold; } .container p.administeredby { font-size: var(--font-size-tox2); } .toxaddr { font-size: var(--font-size-tox2); } .ssbaddr { font-size: var(--font-size-pgp-key2); } .pgp { font-size: var(--font-size-pgp-key2); color: var(--main-link-color); /*background: var(--link-bg-color);*/ font-family: 'monospace'; } /*body, html { font-size: var(--font-size3); }*/ div.gallerytext { color: var(--gallery-text-color); font-size: var(--gallery-font-size-mobile); } .galleryContainer { display: grid; grid-template-columns: auto; background-color: var(--main-bg-color); } div.gallery { margin: 5px 1.5%; border: 1px solid var(--gallery-border); float: left; width: 98%; } div.imagedesc { padding: 35px; text-align: center; } .container img { float: left; max-width: 400px; width: 15%; padding: 0px 7px; margin-right: 20px; border-radius: var(--image-corners); } .containerHeader img { float: left; max-width: 400px; width: 15%; padding: 0px 7px; margin-right: 20px; border-radius: var(--image-corners); } .container img.emojisearch { width: 25%; float: right; } .container img.emojicalendar { float: left; max-width: 400px; width: 12%; -ms-transform: translateY(-25%); transform: translateY(-25%); } img.timelineicon { float: var(--icons-side); margin-left: 0px; margin-right: 0px; padding: 0px 0px; margin: 0px 0px; width: 100px; } .containerHeader img.timelineicon { float: var(--icons-side); margin-left: 0px; margin-right:0; padding: 0 0; margin: 0 0; width: 100px; } .container img.emojiheader { float: none; width: 45px; margin-left: 0px; margin-right: 0px; padding-right: 0px; border-radius: 0px; vertical-align: middle; } div.mediaavatar img { float: left; max-width: 200px; width: 8%; margin: 0px 1%; border-radius: 0%; } div.mediaicons img { float: right; max-width: 200px; width: 10%; margin: 0px 1%; border-radius: 0%; } .containericons img { float: var(--icons-side); max-width: 200px; width: 7%; margin: 1% var(--containericons-horizontal-spacing-mobile); margin-right: 0px; border-radius: 0%; } .timeline-avatar img { opacity: 1.0; width: 15%; height: 15%; padding: 0px 0px; -ms-transform: translateY(-10%); transform: translateY(-10%); } .buttonevent { border-radius: var(--button-event-corner-radius); background-color: var(--button-event-background-color); border: none; color: var(--button-event-fg-color); text-align: center; font-size: var(--font-size-button-mobile); padding: var(--button-height-padding-mobile); transition: all 0.5s; cursor: pointer; margin: 15px; } .button { border-radius: var(--button-corner-radius); background-color: var(--button-background); color: var(--button-text); text-align: center; font-size: var(--font-size-button-mobile); font-family: var(--header-font); padding: var(--button-height-padding-mobile); width: 20%; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 5px; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .frontPageMobileButtons{ display: block; border: var(--border-width-header) solid var(--border-color); background-color: var(--main-bg-color); border-radius: var(--timeline-border-radius); padding: var(--container-button-padding); margin: var(--vertical-between-posts-header); } .frontPageMobileButtons img { float: right; max-width: 400px; width: 10%; padding: 0px 7px; margin-right: 20px; } .buttonMobile { border-radius: var(--button-corner-radius); background-color: var(--button-background); color: var(--button-text); text-align: center; font-size: var(--font-size-button-mobile); padding: var(--button-height-padding-mobile); width: 20%; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 5px; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .buttonDesktop { background: transparent; border: none !important; font-size: 0; padding-left: 0; padding-right: 0; border-left-width: 0; border-right-width: 0; white-space: nowrap; overflow: hidden; } .publishbtn { border-radius: var(--button-corner-radius); background-color: var(--publish-button-background); border: none; color: var(--publish-button-text); text-align: center; font-size: var(--font-size-newswire-mobile); padding: var(--button-height-padding-mobile); width: 20%; max-width: 400px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 15px; } .buttonhighlighted { border-radius: var(--button-corner-radius); background-color: var(--button-highlighted); border: none; color: var(--button-fg-highlighted); text-align: center; font-size: var(--font-size-button-mobile); padding: var(--button-height-padding-mobile); width: 20%; max-width: 400px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 15px; } .buttonselected { border-radius: var(--button-corner-radius); background-color: var(--button-selected); color: var(--button-selected-text); text-align: center; font-size: var(--font-size-button-mobile); font-family: var(--header-font); padding: var(--button-height-padding-mobile); width: 20%; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 5px; border-top: var(--tab-border-width) solid var(--tab-border-color); border-bottom: none; border-left: var(--tab-border-width) solid var(--tab-border-color); border-right: var(--tab-border-width) solid var(--tab-border-color); margin-bottom: var(--button-bottom-margin); } .buttonselectedhighlighted { border-radius: var(--button-corner-radius); background-color: var(--button-selected-highlighted); border: none; color: var(--button-text); text-align: center; font-size: var(--font-size-button-mobile); font-family: var(--header-font); padding: var(--button-height-padding-mobile); width: 20%; max-width: 400px; min-width: var(--button-width-chars); transition: all 0.5s; cursor: pointer; margin: 15px; } .followApprove { border-radius: var(--button-corner-radius); background-color: var(--button-approve); border: none; color: #FFFFFF; text-align: center; font-size: var(--font-size3); padding: var(--button-height-padding-mobile); width: 20%; max-width: 400px; min-width: 80px; cursor: pointer; margin: 0 15px; float: right; } .followDeny { border-radius: var(--button-corner-radius); background-color: var(--button-deny); border: none; color: #FFFFFF; text-align: center; font-size: var(--font-size3); padding: var(--button-height-padding-mobile); width: 20%; max-width: 400px; min-width: 80px; cursor: pointer; margin: 0 15px; float: right; } .pageicon { width: 14%; background-color: var(--post-bg-color); } .time-right { float: var(--icons-side); color: var(--time-color); margin: var(--time-vertical-align-mobile) 20px; } input[type=text], select, textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: var(--button-corner-radius); box-sizing: border-box; margin-top: 6px; margin-bottom: 16px; resize: vertical; font-size: var(--font-size3); background-color: var(--main-bg-color-reply); color: var(--main-fg-color); } input[type=button], input[type=submit] { background-color: var(--button-background); color: var(--button-text); display: inline-block; padding: var(--button-height-padding-mobile); margin: 15px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size3); width: 20%; } .question { font-size: var(--font-size3); } .questionresult { font-size: var(--font-size3); } input[type=radio] { font-size: var(--font-size3); height: 90px; vertical-align: middle; margin-right: 20px; } input.vote[type=submit] { background-color: var(--button-background); color: var(--button-text); float: left; padding: var(--button-height-padding-mobile); margin: 15px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size3); width: 20%; } input[type=file] { background-color: var(--button-background); color: var(--button-text); padding: 20px; margin: 0px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size3); width: 95.4%; } .cancelbtn { background-color: var(--button-background); color: var(--button-text); display: inline-block; padding: var(--button-height-padding-mobile); margin: 15px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size3); width: 20%; } .scope-desc { font-size: var(--font-size3); } .buttonunfollow { border-radius: var(--button-corner-radius); background-color: var(--button-background); border: none; color: var(--button-text); text-align: center; font-size: var(--font-size-button-mobile); padding: var(--button-height-padding-mobile); width: 20%; max-width: 200px; min-width: 100px; transition: all 0.5s; cursor: pointer; margin: 5px; float: right; } .license { float: right; margin: 0% 1%; width: 20%; } .donateButton { background-color: var(--button-background); color: var(--button-text); float: none; margin: 0px 10px; padding: 12px 40px; border: none; border-radius: var(--button-corner-radius); cursor: pointer; font-size: var(--font-size3); opacity: 0.7; } input[type=checkbox] { -ms-transform: scale(4); -moz-transform: scale(4); -webkit-transform: scale(4); -o-transform: scale(4); transform: scale(4); padding: 20px; margin: 30px 40px; } input[type=radio] { -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); transform: scale(2); padding: 20px; margin: 30px 40px; } input[type=number] { -ms-transform: scale(2); -moz-transform: scale(2); -webkit-transform: scale(2); -o-transform: scale(2); transform: scale(2); padding: 10px; margin: 40px 80px; } .columnIcons img { width: 10%; float: right; margin-right: 1vw; } } /* HD SCREEN */ @media screen and (min-width: 1920px) { .galleryContainer { display: grid; grid-template-columns: 33% 33% 33%; grid-column-gap: 5px; background-color: var(--main-bg-color); } } /* =============== Slowly overwrite old vals ======================= */ /* These variables are currently only for testing */ :root { --bg-color: #282c37; --header-bg-color: #282c37; --font-color: #000000; --heading-color: #000000; --link-color: #FFFFFF; --link-hover: #FFFFFF; --link-visited: #FFFFFF; --border-color: black; --border-width: 1px; --border-debug: 1px solid red; --font-size-base: 14px; --font-size-small: 0.7em; --h1-size: 1.8em; --h2-size: 1.6em; --h3-size: 1.4em; --h4-size: 1.2em; --button-min-width: 10ch; --button-bg-color: #999999; --button-hover: #777777; --button-selected: #666666; --button-highlighted: green; --button-selected-highlighted: darkgreen; --button-font-color: #FFFFFF; --padding-default: 0; --margin-default: 0; --rounded-corners-normal: 5px; --rounded-corners-large: 15px; --line-spacing: 1em; --banner-width: 640px; --banner-height-mobile: 96px; --banner-height-tablet: 120px; --banner-height-desktop: 160px; --transition-duration: 0.5s; --raise-brightness: 150%; } /* =============== Clean state defaults ============================= */ * { margin: 0; padding: 0; box-sizing: border-box; } body { display: flex; flex-direction: column; min-height: 100vh; font-family: Helvetica, Arial, sans-serif; font-size: var(--font-size-base); /*line-height: var(--line-spacing);*/ background-color: var(--main-bg-color); color: var(--main-fg-color); } h1 { font-size: var(--h1-size); } h2 { font-size: var(--h2-size); } h3 { font-size: var(--h3-size); } h4 { font-size: var(--h4-size); } a { text-decoration: none; color: var(--link-color); /* font-weight: bold; */ } a:hover { color: var(--link-hover); text-decoration: underline; } a:visited{ color: var(--link-visited); } a:focus { text-decoration: underline; text-decoration-style: dotted; /* border: 2px solid var(--focus-color); */ } /* NOTE: Appears to only work for block elements */ .hidden-text { text-indent: -9999px; } .navbuttons { float: left; } .actionbuttons { float: right; } ul.button-bar{ display: flex; flex-wrap: wrap; padding: 0; margin: 0 auto; list-style: none; } .button-bar .button { width: 20%; min-width: var(--button-min-width); padding: 0.9em; margin-right: 0.5em; margin-bottom: 0.5em; background-color: var(--button-bg-color); border-radius: var(--rounded-corners-large); color: var(--button-font-color); font-size: var(--h2-size); text-align: center; transition: background-color var(--transition-duration); } .button-bar .button:hover { background-color: var(--button-hover); } .button-bar .button-selected { background-color: var(--button-selected); } .button-bar .button-highlighted { background-color: var(--button-highlighted); } .button-bar .button-selected-highlighted { background-color: var(--button-selected-highlighted); } .button-bar a:hover { text-decoration: none; } .button-bar a:last-of-type { margin-right: 0px; } /* TODO: Set to 100px for larger screens */ .timelineicon { width: 50px; height: 50px; text-indent: -9999px; transition: filter var(--transition-duration); background-size: contain; /* DEBUG */ /*border: 1px solid red;*/ } .timelineicon:hover { filter: brightness(var(--raise-brightness)); } .icon-newpost { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/newpost.png'); } .icon-calendar { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/calendar.png'); } .icon-search { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/search.png'); } .icon-showhide { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/showhide.png'); } .icon-newswire { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/newswire.png'); } .icon-links { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/links.png'); } .icon-newfollow { /* TODO: Icons should be cropped so they have no surrounding blank pixels! */ background-image: url('../../icons/default/person.png'); } /* Not really currently utilised */ .mobile-view { display: inline; } /* ================================================================== */ .section { width: 100%; padding: 0.5em 1em; } .header { position: relative; /*align-items: flex-end;*/ /*position: sticky; top: -4em;*/ width: 100%; height: 96px; background-color: #B2D6FF; } .header .title { position: absolute; display: flex; bottom: 40px; /* keep a consistent height above the menu */ width: 100%; font-size: 2.4em; font-weight: bold; font-style: oblique; color: #FFFFFF; -webkit-text-stroke-width: 1px; -webkit-text-stroke-color: #000000; paint-order: stroke fill; pointer-events: none; } .header .title span { width: 99%; margin: 0 auto; } .navtabs { /*display: flex; align-items: flex-end;*/ position: absolute; bottom: 0px; padding: 0; /*background-color: #5995DA;*/ } .navtabs ul { display: flex; /*align-items: flex-end;*/ /*justify-content: space-between;*/ padding: 0; margin: 0 auto; width: 99%; list-style-type: none; } .navtabs a { /*display: inline-block;*/ padding: 0.2em 0.5em; margin-right: 0.3em; /*width: 16%*/ background-color: rgba(0, 0, 0, 0.7); color: #FFF; font-size: 1.2em; text-align: center; } .navtabs ul a:last-of-type { margin-right: 0px; } .navtabs ul a.tab-highlight { background-color: rgba(255, 255, 255, 1); /*#FFFFFF;*/ /*opacity: 1;*/ color: #000; /* Border removed for now - unless can figure out how to extend the * base line either side of active tab - without over-complexity */ /*border: 2px solid black; border-bottom: none;*/ font-weight: bold; } .navtabs ul a:hover { color: #FFF; text-decoration: none; } .navtabs ul a.tab-highlight:hover { color: #000; } .timeline-banner { display: block; /*width: 100%;*/ /*height: var(--banner-height);*/ /*width: var(--banner-width); background-repeat: no-repeat; background-size: auto;*/ /* Stretch banner ? */ background-size: cover; /*background-repeat: round;*/ } /* * TODO: Correct this to have appropriate behaviour _first_ for mobile. * Use the following ultimately for larger screens */ .main { display: block; flex: 1; order: 1; } .links { display: block; order: 0; width: 150px; /*width: 10vw;*/ } .newswire { display: block; order: 2; width: 150px; /*width: 15vw;*/ word-wrap: anywhere; } .col-left { display: none; } .col-right { display: none; } .timeline, .page { display: flex; flex-wrap: wrap; width: 100%; margin: 0 0.5em; } .col-left { border: var(--column-left-border-width) solid var(--column-left-border-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); width: var(--column-left-width); } .col-left img.leftColEdit { width: var(--column-left-icon-size); } .col-left img.leftColEditImage { width: var(--column-left-icon-size); float: right; } .col-left img.leftColImg { width: 100%; } .col-center { width: var(--column-center-width); } .col-right { border: var(--column-right-border-width) solid var(--column-left-border-color); color: var(--column-left-fg-color); font-size: var(--font-size-links); width: var(--column-right-width); overflow: hidden; } .col-right img.rightColEdit { width: var(--column-right-icon-size); } .col-right img.rightColEditImage { background: var(--column-left-color); width: var(--column-right-icon-size); float: right; } .col-right img.rightColImg { background: var(--column-left-color); width: 100%; margin: 0 0; padding: 0 0; } .col-left-mobile, .col-right-mobile { /*padding: 0;*/ margin: 1em auto; width: 99%; } .footer { display: flex; height: 3em; padding: 0; margin-top: auto; align-items: center; background-color: #BBB; } .footer ul { display: flex; justify-content: space-between; padding: 0; margin: 0 auto; width: 99%; list-style-type: none; } .footer ul li { padding-right: 0.5em; } .footer ul li:first-of-type { margin-left: auto; } .footer ul li:last-of-type { padding-right: 0; } /* ================================================================== */ .links, .newswire { display: none; } .tab-news, .tab-links { display: block; } /* ================================================================== */ .loginimage { height: 120px; } .col-left-mobile, .col-right-mobile { margin: 1em; width: auto; } body > form { margin: 1em; } input[type="text"], input[type="password"] { width: 100%; padding: 0.5em; margin: 0.5em 0 1em 0; border: 1px solid #CCC; border-radius: 0; font-size: var(--font-size-base); } body > article { margin: 1em; } article iframe { max-width: 100%; } article .media .attachment { max-width: 100%; } /* ================================================================== */ @media screen and (max-width: 414px) { .header { height: var(--banner-height-mobile); } .timeline-banner { background-image: url('../../users/news/Banner_Mobile_400x96.jpg'); /* Height should match .header */ height: var(--banner-height-mobile); /* Not setting the width causes the image to be repeated */ /*width: 768px;*/ } } @media screen and (min-width: 415px) { .header { height: var(--banner-height-tablet); } .header .title { font-size: 3.7em; } .timeline-banner { background-image: url('../../users/news/Banner_Tablet_960x120.jpg'); /* Height should match .header */ height: var(--banner-height-tablet); /* Not setting the width causes the image to be repeated */ /*width: 768px;*/ } .button-bar .button { width: 10%; font-size: var(--h3-size); } /*.tab-news { display: none; }*/ .icon-newswire { display: none; } .col-right { display: block; } .loginimage { height: 240px; } } @media screen and (min-width: 960px) { .header { height: var(--banner-height-desktop); } .header .title { font-size: 4.3em; } .timeline-banner { background-image: url('../../users/news/Banner_Desktop_1600x160.jpg'); /* Height should match .header */ height: var(--banner-height-desktop); /* Not setting the width causes the image to be repeated */ /*width: 768px;*/ } /*.tab-links { display: none; }*/ .icon-links { display: none; } .col-left { display: block; } .main { min-height: 512px; width: 55%; } .newswire { display: block; width: 25%; font-size: var(--font-size-base); } .links { display: block; width: 20%; } body > form, body > article { margin: 0 auto; width: 800px; } } @media screen and (min-width: 1280px) { .newswire { width: 300px; } .links { width: 250px; } }