1
0
Fork 0
tooty/public/style.css

406 lines
5.9 KiB
CSS
Raw Normal View History

body {
font-family: Roboto, sans-serif;
2017-04-27 17:40:45 +00:00
padding: 10px 0 0 0;
overflow: hidden;
}
::-webkit-scrollbar {
width: 8px;
height: 8px
}
::-webkit-scrollbar-thumb {
background: #444;
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
background: #777;
}
::-webkit-scrollbar-thumb:active {
background: #777;
}
::-webkit-scrollbar-track {
border: 0px none #ffffff;
border-radius: 0;
background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-track:hover {
background: #2a2e31;
}
::-webkit-scrollbar-track:active {
background: #2a2e31;
}
::-webkit-scrollbar-corner {
background: transparent;
}
.timeline {
overflow-y: auto;
overflow-x: hidden;
max-height: calc(100vh - 60px);
}
.status, .follow-profile {
min-height: 50px;
clear: both;
}
.follow-profile .status-text {
opacity: .8;
}
.nsfw {
background: #493438;
}
.reblog > p:first-of-type,
.notification > p:first-of-type {
color: #999;
margin-bottom: 8px;
}
2017-04-23 19:49:04 +00:00
.status-info, .status-info a {
color: #ccc;
2017-04-23 19:49:04 +00:00
line-height: 1.6em;
}
.status-info > .avatars img {
width: 24px;
height: 24px;
margin-right: 5px;
border-radius: 2px;
}
.status-info-text {
clear: left;
padding-top: 6px;
}
2017-04-23 19:49:04 +00:00
.notification.reblog,
.notification.favourite {
opacity: .75;
}
.notification.follow > p {
margin-bottom: 0;
}
.panel-heading {
font-weight: bold;
}
.panel-heading > .glyphicon,
.panel-heading > .row > .heading > .glyphicon {
margin-right: 8px;
}
.avatar {
display: block;
float: left;
width: 50px;
border-radius: 5%;
margin-top: 2px;
}
.username {
font-weight: bold;
margin-left: 65px;
margin-bottom: 4px;
}
.acct {
font-size: 97%;
font-weight: normal;
color: #a0a0a0;
}
.reblogger {
color: #ccc;
}
.status-text {
margin-left: 65px;
color: #efefef;
}
.status-text a, .u-url, .status .mention, .hashtag, .tag {
color: #9baec8;
}
/* Thread */
.thread-target {
background: #3c444c;
}
.thread-target .status-text {
font-size: 1.3em;
}
/* Status actions */
.actions {
margin-left: 65px;
width: calc(100% - 65px);
}
.actions > .btn {
border: none;
background: transparent;
color: #aaa;
2017-04-25 10:15:45 +00:00
padding: 0 1.2em 0 0;
text-align: left;
}
.actions > .btn > .glyphicon {
margin-right: 5px;
}
.actions .favourited {
color: #d1ac0e;
}
.actions .reblogged {
color: #d56344;
}
/* Attachments */
.attachments {
margin: 0 0 15px 0;
padding: 0;
list-style-type: none;
overflow: hidden;
width: 100%;
box-sizing: border-box;
position: relative;
}
.attachment-entry {
margin-top: 5px;
2017-04-24 19:21:43 +00:00
transition: 0.3s;
opacity: .9;
}
.attachment-entry:hover {
opacity: 1;
}
.attachment-entry input {
display: none;
}
.attachment-entry label {
display: block;
background: #111;
opacity: .95;
font-weight: normal;
font-size: 95%;
height: 10vh;
margin-bottom: -10vh;
text-align: center;
padding-top: 2rem;
cursor: pointer;
border-radius: 2px;
}
.attachment-entry input:checked + label {
display: none;
}
.attachment-image {
display: block;
width: 100%;
height: 10vh;
text-decoration: none;
cursor: zoom-in;
border-radius: 2px;
}
/* Spoiler */
.spoiled input[type=checkbox] {
display: none;
}
.spoiled input[type=checkbox] + label {
display: block;
text-align: center;
margin-top: .5em;
font-weight: normal;
2017-04-23 20:17:44 +00:00
background: #252525;
color: #fff;
padding: .3em;
2017-04-23 20:17:44 +00:00
border: 1px solid #363636;
cursor: pointer;
}
2017-04-23 20:17:44 +00:00
.spoiled input[type=checkbox] + label + .spoiled-content {
display: none;
}
.spoiled input[type=checkbox]:checked + label + .spoiled-content {
2017-04-23 20:17:44 +00:00
display: block;
height: auto;
opacity: 1;
padding: 10px;
}
.spoiled .spoiled-content {
height: 0;
overflow: hidden;
opacity: 0;
padding: 10px;
background: #333;
2017-04-23 20:17:44 +00:00
border: 1px solid #444;
border-radius: 4px;
transition: all .6s;
2017-04-23 20:17:44 +00:00
margin-bottom: 5px;
}
/* Draft form */
.in-reply-to .attachments {
margin: 0;
}
.in-reply-to .attachments li {
display: none;
}
.in-reply-to .attachments:after {
content: "[attachments hidden]";
font-size: .9em;
color: #555;
}
/* Status text content rules */
.attachment, .hashtag, .ellipsis {
white-space: pre-wrap;
word-wrap: break-word;
}
.ellipsis:after {
content:"…"
}
2017-04-20 10:41:23 +00:00
.invisible {
display: none;
2017-04-20 10:41:23 +00:00
}
/* Account rules */
.account-detail {
text-align:center;
}
.account-detail .opacity-layer{
background: rgba(49,53,67,0.9);
}
.account-detail img {
border-radius: 90px;
padding:20px;
display: block;
margin:0 auto 0;
}
.account-detail .account-display-name {
display: block;
font-size: 130%;
font-weight: bold;
}
.account-detail .account-username {
display: block;
}
.account-detail .account-note {
display: block;
padding: 5px 15px 15px 15px;
}
.account-infos {
text-align:center;
padding: 15px;
}
2017-04-24 19:21:43 +00:00
/* Viewer */
.viewer {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.9);
}
/* Modal Content (Image) */
.viewer-content {
display: block;
margin: auto;
max-width: 80vw;
max-height: 90vh;
animation-name: zoom;
animation-duration: 0.1s;
}
@keyframes zoom {
from { transform: scale(.9) }
to { transform: scale(1) }
}
.viewer > .close {
position: absolute;
top: 15px;
right: 35px;
color: #eee;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
text-shadow: initial;
opacity: 1;
}
.viewer > .close:hover,
.viewer > .close:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
.prev, .next {
font-size: 72px;
opacity: .5;
transition: opacity .5s;
text-decoration: none;
margin: 0 10px;
}
.prev:hover,
.next:hover {
opacity: 1;
}
.prev:active, .prev:focus, .prev:hover,
.next:active, .next:focus, .next:hover {
text-decoration: none;
}
/* 100% image width on smaller screens */
@media only screen and (max-width: 700px) {
.viewer-content {
width: 100%;
2017-04-24 19:21:43 +00:00
}
}