treebird/dist/skel.css
me@ow.nekobit.net 9f7ba4b13b Implement lists
FossilOrigin-Name: 6b814f02c65e5628f97d59ad29a8914a58aa8e720542b8dfd0171e98cf061b0b
2022-02-24 02:59:13 +00:00

456 lines
6.5 KiB
CSS

/* Basic elements */
body
{
font-family: Arial, Helvetica, sans-serif;
}
/* Divs and wrappers */
#display-wrapper
{
display: flex;
justify-content: center;
}
.center
{
margin-left: auto;
margin-right: auto;
}
.center-text
{
text-align: center;
}
.bold-text
{
font-weight: bold;
}
#display
{
overflow: hidden;
width: 1000px;
}
#navbar
{
display: flex;
align-items: center;
padding: 0 5px;
}
#navbar img
{
display: inline-block;
margin: 2px 2px 2px 8px;
}
#navbar span.info
{
margin-left: 15px;
color: #202020;
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;
}
div#content
{
display: flex;
}
div#content main
{
flex: 1;
min-width: 0;
min-height: 600px;
}
div#content aside
{
width: 180px;
max-width: 180px;
min-width: 180px;
}
#leftbar ul
{
margin: 0px 0px 10px 0px;
padding: 0;
}
#leftbar ul li
{
list-style-type: none;
}
/*************************************************
* 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;
}
/*************************************************
* BUTTONS *
*************************************************/
input[type=button], input[type=submit], .sidebarbtn, .btn
{
background: #fafafa;
color: #000;
text-decoration: none;
}
input[type=button]:hover, input[type=submit]:hover, .sidebarbtn:hover, .btn:hover
{
background: #eaeaea;
cursor: pointer;
}
input[type=button]:active, input[type=submit]:active, .sidebarbtn:active, .btn:active
{
background: #eaeaea;
cursor: pointer;
}
input[type=button], input[type=submit]
{
border: 1px solid #cacaca;
padding: 3px 15px;
}
.sidebarbtn
{
display: block;
padding: 4px;
}
#rightbar
{
border-left: 1px solid #cacaca;
}
ul li:not(:last-child) .split,
.status:not(:last-child)
{
border-bottom: 1px solid #cacaca;
}
/***************************
* Statuses *
**************************/
.status
{
display: flex;
margin: 7px;
}
.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;
}
.status .status-info
{
flex: 1;
display: flex;
margin: 0 5px 5px;
min-width: 0;
flex-direction: column;
}
.status .instance-info
{
font-style: italic;
text-decoration: none;
margin: 0 3px;
}
.status .poster-stats
{
display: flex;
}
.status .username
{
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
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;
}
.status-interact
{
margin: 8px 0 2px 0;
display: flex;
}
/***************************
* 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;
}
/*************************
* Config *
************************/
/**********************
* 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;
align-items: end;
}
.acct-pfp
{
position: relative;
z-index: 1;
border: 3px solid #cacaca;
background-color: #fff;
border-radius: 8px;
width: 100px;
height: 100px;
top: 38px;
left: 150px;
margin-top: -108px;
margin-left: -108px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.acct-header
{
display: flex;
padding-left: 160px;
background: linear-gradient(#fff, #f1f1f1);
border-bottom: 1px solid #cacaca;
background-color: #e8e8e8;
}
.acct-info-data
{
position: relative;
left: 160px;
top: -10px;
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
{
background-color: #fff;
display: block;
margin-bottom: 5px;
z-index: 3;
}
.statusbox .statusfooter
{
display: flex;
flex-direction: row;
}
.statusbox .statusfooter-left
{
flex: 1;
}
/* Special cases */
.nobutton
{
background: #eaeaea !important;
color: #aa0000 !important;
padding: 0 7px !important;
margin: 0 5px;
text-decoration: none;
cursor: pointer !important;
outline: inherit !important;
font-size: 14px;
border: 1px solid #dadada !important;
}
.status-interact .nobutton-active,
.nobutton:hover
{
background-color: #aa0000 !important;
color: #eaeaea !important;
border: 1px solid #770000 !important;
}
.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;
}