8109d4d9b3
FossilOrigin-Name: 735d951c6659d8752aa7e438c0220f3fd5a77a0bcd37334f61a5325285e02ce5
645 lines
10 KiB
CSS
645 lines
10 KiB
CSS
|
|
|
|
/* Look, I tried my best to make this theme compatible with browsers like Netsurf and stuff, I HATE
|
|
the modern web and flexboxes and stuff, so as a result, you WILL see some fugly things in here
|
|
that you will probably want to cleanup or throw out completely, this CSS is a big hack.
|
|
|
|
Other themes do not need to be compatible with Netsurf and older browsers or use tables,
|
|
I just wanted this to be as compatible as possible, go wild with your own themes */
|
|
|
|
body
|
|
{
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
background-color: #f6f6f6;
|
|
}
|
|
|
|
/* Cleans up most of the tables */
|
|
td
|
|
{
|
|
padding: 0;
|
|
margin: 0;
|
|
border-collapse: collapse !important;
|
|
vertical-align: top;
|
|
}
|
|
|
|
#display
|
|
{
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
overflow: hidden;
|
|
background-color: #ffffff;
|
|
width: 1000px;
|
|
border-radius: 5px;
|
|
border: 1px solid #dadada;
|
|
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
#navbar
|
|
{
|
|
border-top: 2px solid #fff;
|
|
background: linear-gradient(#fafafa, #f3f3f3);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 5px;
|
|
border-bottom: 2px solid #cacaca;
|
|
}
|
|
|
|
#navbar img
|
|
{
|
|
display: inline-block;
|
|
margin: 4px 3px 2px 10px;
|
|
}
|
|
|
|
#navbar span.info
|
|
{
|
|
margin-left: 15px;
|
|
color: #202020;
|
|
/* font-variant: small-caps; */
|
|
font-size: 28px;
|
|
}
|
|
|
|
#navbar-right
|
|
{
|
|
padding-right: 8px;
|
|
flex: 1;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
#login-header
|
|
{
|
|
margin-right: 15px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.alignend
|
|
{
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
#main
|
|
{
|
|
width: 640px;
|
|
max-width: 640px !important;
|
|
min-width: 640px;
|
|
border-collapse: collapse !important;
|
|
padding: 0;
|
|
}
|
|
|
|
#content
|
|
{
|
|
border-collapse: collapse !important;
|
|
min-height: 600px;
|
|
}
|
|
|
|
.sidebar
|
|
{
|
|
width: 180px;
|
|
min-height: 600px;
|
|
max-width: 180px;
|
|
min-width: 180px;
|
|
background-color: #fcfcfc;
|
|
}
|
|
|
|
#leftbar
|
|
{
|
|
border-right: 1px solid #cacaca;
|
|
}
|
|
|
|
#leftbar ul
|
|
{
|
|
margin: 0px 0px 10px 0px;
|
|
padding: 0;
|
|
}
|
|
|
|
#leftbar ul li
|
|
{
|
|
list-style-type: none;
|
|
}
|
|
|
|
/*************************************************
|
|
* BUTTONS *
|
|
*************************************************/
|
|
input[type=button], input[type=submit], .sidebarbtn, .btn
|
|
{
|
|
background: linear-gradient(#fff, #f7f7f7);
|
|
color: #000;
|
|
text-decoration: none;
|
|
}
|
|
|
|
input[type=button]:hover, input[type=submit]:hover, .sidebarbtn:hover, .btn:hover
|
|
{
|
|
background: linear-gradient(#aa0000, #600000);
|
|
border-color: #400000;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=button]:active, input[type=submit]:active, .sidebarbtn:active, .btn:active
|
|
{
|
|
background: linear-gradient(#600000, #aa0000);
|
|
border-color: #400000;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type=button], input[type=submit]
|
|
{
|
|
border: 1px solid #cacaca;
|
|
padding: 3px 15px;
|
|
}
|
|
|
|
/* Make first button glue to header */
|
|
#leftbar ul:first-child .sidebarbtn
|
|
{
|
|
border-top: 0;
|
|
}
|
|
|
|
.sidebarbtn
|
|
{
|
|
border-bottom: 1px solid #dadada;
|
|
display: block;
|
|
padding: 8px 8px 8px 16px;
|
|
}
|
|
|
|
ul li:first-child a.sidebarbtn
|
|
{
|
|
border-top: 1px solid #dadada;
|
|
}
|
|
|
|
#rightbar
|
|
{
|
|
border-left: 1px solid #cacaca;
|
|
}
|
|
|
|
/***************************
|
|
* Statuses *
|
|
**************************/
|
|
.status
|
|
{
|
|
padding: 4px 2px 0 4px;
|
|
border-bottom: 1px solid #cacaca !important;
|
|
width: 100%;
|
|
border-collapse: collapse !important;
|
|
border-spacing: 0px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.status .profile-picture
|
|
{
|
|
display: inline-block;
|
|
width: 52px;
|
|
min-width: 52px;
|
|
height: 52px;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
border-radius: 4px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.pfp-td
|
|
{
|
|
width: 56px;
|
|
border-collapse: collapse !important;
|
|
padding: 6px;
|
|
}
|
|
|
|
.pfp-td img
|
|
{
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
.status tr
|
|
{
|
|
width: auto;
|
|
}
|
|
|
|
|
|
.status .status-info
|
|
{
|
|
margin: 0 5px 0px;
|
|
min-width: 0;
|
|
width: auto;
|
|
padding: 5px 5px 0 5px;
|
|
display: flex;
|
|
}
|
|
|
|
.status .status-info > table
|
|
{
|
|
width: 100%;
|
|
}
|
|
|
|
.status .status-info table, .status .status-info td, .status .status-info tr
|
|
{
|
|
border-collapse: collapse !important;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.status .instance-info
|
|
{
|
|
font-style: italic;
|
|
text-decoration: none;
|
|
margin: 0 4px 0 6px;
|
|
font-size: 14px;
|
|
padding-top: 1px;
|
|
}
|
|
|
|
.status .poster-stats
|
|
{
|
|
display: flex;
|
|
/* To maintain compatibility while keeping it a flexbox, we have to
|
|
* hardcode the width, sorry! Tables are just weird and I hate CSS */
|
|
max-width: 550px;
|
|
}
|
|
|
|
.status .username
|
|
{
|
|
font-weight: bold;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status .status-content
|
|
{
|
|
margin: 2px 0 0 0;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.status .status-content p
|
|
{
|
|
margin: 2px 0 0 0;
|
|
}
|
|
|
|
.status-visibility
|
|
{
|
|
color: #808080;
|
|
display: inline;
|
|
font-size: 12px;
|
|
margin: 3px 0 0 3px;
|
|
}
|
|
|
|
.status-interact
|
|
{
|
|
margin: 8px 0 0 0;
|
|
}
|
|
|
|
.status-interact table
|
|
{
|
|
border-collapse: collapse !important;
|
|
padding: 0;
|
|
}
|
|
|
|
.status-interact table tr
|
|
{
|
|
border-collapse: collapse !important;
|
|
padding: 0;
|
|
}
|
|
|
|
/***************************
|
|
* 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;
|
|
}
|
|
|
|
#config-page ul
|
|
{
|
|
list-style-type: none;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
|
|
/**********************
|
|
* Profiles *
|
|
**********************/
|
|
.header-btn
|
|
{
|
|
text-decoration: none;
|
|
color: #606060;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.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%;
|
|
display: flex;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
height: 256px;
|
|
}
|
|
|
|
.acct-pfp
|
|
{
|
|
position: relative;
|
|
z-index: 100;
|
|
border: 3px solid #cacaca;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
width: 100px;
|
|
height: 100px;
|
|
top: -8px;
|
|
left: 150px;
|
|
margin-top: -108px;
|
|
margin-left: -108px;
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.acct-header
|
|
{
|
|
display: flex;
|
|
z-index: 1;
|
|
padding-left: 160px;
|
|
background: linear-gradient(#fff, #f1f1f1);
|
|
border-bottom: 1px solid #cacaca;
|
|
background-color: #e8e8e8;
|
|
}
|
|
|
|
.acct-info-data
|
|
{
|
|
position: relative;
|
|
left: 160px;
|
|
top: 200px;
|
|
font-weight: bold;
|
|
text-shadow: 0px 2px 6px #000;
|
|
}
|
|
|
|
.acct-displayname
|
|
{
|
|
font-size: 26px;
|
|
display: block;
|
|
color: #fff;
|
|
}
|
|
|
|
.acct-username
|
|
{
|
|
font-size: 14px;
|
|
color: #dadada;
|
|
display: block;
|
|
font-weight: bold;
|
|
text-shadow: 0px 0px 5px #000;
|
|
}
|
|
|
|
.header-btn
|
|
{
|
|
display: inline-block;
|
|
padding: 8px 15px;
|
|
margin: 0;
|
|
}
|
|
|
|
/****************
|
|
* Statusbox *
|
|
****************/
|
|
.statusbox
|
|
{
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 5px;
|
|
}
|
|
|
|
.statusbox textarea
|
|
{
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.statusbox .statusfooter
|
|
{
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.statusbox .statusfooter-left
|
|
{
|
|
flex: 1;
|
|
}
|
|
|
|
|
|
/* Special cases */
|
|
.nobutton
|
|
{
|
|
display: block !important;
|
|
background: none !important;
|
|
background-color: transparent !important;
|
|
color: #aa0000 !important;
|
|
padding: 4px 9px !important;
|
|
margin: 0 !important;
|
|
text-decoration: none;
|
|
cursor: pointer !important;
|
|
outline: inherit !important;
|
|
font-size: 14px;
|
|
border: 0 !important;
|
|
}
|
|
|
|
.status-interact tr td:not(:last-child) .nobutton
|
|
{
|
|
border-right: 1px solid #cacaca !important;
|
|
|
|
}
|
|
|
|
.status-interact .nobutton-active,
|
|
.nobutton:hover,
|
|
.nobutton:active,
|
|
.nobutton:focus
|
|
{
|
|
background: linear-gradient(#fff, #aa3333, #aa2222, #aa0000) !important;
|
|
border: 0 !important;
|
|
border-right: 1px solid #cacaca !important;
|
|
color: #fff !important;
|
|
text-shadow: 0px 0px 5px #cc4444cc !important;
|
|
}
|
|
|
|
/* Emoji reacts */
|
|
.emoji-react-box
|
|
{
|
|
border-radius: 4px;
|
|
border: 1px solid #cacaca;
|
|
}
|
|
|
|
.form-group
|
|
{
|
|
padding: 5px;
|
|
display: block;
|
|
}
|
|
|
|
/* Simple page layout */
|
|
.simple-page
|
|
{
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.simple-page h1
|
|
{
|
|
padding-left: 12px;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid #cacaca;
|
|
}
|
|
|
|
.simple-page h3
|
|
{
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.simple-page ul
|
|
{
|
|
list-style-type: none;
|
|
padding-left: 15px;
|
|
}
|
|
|
|
/* Attachments */
|
|
.attachments img
|
|
{
|
|
min-width: 100px;
|
|
}
|
|
|
|
.attachments
|
|
{
|
|
margin: 10px 0 3px 0;
|
|
}
|
|
|
|
.zoom
|
|
{
|
|
}
|
|
|
|
.zoom:hover
|
|
{
|
|
transition: transform .5s;
|
|
transition-timing-function: cubic-bezier(1, 0, 1, 0);
|
|
transform: scaleX(1.8) scaleY(1.8);
|
|
}
|
|
|
|
.statusbox textarea
|
|
{
|
|
border: 1px solid #cacaca;
|
|
}
|
|
|
|
/* Emoji reacts */
|
|
.emoji-reactions
|
|
{
|
|
display: block;
|
|
padding: 0;
|
|
margin-top: 8px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.emoji-react-box
|
|
{
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
padding: 3px 7px;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
/*************************************************
|
|
* LISTS *
|
|
*************************************************/
|
|
ul.large-list
|
|
{
|
|
width: 500px;
|
|
border-radius: 15px;
|
|
background-color: #f8f8f8;
|
|
border: 1px solid #cacaca;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
ul.large-list li
|
|
{
|
|
list-style-type: none;
|
|
margin: 0;
|
|
}
|
|
|
|
ul.large-list li a
|
|
{
|
|
display: block;
|
|
padding: 15px;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.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;
|
|
}
|