treebird/dist/treebird.css
nekobit 9b66c172d8 Upload and load files
FossilOrigin-Name: 01177fd25324478b1c826911906f86e4bc34a001c7df0f59b9d8428e03d82f4f
2022-07-12 21:54:53 +00:00

2717 lines
41 KiB
CSS

*
{
margin: 0;
padding: 0;
}
body
{
margin-bottom: 40px;
margin-top: 10px;
}
html
{
background-attachment: fixed !important;
background-size: cover !important;
background-color: #eee;
}
body
{
font-family: sans-serif, Arial, Helvetica;
color: #040404;
height: 100%;
}
/* Basic elements */
h1, h2, h3, h4
{
margin: 12px 0px 6px 0px;
}
ul
{
margin: 12px;
}
#main-page
{
position: relative;
margin: 8px;
margin-top: 0;
width: 1000px;
margin-left: auto;
margin-right: auto;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(200, 200, 200, 0.5);
border-radius: 5px;
overflow: hidden;
}
.hidden,
.search-page-hidden + .search-page
{
display: none;
}
.search-page-hidden:checked + .search-page
{
display: block;
}
.pointer
{
cursor: pointer;
}
a, a:visited, a:hover, a:active
{
color: initial;
}
.mention
{
color: #808080;
text-decoration: none;
border-radius: 3px;
}
.greentext
{
color: #00aa00;
}
/* Cleans up most of the tables */
table.ui-table td
{
padding: 0;
margin: 0;
border-collapse: collapse;
vertical-align: top;
}
#content
{
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#navbar
{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top: 2px solid #fff;
background: linear-gradient(#fbfbfb, #ececef);
width: 1000px;
border-bottom: 2px solid #bfbfc4;
z-index: 999;
}
#navbar .navbar-btn
{
width: 20px;
height: 20px;
}
#navbar .leftbar-btn
{
float: left;
margin: 15px 0px 15px 15px;
/* width: 30px; */
/* height: 30px; */
}
#navbar .rightbar-btn
{
float: right;
margin: 16px 15px 15px 7px;
}
#navbar .search-btn-show
{
float: right;
display: none;
margin: 16px 12px 15px 16px;
}
#navbar img
{
vertical-align: middle;
display: inline-block;
margin: 4px 0px 6px 18px;
}
#navbar span.info
{
vertical-align: middle;
margin-left: 15px;
color: #202020;
/* font-variant: small-caps; */
font-size: 28px;
}
#navbar-right-container
{
display: inline-block;
position: relative;
float: right;
margin: 11px;
}
#navbar-right form
{
display: inline-block;
}
#navbar-right
{
display: inline-block;
float: right;
}
/* Only show these on mobile */
.leftbar-btn, .rightbar-btn
{
display: none;
stroke: #404040;
}
#login-header
{
vertical-align: middle;
float: left;
position: relative;
top: 4px;
margin-right: 15px;
text-decoration: none;
}
#main
{
width: 568px;
max-width: 568px;
border-collapse: collapse !important;
background-color: #fafafa;
padding: 0;
}
#content
{
border-collapse: collapse !important;
min-height: 600px;
}
.sidebar
{
width: 180px;
min-height: 600px;
max-width: 180px;
min-width: 180px;
background-color: #eaecf0;
}
.sidebar-frame
{
border: none;
width: 100%;
min-height: 600px;
border-bottom: 1px dashed #cacaca;
}
.sidebar-embed-container .navigation
{
position: sticky;
top: 0px;
width: 100%;
z-index: 100;
background-color: rgba(234, 236, 240, .7);
padding: 0;
}
.sidebar-embed-container .btn,
.sidebar-embed-container .nav-btn
{
background: unset;
padding: 2px !important;
font-size: 13px;
}
.sidebar-embed-container .btn-disabled
{
background: unset;
}
.sidebar-embed-container .btn:hover
{
background: unset;
background-color: rgba(0, 0, 0, 0.2);
}
#leftbar
{
border-right: 1px solid #dadada;
}
#leftbar ul
{
margin: 0;
padding: 0;
}
#leftbar ul li
{
list-style-type: none;
}
.sidebarbtn-sub
{
display: block;
color: #000;
padding: 8px;
border-radius: 4px;
padding-left: 24px;
text-decoration: none;
border: 1px solid transparent;
}
#leftbar ul.sidebar-config
{
background: linear-gradient(#eef1f9, #bbc3d0);
color: #fff;
border-radius: 6px;
padding: 4px;
margin: 8px;
border: 1px solid #aaa;
box-shadow: inset 0px 2px 3px rgba(0, 0, 0, 0.1);
}
.sidebarbtn-sub.active
{
font-weight: bold;
}
.sidebarbtn-sub:active, .sidebarbtn-sub:hover
{
background-color: #bbc6d5;
border: 1px solid #a8accbcc;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
#rightbar
{
border-left: 1px solid #dadada;
min-width: 250px;
max-width: 250px;
}
.page-header
{
padding: 8px;
margin: 0;
background: linear-gradient(#f3f3f3, #e8e8e8);
border-bottom: 1px solid #bbb;
}
.page-header-button
{
background-color: #ddd;
border: 1px solid #bbb;
padding: 4px 6px;
font-size: 1.1rem;
border-radius: 4px;
margin-right: 4px;
text-decoration: none;
text-align: middle;
display: inline-block;
vertical-align: middle;
}
.page-header-button:hover
{
background-color: #ccc;
}
.page-header .page-header-title
{
color: #000;
text-decoration: none;
vertical-align: middle;
font-size: 1.1rem;
}
.page-header .page-header-image.avatar
{
width: 32px;
height: 32px;
margin-right: 6px;
border-radius: 4px;
background-size: cover;
vertical-align: middle;
}
/*************************************************
* COMMON ELEMENTS *
*************************************************/
table.present
{
border: 1px solid #cacaca;
}
table.present th, table.present td
{
padding: 2px 5px;
}
#env-table
{
margin-top: 5px;
}
.e-error
{
display: block;
background: linear-gradient(#ffb0b0, #fba0a0);
color: #000;
border: 1px solid #bb1c1f;
padding: 15px;
font-weight: bold;
}
.error-pad
{
margin: 5px;
border-radius: 4px;
}
.e-notice
{
display: block;
background: linear-gradient(#ddeeff, #ccddff);
color: #000;
border: 1px solid #80ccff;
padding: 15px;
font-weight: bold;
}
.search-highlight
{
background-color: yellow;
}
.bar-graph
{
background: linear-gradient(#fff, #f7f7f7);
display: flex;
flex-direction: row;
border: 1px solid #cacaca;
border-radius: 8px;
height: 100px;
margin: 4px;
}
.bar
{
flex-grow: 1;
border-radius: 8px;
background-color: #efefef;
border: 1px solid #cacaca;
margin: 4px;
overflow: hidden;
display: flex;
flex-direction: column-reverse;
}
.bar div
{
flex-grow: 1;
background: linear-gradient(#aa0000, #600000);
border-radius: 8px;
}
.menu .btn-menu
{
background: unset;
background-color: unset;
display: block;
padding: 3px 12px;
width: 100%;
border: 0;
cursor: pointer;
text-align: left;
box-sizing: border-box;
}
select
{
background: linear-gradient(#f8f8f8, #d8d8d8);
border: 1px solid #aaa;
border-radius: 3px;
padding: 3px;
min-width: 100px;
}
select:hover
{
background: linear-gradient(#f0f0f0, #d0d0d0);
}
/*************************************************
* BUTTONS *
*************************************************/
.btn
{
background: linear-gradient(#fff, #f7f7f7);
color: #000;
text-decoration: none;
padding: 6px 12px;
}
.btn:hover,
.btn:active,
.btn-menu:hover,
.sidebarbtn:hover
{
background: linear-gradient(#606060, #d3d3d3);
box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
cursor: pointer;
}
.btn.active
{
background: linear-gradient(#606060, #d3d3d3);
box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}
.btn-alt.active,
.btn-alt:active
{
background: linear-gradient(#ee0000, #aa0000);
border-color: #800000;
}
.btn-alt:hover
{
background: linear-gradient(#aa0000, #ee0000);
}
.btn-disabled
{
color: #cacaca;
background: #f3f3f3;
}
.btn-disabled:hover
{
background: #f3f3f3;
}
.btn-disabled:active
{
background: #f3f3f3;
}
input[type=button], input[type=submit]
{
border: 1px solid #cacaca;
padding: 3px 15px;
}
.btn-icon
{
display: inline-block;
border: 1px solid #858ba6;
background-color: #a1a7c8;
text-align: middle;
vertical-align: middle;
border-radius: 3px;
cursor: pointer;
}
.btn-icon:hover
{
background-color: #9096b3;
}
.btn-icon:active
{
background-color: #747890;
}
.post-btn
{
background: linear-gradient(#aa0000, #900000);
padding: 2px 25px 3px !important;
font-size: 15px;
border-radius: 4px;
border: none !important;
color: #fff;
}
.btn-single
{
border-radius: 4px;
border: 1px solid #cacaca;
}
.sidebarbtn, .sidebarbtn:visited
{
display: block;
margin: 7px 0 7px 0;
padding: 6px 18px;
font-size: 14px;
text-transform: uppercase;
color: #505050;
}
.sidebar-login
{
padding: 18px;
}
/****************************
* Notifications *
***************************/
.notification
{
border-bottom: 1px solid #dadada;
width: 100%;
}
.pfp-compact-td
{
width: 16px;
}
.pfp-compact-td img
{
border-radius: 3px;
width: 24px;
height: 24px;
object-fit: cover;
}
.notification-compact
{
min-width: 100%;
padding: 3px;
}
.notification-compact p
{
margin: 0;
}
.notification-compact .notification-content
{
max-height: 100px;
overflow: auto;
margin-left: 2px;
}
.notification-compact .notification-info
{
font-size: 12px;
padding-left: 2px;
padding-right: 2px;
margin-top: 0;
vertical-align: middle;
font-weight: bold;
}
.notification-compact .username .emoji
{
width: 16px;
height: 16px;
}
.notification-info svg,
.notification-info-format svg
{
width: 16px;
height: 16px;
stroke: #aa0000;
}
.notification-table-bit
{
width: auto;
}
/* Only move up if SVG is next to it, the SVG moves the text */
.notification .notification-text-group-with-icon
{
vertical-align: middle;
}
.notification-info svg.like,
.notification-info-format svg.like
{
fill: #aa0000;
}
svg.like, svg.repeat, svg.follow, svg.reply, svg.in-reply-to-icon, svg.one-click-software, svg.expand
{
vertical-align: middle;
}
svg.in-reply-to-icon
{
position: relative;
top: -3px;
stroke: #606060;
}
.in-reply-to,
.in-reply-to a
{
font-size: 0.9rem;
color: #606060;
}
.in-reply-to-id
{
text-decoration: none;
line-height: 23px;
}
.notification-compact .notification-content
{
color: #808080;
font-size: 12px;
padding: 4px 0 2px 0;
}
.notification-compact .notification-content.is-mention
{
color: #101010;
}
.notification-compact .notification-stats
{
font-size: 10px;
}
.notification-compact .notification-stats .status-interact
{
margin-top: 2px;
}
.notification-compact .notification-stats svg
{
width: 15px;
height: 15px;
}
.notification-compact .notification-stats .statbtn
{
padding: 2px 4px;
}
.notification-info
{
margin-left: 28px;
margin-bottom: 7px;
}
.notification-compact .notification-info
{
margin-left: unset;
margin-bottom: unset;
}
.notification-info img.avatar,
.notification-info .pfp-compact-td img,
.notification-info-format .pfp-compact-td img
{
width: 24px;
height: 24px;
margin-right: 6px;
border-radius: 3px;
vertical-align: middle;
object-fit: cover;
}
.notification-info .notification-user,
.notification-info-format .notification-user
{
display: inline;
}
.notification-text-group-with-icon,
.notification-text-group
{
vertical-align: middle;
}
/***************************
* Statuses *
**************************/
.status
{
padding: 11px 0px 0px 11px;
border-bottom: 1px dashed #cacaca;
}
.status .status-table,
.notification-regular,
.scrobble
{
width: 100%;
border-spacing: 0px;
}
.status-hide:checked + .status
{
padding: 5px 10px;
}
.status.focused,
.status:target
{
background-color: #ffdddd;
border-left: 3px solid #aa0000;
padding-left: 7px;
}
.notification-info + .status,
.notification-info-format + .status
{
padding-top: 0;
}
.status .profile-picture,
.account-sidebar .acct-pfp
{
display: inline-block;
width: 48px;
min-width: 48px;
height: 48px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
border-radius: 4px;
margin-bottom: 5px;
}
.status-view
{
display: inline-block;
border: 1px solid #cacaca;
background-color: #f3f3f3;
border-radius: 3px;
width: 12px;
height: 12px;
font-size: 10px;
text-align: center;
vertical-align: middle;
cursor: pointer;
}
.status-view:hover
{
background-color: #eaeaea;
}
.status-view:before
{
content: "-";
}
.status-hide:checked + .status .status-view:before
{
content: "+";
}
.status-hide
{
display: none;
}
.status-hide:checked + .status .status-data,
.status-hide:checked + .status .pfp-td,
.status-hide:checked + .status .notification-info
{
display: none;
}
.pfp-td
{
width: 52px;
border-collapse: collapse !important;
padding: 6px;
}
.pfp-td img
{
border-radius: 5px;
width: 52px;
height: 52px;
object-fit: cover;
}
.status table tr
{
width: auto;
}
.seperator
{
padding-left: 5px;
padding-right: 5px;
color: #606060;
vertical-align: middle;
font-size: 10px;
}
.status .time:before,
.notification-compact .time:before
{
content: "•";
padding-right: 10px;
font-size: 10px;
}
.status .time,
.notification-compact .time
{
color: #606060;
vertical-align: middle;
font-size: 14px;
padding-left: 5px;
text-decoration: none;
}
.status .status-info,
.notification-info-format,
.notification-content
{
position: relative;
min-width: 0;
width: auto;
padding: 0 0 0 10px;
}
.status .status-info > table.ui-table
{
width: 100%;
}
.status .status-info table.ui-table, .status .status-info table.ui-table td, .status .status-info table.ui-table tr
{
border-collapse: collapse !important;
border-spacing: 0px;
padding: 0;
margin: 0;
vertical-align: middle;
}
.status .instance-info
{
text-decoration: none;
font-size: 14px;
vertical-align: middle;
padding: 0 6px;
color: #505050;
}
.status .poster-stats
{
position: relative;
display: block;
max-width: 490px;
}
.status-hide:checked + .status .poster-stats
{
max-width: 550px;
}
.poster-stats .alignend
{
background-color: #fafafa;
display: inline-block;
right: 0px;
padding: 1px 5px;
position: absolute;
}
.static.focused .poster-stats .alignend,
.status:target .poster-stats .alignend
{
background-color: #ffdddd;
}
.status .username,
.notification-regular .username
{
overflow: hidden;
font-weight: bold;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
min-width: 0;
}
.status .status-content
{
margin: 4px 0 0 0;
overflow-wrap: anywhere;
width: 490px;
line-height: 1.2;
display: block;
}
.status .status-content p,
.status .status-content a
{
/* overflow-wrap: anywhere; */
}
.status .status-content pre
{
overflow: scroll;
display: block;
padding: 8px;
background-color: #f3f3f3;
margin-top: 3px;
margin-bottom: 3px;
}
.status .status-content p
{
margin: 2px 0 0 0;
}
.status-visibility
{
cursor: pointer;
color: #808080;
display: inline;
font-size: 12px;
margin-right: 5px;
}
.status-interact
{
margin: 6px 0 0 0;
}
.status-interact table.ui-table
{
border-collapse: collapse !important;
padding: 0;
}
.status-interact table.ui-table tr
{
border-collapse: collapse !important;
padding: 0;
}
.status-interact table.ui-table td
{
vertical-align: middle; /* Exception in notifications sidebar */
}
/***************************
* Element Grouping *
**************************/
.group
{
padding: 0;
margin: 0 !important;
height: 28px;
}
/* These are a pain for some reason */
.group-inputbox
{
border: 1px solid #cacaca;
padding-left: 5px;
border-right: 0px;
height: 26px;
}
.group-left
{
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.group-right
{
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
/*************************
* Config *
************************/
#config-page
{
padding: 0 12px;
}
#config-page h1
{
padding-left: 12px;
padding-bottom: 6px;
border-bottom: 1px solid #cacaca;
}
#config-page h3
{
margin-left: 15px;
p}
#config-page ul
{
list-style-type: none;
padding-left: 15px;
}
/*********************
* Interactions *
*********************/
.status-interactions
{
border-bottom: 1px solid #ddbfbf;
margin-top: 2px;
}
.status-interactions-labels
{
display: inline-block;
vertical-align: middle;
color: #cacaca;
}
.status-interactions-labels .header-btn
{
padding: 8px 12px;
font-size: 15px;
}
.status-interactions-labels .header-btn .btn-content
{
text-align: left;
color: #606060;
font-weight: bold;
}
.status-interactions .status-interactions-pfps
{
display: inline-block;
vertical-align: middle;
margin: 2px;
}
.status-interactions .pfp-interaction
{
border-radius: 50%;
width: 24px;
height: 24px;
margin: 1px;
object-fit: cover;
}
/**********************
* Profiles *
**********************/
.header-btn, .header-btn:visited
{
padding: 8px 5px;
margin: 0;
background: inherit;
text-decoration: none;
color: #606060;
font-size: 13px;
}
/* Make inline when not in table */
.account .header-btn,
.status .header-btn
{
display: inline-block;
}
.header-btn .btn-content
{
color: #000;
}
.btn.header-btn:hover span
{
color: #fff;
}
.header-btn span
{
display: block;
text-align: center;
}
.acct-banner
{
width: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height: 256px;
}
.account-stub-info
{
padding-left: 4px;
}
.account-stub
{
padding: 4px 4px 0;
width: 100%;
}
.account-stub-top,
.account-stub-bottom
{
display: block;
}
.account-stub-bottom
{
color: #606060;
margin-top: 2px;
font-size: 12px;
}
.search-results .account-stub:not(:last-child)
{
border-bottom: 1px solid #cacaca;
}
.account
{
position: relative;
}
.acct-badge
{
position: absolute;
left: 8px;
top: 8px;
font-size: 12px;
padding: 4px 8px;
color: #dadada;
text-transform: uppercase;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 5px;
}
.account-note
{
word-break: break-word;
text-align: center;
overflow-wrap: break-word;
}
.account-info
{
background: linear-gradient(#e4e4e4, #efefef);
color: #000;
padding: 15px 50px;
border-bottom: 1px solid #cacaca;
max-height: 360px;
overflow: auto;
}
.account .acct-pfp
{
position: absolute;
display: inline;
z-index: 100;
border: 3px solid #cacaca;
background-color: #fff;
border-radius: 8px;
width: 100px;
height: 100px;
top: 190px;
left: 42px;
object-fit: cover;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.acct-header
{
z-index: 1;
padding-left: 160px;
background: linear-gradient(#fff, #f1f1f1);
border-bottom: 1px solid #cacaca;
background-color: #e8e8e8;
}
.acct-info-data
{
display: inline-block;
position: relative;
left: 155px;
top: 192px;
font-weight: bold;
text-shadow: 0px 2px 6px #000;
}
.acct-banner
{
overflow: hidden;
}
.acct-displayname
{
font-size: 26px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
padding: 7px 6px 3px;
overflow: hidden;
max-width: 420px !important;
color: #fff;
}
.acct-username
{
font-size: 14px;
color: #dadada;
display: block;
padding-left: 6px;
font-weight: bold;
text-shadow: 0px 0px 5px #000;
}
.account-sidebar .acct-pfp,
.account-sidebar .username
{
vertical-align: top;
}
.account-sidebar .username
{
position: relative;
top: 5px;
margin-left: 5px;
}
.account-sidebar .acct-stats
{
width: 100%;
table-layout: fixed;
}
.account-sidebar
{
padding: 7px 7px 3px;
background-color: #e4e4ea;
border-bottom: 1px dashed #cacaca;
}
.account-sidebar .header-btn
{
padding: 4px;
border-radius: 4px;
}
.follow-btn
{
margin-left: auto;
position: relative;
float: right;
top: 10px;
margin: 0px 15px 10px 0px;
padding: 5px 10px;
border-radius: 24px;
background: inherit;
box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.follow-btn.active
{
box-shadow: unset;
color: #fff;
background: linear-gradient(#aa0000, #600000);
}
/****************
* Statusbox *
****************/
.statusbox
{
display: block;
flex-direction: column;
background-color: #f6f6f6;
padding: 10px;
border-bottom: 1px dashed #dadada;
}
.statusbox textarea
{
display: block;
width: 536px;
max-width: 536px;
min-width: 536px;
margin-bottom: 5px;
font-family: arial;
font-size: 16px;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
border: 1px solid #505050;
border-radius: 3px;
padding: 5px;
}
.statusbox .statusfooter
{
display: block;
flex-direction: row;
}
.statusbox .statusfooter-left
{
display: inline-block;
}
.statusbox .statusfooter-right
{
float: right;
}
.status-interact .statbtn
{
display: block;
padding: 3px 2px 5px;
min-width: 42px;
}
.status-interact .statbtn svg
{
width: 18px;
height: 18px;
}
.view-btn
{
min-width: 25px !important;
}
.statusbox .post-group
{
display: inline-block;
vertical-align: middle;
margin-left: 1px;
}
.statusbox .post-group .visibility-icon
{
display: inline-block;
width: 24px;
height: 24px;
border-radius: 4px;
vertical-align: middle;
text-align: center;
cursor: pointer;
}
.statusbox .post-group .visibility-icon:hover
{
background-color: #d3d3d3;
}
.statusbox .post-group input[type=radio].hidden:disabled + .visibility-icon
{
display: none;
}
.statusbox .post-group input[type=radio].hidden:checked + .visibility-icon svg
{
stroke: #000;
}
.statusbox .post-group .visibility-icon svg
{
position: relative;
top: 4px;
width: 16px;
height: 16px;
stroke: #7a7a7a;
}
.statusbox .post-group .visibility-icon.vis-direct svg
{
top: 5px;
}
.notification-compact .status-interact .statbtn
{
min-width: 0px !important;
}
.status-interact svg
{
stroke: #303030;
}
.active-anim
{
animation: interact .7s 1;
}
@keyframes interact
{
0% { transform: rotateZ(0deg); }
100% { transform: rotateZ(360deg); }
}
.status-interact svg.repeat.active
{
stroke: #08d345;
}
.status-interact svg.like.active
{
fill: #fcd202;
stroke: #fcd202;
}
.status-interact svg.like:hover,
.status-interact svg.like:active,
.status-interact svg.like:focus
{
stroke: #08d3a5;
pointer: select;
}
.status-interact svg.like:hover,
.status-interact svg.like:active,
.statis-interact svg.like:focus
{
stroke: #fcd202;
pointer: select;
}
.status-interact svg.repeat:hover,
.status-interact svg.repeat:active,
.statis-interact svg.repeat:focus
{
stroke: #08d345;
}
.status-interact .count
{
padding-top: 3px;
font-size: 12px;
padding-bottom: 3px;
vertical-align: middle;
}
/* Emoji */
.status-content .emoji,
.notification-content .emoji,
.username .emoji,
.custom-emoji-react,
.account-info .emoji,
.poll .emoji,
.acct-displayname .emoji
{
font-family: monospace;
display: inline;
width: 32px;
height: 32px;
vertical-align: middle;
margin: 0;
object-fit: contain;
transition: transform .2s;
}
.custom-emoji-react
{
width: 27px;
height: 27px;
}
.username .emoji
{
width: 26px;
height: 26px;
}
.status-content .emoji:hover,
.notification-content .emoji:hover
{
transform: scale(1.5);
}
.status-content .emoji:active,
.notification-content .emoji:active
{
transform: scale(2.7);
}
.emoji-react-box
{
border-radius: 4px;
border: 1px solid #cacaca;
}
.emoji-btn
{
position: relative;
top: 2px;
}
/* Emojo picker */
.emoji-picker
{
overflow: hidden;
position: absolute;
margin-left: -15px;
width: 260px;
border: 1px solid #cacaca;
background-color: #fff;
background: linear-gradient(#fff, #f3f3f3);
border-radius: 8px;
z-index: 5;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.emoji-picker .tabs .btn
{
display: inline-block;
}
.emoji-picker .navigation
{
border-top: 1px solid #cacaca;
}
.emoji-picker .emoji
{
font-size: 18px;
text-align: center;
vertical-align: center;
padding: 8px 0;
max-width: 28px;
}
.emoji-picker .emoji:hover
{
transform: scale(1.2);
}
.emoji-picker .emoji:active
{
transition: 0.1s transform;
transform: scale(1.0);
}
.emoji-picker-emojos-wrapper
{
overflow-y: auto;
overflow-x: hidden;
height: 180px;
max-height: 180px;
}
input[type=radio].hidden:not(:checked) + .emoji-picker-emojos
{
display: none;
}
.emoji-picker-emojos
{
display: grid;
grid-template-columns: repeat(8, 1fr);
padding: 0px 8px;
z-index: 999;
}
.form-group
{
padding: 5px;
display: block;
}
/* Simple page layout */
.simple-page
{
padding: 0 12px;
}
.simple-page h1
{
padding-left: 12px;
padding-bottom: 7px;
border-bottom: 1px solid #cacaca;
}
.simple-page h3
{
margin-left: 15px;
}
.simple-page ul
{
list-style-type: none;
padding-left: 15px;
}
.simple-page-header
{
padding: 0;
}
.simple-page-header h1
{
margin-bottom: 0;
}
.simple-page p
{
margin: 14px;
}
/* Attachments */
.attachments img
{
min-width: 100px;
}
.attachments
{
margin: 10px 0 3px 0;
}
.attachment-container
{
position: relative;
z-index: 1;
display: inline-block;
overflow: hidden;
}
.sensitive-contain.sensitive
{
background: #000;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
.attachment-link
{
font-weight: bold;
font-size: 14px;
}
.sensitive.attachment-link::after,
.sensitive.attachment-audio::after
{
content: " (Sensitive)";
}
.attachment-container:hover .sensitive
{
display: none;
}
.statusbox textarea
{
border: 1px solid #cacaca;
}
/* Emoji reacts */
.emoji-reactions
{
display: block;
padding: 0;
margin: 0;
white-space-collapse: discard;
margin-top: 8px;
padding-left: 0px !important;
margin-bottom: 6px;
}
.emoji-react-box
{
display: inline-block;
list-style-type: none;
padding: 3px 7px;
margin: 1px 2px;
vertical-align: center;
}
.emoji-react-box .emoji
{
font-size: 16px;
}
.emoji-react-box.custom-emoji-container
{
padding: 1px 5px;
}
.emoji
{
vertical-align: middle;
font-family: Emoji;
}
.emoji-num
{
vertical-align: middle;
}
/*************************************************
* LISTS *
*************************************************/
ul.large-list
{
width: 500px;
border-radius: 5px;
background-color: #f8f8f8;
border: 1px solid #cacaca;
padding: 0;
overflow: hidden;
}
ul.large-list li
{
display: block;
list-style-type: none;
margin: 0;
}
ul.large-list li a
{
display: inline-block;
padding: 15px;
list-style-type: none;
}
ul.large-list li .list-item
{
width: 406px;
}
ul.large-list li .edit-list-btn
{
display: inline-block;
border-left: 1px solid #eaeaea;
background: linear-gradient(#f8f8fc, #efeff2);
color: #505050;
width: 33px;
padding: 15px;
}
.lists-view-header
{
text-align: center;
}
.lists-view-container ul
{
margin-left: auto;
margin-right: auto;
}
.lists-view-container ul li:not(:last-child)
{
border-bottom: 1px solid #dadada;
}
input[type=checkbox].hidden:not(:checked) + .list-edit-content
{
display: none;
}
.list-edit-content
{
background-color: #fff;
color: #000;
padding: 8px;
border-top: 1px solid #dadada;
}
.create-list-form
{
width: 380px;
margin: 0;
padding: 8px;
border: 0;
}
.create-list-btn
{
width: 104px;
border-top: none !important;
border-bottom: none !important;
border-right: none !important;
padding-top: 8px !important;
padding-bottom: 8px !important;
}
/* Navigation */
.navigation,
.tabs
{
table-layout: fixed;
background-color: #f3f3f3;
color: #000;
width: 100%;
border-spacing: 0px;
box-shadow: 0px 1px 0px #dadada;
}
.navigation a.btn
{
display: block;
}
.navigation .nav-btn,
.tabs .tab-btn
{
display: block;
padding: 6px;
}
.nav-symbol
{
color: #505050;
margin-right: 7px;
}
.navigation .nav-symbol
{
position: relative;
top: -2px;
}
.thread-nav-td
{
width: 42%;
}
/* .thread-nav-stub */
/* { */
/* width: 10%; */
/* } */
.tabs .tab-btn
{
width: 100%;
border: 0;
transition: .1s border-color;
border-bottom: 2px solid #f7f7f7;
color: #101010;
text-shadow: unset;
box-shadow: none;
}
.tabs .tab-btn.active,
.tabs .tab-btn:checked
{
background: linear-gradient(#fff, #f7f7f7);
border-color: #aa0000;
}
.tabs .tab-btn:hover,
.tabs .tab-btn:active
{
background: linear-gradient(#fff, #f7f7f7);
border-color: #aa0000;
}
.navigation tr td:not(:last-child),
.tabs tr td:not(:last-child)
{
border-right: 1px solid #dadada;
}
.ui-table tr td a
{
text-decoration: none;
}
/* MENUS */
.menu-container:hover .menu,
.menu-container:hover + .menu
{
position: absolute;
display: block;
}
.menu
{
z-index: 10;
display: none;
cursor: default;
background: #fafafa;
color: #000;
border-radius: 4px;
border: 1px solid #ddd;
margin-left: -5px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.menu ul
{
margin: 0;
padding: 4px 0 4px 0;
}
.menu ul li
{
list-style-type: none;
display: block;
}
.user-options-btn
{
cursor: pointer;
padding: 4px 8px;
border-radius: 64px;
margin: 8px;
float: right;
font-size: 12px;
color: #dadada;
text-transform: uppercase;
background-color: rgba(0, 0, 0, .7);
}
/* .menu .btn-menu:hover */
/* { */
/* background-color: #eaeaea; */
/* color: #000; */
/* } */
.nolink
{
text-decoration: none;
}
.bullet-separate
{
color: #808080;
margin-left: 5px;
margin-right: 5px;
}
.menubar
{
background: linear-gradient(#fcfcfc, #efefef);
border-bottom: 1px solid #cacaca;
padding: 6px;
/* box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1); */
}
.mini-links
{
margin: 16px 8px;
text-align: center;
color: #aaa;
font-size: 10px;
}
.mini-links .bullet-separate
{
color: #ccc;
font-size: 8px;
margin: unset;e
}
#instance-panel + .mini-links
{
margin: 10px 8px;
}
/******************************
* File uploads *
******************************/
.file-upload-btn
{
margin-top: -1px;
padding: 4px 2px 4px 6px;
width: 18px;
height: 16px;
}
.file-upload-btn svg
{
stroke: #ffffff;
width: 14px;
height: 14px;
text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2);
}
.file-uploads-container
{
margin-top: 8px;
white-space: nowrap;
overflow: auto;
}
.file-uploads-container .file-upload
{
overflow: hidden;
display: inline-block;
margin: 2px 4px;
background: linear-gradient(#fff, #f7f7f7);
border: 1px solid #cacaca;
border-radius: 8px;
}
.file-upload .upload-content
{
width: 200px;
height: 130px;
object-fit: cover;
opacity: 0.4;
}
/******************************
* Scrobbles *
******************************/
.scrobblist-info
{
padding: 4px;
border-collapse: collapse;
border-bottom: 1px solid #cacaca;
width: 100%;
}
.scrobblist-info .username
{
font-weight: bold;
}
.pfp-img-scrobble
{
position: relative;
top: 2px;
left: 2px;
}
.scrobblist-info-text
{
position: relative;
top: 5px;
left: 6px;
}
.scrobble
{
padding: 0px;
}
.scrobbles
{
border-collapse: collapse;
padding: 0;
margin: 0;
}
.scrobbles tr td
{
padding: 8px 10px;
margin: 0;
}
.scrobble-key
{
border-right: 1px solid #cacaca;
}
.scrobble-value
{
width: 100%;
border-right: 0;
color: #404040;
}
.scrobble-key
{
background-color: #eaeaea;
color: #606060;
font-weight: bold;
}
.emoji-picker
{
display: none;
}
.status-interact .emoji-picker
{
display: block;
}
.emoji-picker .navigation .nav-btn
{
padding: 4px;
}
/* Chats */
.contact
{
padding: 4px;
}
.contact-right
{
padding: 4px;
margin-left: 3px;
}
.last-message
{
margin-top: 6px;
color: #808080;
}
.message-container
{
position: relative;
display: block;
margin: 10px;
}
.message-container .avatar
{
display: inline-block;
position: absolute;
top: 0px;
width: 38px;
height: 38px;
border-radius: 4px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.message-wrapper
{
display: inline-block;
vertical-align: middle;
max-width: 70%;
margin-left: 42px;
}
.message-wrapper .message
{
position: relative;
display: inline-block;
background-color: #e8e8e8;
border-radius: 3px;
margin-left: 8px;
padding: 10px 14px;
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.04);
color: #000;
}
.message-wrapper .message:before {
content: " ";
position: absolute;
left: 0;
top: 0;
margin-left: -10px;
margin-top: 5px;
border-width: 5px;
border-style: solid;
border-color: transparent #e8e8e8 transparent transparent;
}
.message .content
{
display: inline-block;
text-align: left;
}
.message .time
{
color: #606060;
font-size: .7rem;
float: right;
margin-left: 6px;
position: relative;
top: 4px;
}
.message-you .avatar
{
right: 4px;
}
.message-you .message .time
{
color: #805050;
}
.message-you
{
text-align: right;
}
.message-you .message-wrapper
{
margin-left: 0;
margin-right: 52px;
}
.message-you .message-wrapper .message
{
background: linear-gradient(#ffcccc, #ffbbbb);
}
.message-you .message-wrapper .message:before {
content: unset;
display: none;
}
.message-you .message-wrapper .message:after {
content: " ";
position: absolute;
right: -10px;
top: 0;
/* margin-left: 10px; */
margin-top: 5px;
border-width: 5px;
border-style: solid;
border-color: transparent transparent transparent #ffc7c7;
}
.empty-chat-text
{
font-style: italic;
color: #404040;
}
.empty-chat-text:after
{
content: "...";
}
.chat-view
{
overflow: auto;
height: 550px;
min-height: 400px;
overflow-anchor: none;
}
.chatbox
{
border-top: 1px solid #cacaca;
width: 100%;
}
.chatbox.ui-table
{
border-collapse: collapse;
padding: 0;
}
.chatbox.ui-table textarea
{
resize: none;
margin: 0;
padding: 0;
border: 0;
width: 100%;
height: 40px;
border-right: 1px solid #cacaca;
}
input[type=submit].chatbox-btn
{
width: 100%;
display: block;
border: unset;
padding: 12px 0px;
}
/* Anchor lets us stay scroll at the bottom if in view */
.anchor
{
overflow-anchor: auto;
height: 1px;
}
/* Instance information */
#instance-panel
{
text-align: center;
font-size: 12px;
padding-top: 8px;
padding-bottom: 8px;
margin-top: 10px;
border-top: 1px dashed #CCCCCF;
border-bottom: 1px dashed #CCCCCF;
background: repeating-linear-gradient(
-45deg,
transparent,
transparent 10px,
#DFDFE3 10px,
#DFDFE3 20px
);
text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
}
.static-html h2
{
margin-top: 0px;
}
/* About page */
#about-icon
{
width: 100px;
height: 100px;
display: inline;
margin-right: 16px;
vertical-align: middle;
border-radius: 100%;
cursor: pointer;
}
#about-icon:hover
{
box-shadow: 0px 2px 5px red;
}
.about-header h1
{
text-align: center;
padding-bottom: 16px;
font-size: 36px;
}
.about-header h1 span
{
vertical-align: middle;
margin-right: 32px;
}
/****** FUN STUFF ******/
.is-cat:before,
.is-cat:after,
.is-bun:before,
.is-bun:after
{
content: "";
display: block;
border: 3px solid #ececec !important;
background-color: #E6C6E6 !important;
width: 24px;
height: 30px;
box-sizing: border-box;
position: absolute;
z-index: 0;
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}
.is-cat img,
.is-bun img
{
overflow: visible;
border-radius: 100% !important;
z-index: 3;
position: absolute;
}
.is-cat:before,
.is-bun:before
{
transform: rotate(33deg) skew(30deg);
border-radius: 0 75% 75% 75%;
margin-left: 1px;
}
.is-cat:after,
.is-bun:after
{
transform: rotate(-33deg) skew(-30deg);
border-radius: 75% 0 75% 75%;
margin-left: 31px;
}
.is-bun:before, .is-bun:after
{
border-radius: 75% 75% 75% 75%;
margin-top: -5px;
}
.is-cat:hover:before,
.is-bun:hover:before
{
animation: earwiggleleft 1s infinite;
}
.is-cat:hover:after,
.is-bun:hover:after
{
animation: earwiggleright 1s infinite;
}
@keyframes earwiggleleft {
0% { transform: rotate(35deg) skew(30deg); }
25% { transform: rotate(10deg) skew(30deg); }
50% { transform: rotate(20deg) skew(30deg); }
75% { transform: rotate(0deg) skew(30deg); }
100% { transform: rotate(35deg) skew(30deg); }
}
@keyframes earwiggleright {
0% { transform: rotate(-35deg) skew(-30deg); }
27% { transform: rotate(-10deg) skew(-30deg); }
50% { transform: rotate(-20deg) skew(-30deg); }
70% { transform: rotate(-0deg) skew(-30deg); }
100% { transform: rotate(-35deg) skew(-30deg); }
}
/* Wormle stuff - If you're a theme dev just ignore this honestly */
.wormle-view
{
position: relative;
border: 1px solid #505050;
border-radius: 4px;
background-color: #fff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
width: 400px;
height: 400px;
margin: auto;
}
.wormle-view h1
{
border: 0;
padding: 0;
margin: 0;
font-size: 54px;
text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}
.wormle-view h1,
.wormle-view p,
.wormle-view .wormle-score,
.wormle-view input
{
position: relative;
z-index: 999;
}
.wormle-body
{
z-index: 3;
position: absolute;
border-radius: 7px;
/* border-radius: 4px; */
}
.wormle-player
{
background-color: #00dd00;
border: 1px solid #00aa00;
}
.wormle-apple
{
background-color: #dd0000;
border: 1px solid #aa0000;
border-radius: 100%;
box-shadow: 0px 0px 20px 4px rgba(200, 0, 0, 0.4);
}
.wormle-play-btn
{
margin-top: 12px;
padding: 68px 0px 72px;
border: none !important;
border-bottom: 4px solid #009000 !important;
box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.2);
background: linear-gradient(#00ee00, #00cc00);
text-shadow: 0px 1px 3px rgba(0, 0, 0, .6);
font-size: 34px;
font-family: monospace;
color: #fff;
border-radius: 6px;
transition: .1s;
cursor: pointer;
}
.wormle-play-btn:hover
{
margin-top: 16px;
border-bottom: 0px solid #009000 !important;
box-shadow: none;
}
.wormle-score
{
z-index: 9;
padding-right: 4px;
position: absolute;
float: right;
font-size: 20px;
color: black;
}
.wormle-title
{
z-index: 9;
margin-top: 140px;
text-align: center;
display: block;
}
/****************************************
* Responsiveness *
****************************************/
@media only screen and (max-width: 1000px)
{
#main-page, #navbar
{
width: 750px;
}
input[type=checkbox].hidden#rightbar-show:not(:checked) + .ui-table #rightbar
{
display: none;
}
#rightbar
{
position: absolute;
right: 0px;
height: 100%;
z-index: 100;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.rightbar-btn
{
display: inline-block;
}
.menu
{
margin-left: -30px;
}
}
/* Requires flexbox */
@media only screen and (max-width: 760px)
{
html, body
{
margin: 0;
padding: 0;
}
input[type=checkbox].hidden#leftbar-show:not(:checked) + input + .ui-table #leftbar
{
display: none;
}
#main-page
{
padding: 0;
margin: 0;
}
#main-page, #navbar
{
width: 100%;
}
#main-page { border: 0; }
#main { width: 100%; max-width: 100%; }
#navbar
{
position: sticky;
top: 0px;
border-radius: 0;
border-top: 0;
}
#leftbar
{
position: fixed;
left: 0px;
height: 100%;
z-index: 100;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.leftbar-btn
{
display: inline-block;
}
#navbar .search-btn-show
{
display: inline-block;
}
#navbar-right-container
{
width: 100%;
padding: 12px;
background-color: #efefef;
border-top: 1px solid #cacaca;
border-bottom: 1px solid #cacaca;
text-align: center;
margin: 0;
}
input[type=checkbox].hidden#searchbar-show:not(:checked) + #navbar-right-container
{
display: none;
}
.statusbox textarea
{
width: calc(100% - 11px);
max-width: unset;
min-width: unset;
}
.status .poster-stats
{
max-width: unset;
}
.status .status-content
{
width: unset;
}
}