2022-08-12 06:03:06 +00:00
|
|
|
/* Custom CSS styles */
|
|
|
|
|
2024-11-24 00:45:39 +00:00
|
|
|
html {
|
|
|
|
/* With the fixed top nav bar, this works around anchor-links to make them appear
|
|
|
|
correctly BELOW the nav bar instead of overlapped underneath it. */
|
|
|
|
scroll-padding-top: 52px;
|
|
|
|
}
|
|
|
|
|
2022-12-21 05:11:43 +00:00
|
|
|
abbr {
|
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
|
2023-06-16 04:38:09 +00:00
|
|
|
.cursor-not-allowed {
|
|
|
|
cursor: not-allowed;
|
|
|
|
}
|
|
|
|
|
2023-12-26 06:13:03 +00:00
|
|
|
.cursor-pointer {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2024-03-16 05:02:24 +00:00
|
|
|
.cursor-default {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2024-10-02 03:44:11 +00:00
|
|
|
.has-text-smaller {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
2023-12-22 05:00:08 +00:00
|
|
|
img {
|
|
|
|
/* https://stackoverflow.com/questions/12906789/preventing-an-image-from-being-draggable-or-selectable-without-using-js */
|
|
|
|
user-drag: none;
|
|
|
|
user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-drag: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
}
|
|
|
|
|
2022-08-12 06:03:06 +00:00
|
|
|
/* Container for large profile pic on user pages */
|
|
|
|
.profile-photo {
|
|
|
|
width: 150px;
|
|
|
|
height: 150px;
|
|
|
|
display: block;
|
|
|
|
border: 1px solid #000;
|
|
|
|
background-color: #fff;
|
|
|
|
padding: 4px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2022-08-12 06:03:06 +00:00
|
|
|
.profile-photo img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2022-08-12 06:03:06 +00:00
|
|
|
.profile-photo .corner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2022-08-13 06:11:36 +00:00
|
|
|
}
|
|
|
|
|
2022-08-13 22:39:31 +00:00
|
|
|
/* Photo modals in addition to Bulma .modal-content */
|
2022-08-13 06:11:36 +00:00
|
|
|
.photo-modal {
|
2024-03-16 05:02:24 +00:00
|
|
|
max-width: calc(100vw - 40px);
|
2024-03-08 02:10:29 +00:00
|
|
|
max-height: calc(100vh - 40px);
|
2024-03-29 06:02:42 +00:00
|
|
|
width: auto;
|
2024-03-08 02:10:29 +00:00
|
|
|
}
|
|
|
|
.photo-modal #detailImg {
|
2024-03-16 05:02:24 +00:00
|
|
|
position: relative;
|
2024-03-08 02:10:29 +00:00
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
.photo-modal img {
|
|
|
|
max-height: calc(100vh - 50px);
|
2022-08-13 22:39:31 +00:00
|
|
|
}
|
2024-03-16 05:02:24 +00:00
|
|
|
.photo-modal .alt-text {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 4px;
|
|
|
|
left: 4px;
|
|
|
|
}
|
|
|
|
.line-breakable {
|
|
|
|
white-space: pre-line;
|
|
|
|
}
|
2022-08-13 22:39:31 +00:00
|
|
|
|
|
|
|
/* Custom bulma tag colors */
|
|
|
|
.tag:not(body).is-private.is-light {
|
|
|
|
color: #CC00CC;
|
|
|
|
background-color: #FFEEFF;
|
2022-08-22 04:24:36 +00:00
|
|
|
}
|
|
|
|
|
2022-08-23 03:58:35 +00:00
|
|
|
.has-text-private {
|
2024-01-07 22:20:01 +00:00
|
|
|
color: #CC00CC !important;
|
2022-08-23 03:58:35 +00:00
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2022-08-23 03:58:35 +00:00
|
|
|
.has-text-private-light {
|
|
|
|
color: #FF99FF;
|
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2022-09-08 04:18:54 +00:00
|
|
|
.hero.is-private {
|
|
|
|
background-color: #b748c7;
|
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2022-09-08 04:18:54 +00:00
|
|
|
.hero.is-private.is-bold {
|
2022-12-21 05:11:43 +00:00
|
|
|
background-image: linear-gradient(141deg, #b329b1 0, #9948c7 71%, #7156d2 100%);
|
2022-09-08 04:18:54 +00:00
|
|
|
}
|
2022-08-23 03:58:35 +00:00
|
|
|
|
2022-08-22 04:24:36 +00:00
|
|
|
/* Mobile: notification badge near the hamburger menu */
|
|
|
|
.nonshy-mobile-notification {
|
2024-11-22 16:44:16 +00:00
|
|
|
position: fixed;
|
2022-08-26 02:58:43 +00:00
|
|
|
top: 10px;
|
2022-08-22 04:24:36 +00:00
|
|
|
right: 50px;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
2022-12-21 05:11:43 +00:00
|
|
|
|
2024-11-22 16:44:16 +00:00
|
|
|
/* glassy background for fixed nav bar when you scroll other elements under it */
|
|
|
|
nav.navbar {
|
|
|
|
background-color: rgba(255, 255, 255, .75);
|
|
|
|
backdrop-filter: blur(5px);
|
|
|
|
}
|
|
|
|
|
2024-08-23 05:19:42 +00:00
|
|
|
/* PWA: loading indicator in the corner of the page */
|
|
|
|
#nonshy-pwa-loader {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 999999;
|
2024-08-23 05:27:21 +00:00
|
|
|
bottom: 12px;
|
|
|
|
right: 12px;
|
2024-08-23 05:19:42 +00:00
|
|
|
}
|
|
|
|
|
2022-08-22 04:24:36 +00:00
|
|
|
@media screen and (min-width: 1024px) {
|
|
|
|
.nonshy-mobile-notification {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-08-23 03:58:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Bulma hack: full-width columns in photo card headers */
|
|
|
|
.nonshy-fullwidth {
|
|
|
|
width: 100%;
|
2022-09-08 04:18:54 +00:00
|
|
|
}
|
|
|
|
|
2024-04-13 01:31:11 +00:00
|
|
|
/* Bulma supplement: full height cards e.g. for grid layout on home page */
|
|
|
|
.is-fullheight {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2022-09-08 04:18:54 +00:00
|
|
|
/* Collapsible cards for mobile (e.g. filter cards) */
|
|
|
|
.card.nonshy-collapsible-mobile {
|
|
|
|
cursor: pointer;
|
2022-09-27 02:12:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide an element */
|
|
|
|
.nonshy-hidden {
|
|
|
|
display: none;
|
2023-06-08 04:59:15 +00:00
|
|
|
}
|
|
|
|
|
2023-09-20 01:24:57 +00:00
|
|
|
/* Blurred explicit photo */
|
|
|
|
.blurred-explicit {
|
|
|
|
filter: blur(14px);
|
|
|
|
}
|
|
|
|
|
2023-09-16 23:33:09 +00:00
|
|
|
/* Bulma hack: smaller tag size inside of tab buttons. The default tag height
|
|
|
|
is set to 2em which makes the boxed tabs too tall and the bottom line doesn't
|
|
|
|
draw correctly. Seen on e.g. Profile Pages for the tag # of photos. */
|
2023-11-25 22:28:16 +00:00
|
|
|
.tabs.is-boxed>ul>li>a .tag {
|
2023-09-16 23:33:09 +00:00
|
|
|
height: 1.5em !important;
|
|
|
|
}
|
|
|
|
|
2024-11-23 20:28:59 +00:00
|
|
|
/* Bulma breadcrumbs don't word-wrap which can cause horizontal scrolling on mobile,
|
|
|
|
especially on forum thread pages with a long thread title. */
|
|
|
|
.breadcrumb {
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
|
2023-06-08 04:59:15 +00:00
|
|
|
/***
|
|
|
|
* Mobile navbar notification count badge no.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* mobile view: just superset text */
|
|
|
|
.nonshy-navbar-notification-count {
|
|
|
|
|
|
|
|
font-size: xx-small;
|
|
|
|
padding-bottom: 12px;
|
|
|
|
margin-right: -4px;
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* desktop view: colored badge similar to bulma `tag is-warning ml-1`*/
|
|
|
|
.nonshy-navbar-notification-tag {
|
|
|
|
align-items: center;
|
|
|
|
border-radius: 4px;
|
|
|
|
display: inline-flex;
|
|
|
|
font-size: xx-small;
|
|
|
|
height: 1em;
|
|
|
|
justify-content: center;
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: .75em;
|
|
|
|
white-space: nowrap;
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
2023-11-25 22:28:16 +00:00
|
|
|
|
2023-06-08 04:59:15 +00:00
|
|
|
.nonshy-navbar-notification-tag.is-warning {
|
|
|
|
background-color: #ffd324;
|
|
|
|
color: rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
2023-11-25 22:28:16 +00:00
|
|
|
|
2023-06-08 04:59:15 +00:00
|
|
|
.nonshy-navbar-notification-tag.is-info {
|
|
|
|
background-color: #0f81cc;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2023-11-25 22:28:16 +00:00
|
|
|
|
2024-08-23 05:53:37 +00:00
|
|
|
.nonshy-navbar-notification-tag.is-link {
|
|
|
|
background-color: rgb(66, 88, 255);
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2023-06-08 04:59:15 +00:00
|
|
|
.nonshy-navbar-notification-tag.is-danger {
|
|
|
|
background-color: #ff0537;
|
|
|
|
color: #fff;
|
2023-09-16 23:33:09 +00:00
|
|
|
}
|
2023-11-25 22:28:16 +00:00
|
|
|
|
|
|
|
.nonshy-navbar-notification-tag.is-success {
|
|
|
|
background-color: #3ec487;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
2023-11-27 05:02:36 +00:00
|
|
|
.nonshy-navbar-notification-tag.is-mixed,
|
|
|
|
.tag.is-mixed {
|
2023-11-25 22:28:16 +00:00
|
|
|
background: linear-gradient(141deg, #ff0537 0, #3ec487 100%);
|
|
|
|
color: #fff;
|
2024-04-13 01:31:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Home page marketing styles */
|
|
|
|
.nonshy-home-card .card-header {
|
|
|
|
background-position: right 12px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-color: #400040;
|
|
|
|
height: 64px;
|
2024-05-20 01:33:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.nonshy-htsignup {
|
|
|
|
display: none;
|
2024-08-08 05:15:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Dashboard notification page styles */
|
|
|
|
.nonshy-notification-row {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.nonshy-notif-delete-button {
|
|
|
|
position: absolute;
|
|
|
|
top: 4px;
|
|
|
|
right: 4px;
|
2023-11-25 22:28:16 +00:00
|
|
|
}
|