nitter/public/style.css

1069 lines
17 KiB
CSS
Raw Normal View History

2019-06-20 14:16:20 +00:00
body {
background-color: #121212;
color: #f8f8f2;
margin: 0;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
2019-06-24 06:07:36 +00:00
font-size: 14px;
line-height: 1.3;
2019-06-20 14:16:20 +00:00
}
#posts {
2019-06-20 14:16:20 +00:00
background-color: #161616;
}
#user {
background-color: #242424;
width: 100%;
padding: 5pt;
}
#user > h1 {
color: #ffffff;
}
h1 {
margin: 0;
display: inline;
}
h2 {
margin: 0;
font-weight: normal;
}
h3 {
margin-bottom: 0;
font-weight: normal;
}
h4 {
margin: 0;
}
a {
color: #ff6c60;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.status-el {
overflow-wrap: break-word;
border-left-width: 0;
min-width: 0;
padding: .75em;
display: flex;
}
.status-body {
flex: 1;
min-width: 0;
2019-06-26 19:06:42 +00:00
margin-left: 58px;
2019-06-20 14:16:20 +00:00
}
.tweet-header {
2019-06-20 14:16:20 +00:00
padding: 0;
vertical-align: bottom;
flex-basis: 100%;
2019-07-01 01:56:09 +00:00
margin-bottom: .2em;
2019-06-20 14:16:20 +00:00
}
.tweet-header a {
display: inline-block;
word-break: break-all;
max-width: 100%;
}
.tweet-name-row {
2019-06-20 14:16:20 +00:00
padding: 0;
display: flex;
justify-content: space-between;
}
.fullname-and-username {
2019-06-20 14:16:20 +00:00
display: flex;
min-width: 0;
}
.fullname {
2019-06-20 14:16:20 +00:00
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 2;
max-width: 80%;
2019-06-20 14:16:20 +00:00
white-space: nowrap;
font-size: 14px;
font-weight: 700;
color: #f8f8f2;
2019-06-20 14:16:20 +00:00
}
.username {
min-width: 1.6em;
margin-left: .4em;
white-space: nowrap;
word-wrap: normal;
overflow: hidden;
text-overflow: ellipsis;
2019-06-20 14:16:20 +00:00
}
2019-06-24 20:54:56 +00:00
.icon {
2019-06-20 15:57:31 +00:00
color: #fff;
border-radius: 50%;
display: inline-block;
text-align: center;
2019-06-20 22:54:13 +00:00
vertical-align: middle;
2019-06-24 20:54:56 +00:00
flex-shrink: 0;
margin: 2px 0 3px 3px;
}
.verified-icon {
background-color: #1da1f2;
2019-06-20 22:54:13 +00:00
height: 14px;
width: 14px;
font-size: 10px;
2019-06-20 14:16:20 +00:00
}
.protected-icon {
background-color: #353535;
height: 18px;
width: 18px;
font-size: 12px;
font-weight: bold;
2019-06-20 14:16:20 +00:00
}
.tweet-date {
display: flex;
flex-shrink: 0;
margin-left: 4px;
2019-06-20 14:16:20 +00:00
}
.replying-to {
2019-07-04 09:55:19 +00:00
color: hsla(240,1%,73%,.9);
2019-08-06 15:41:06 +00:00
margin: -4px 0 4px 0;
}
2019-06-20 14:16:20 +00:00
.status-el .status-content {
font-family: sans-serif;
line-height: 1.4em;
}
2019-06-25 02:52:38 +00:00
.status-content.media-body {
2019-06-20 14:16:20 +00:00
flex: 1;
padding: 0;
2019-06-25 02:52:38 +00:00
white-space: pre-wrap;
2019-06-20 14:16:20 +00:00
}
.container, .item {
display: flex;
}
.container {
flex-wrap: wrap;
margin: 0;
}
#content {
box-sizing: border-box;
padding-top: 50px;
margin: auto;
min-height: 100vh;
background-color: rgba(0,0,0,.15);
}
nav {
z-index: 1000;
background-color: #1f1f1f;
color: hsla(240,1%,73%,.5);
box-shadow: 0 0 4px rgba(0,0,0,.6);
}
.nav-bar {
padding: 0;
width: 100%;
align-items: center;
position: fixed;
height: 50px;
}
.nav-bar .inner-nav {
margin: auto;
box-sizing: border-box;
padding-left: 10px;
padding-right: 10px;
display: flex;
align-items: center;
height: 50px;
}
.item {
flex: 1;
line-height: 50px;
height: 50px;
overflow: hidden;
flex-wrap: wrap;
}
.attachments {
2019-07-01 01:56:09 +00:00
margin-top: .35em;
2019-06-20 14:16:20 +00:00
display: flex;
flex-direction: row;
width: 100%;
max-height: 600px;
border-radius: 7px;
overflow: hidden;
flex-flow: column;
2019-06-23 00:37:25 +00:00
background-color: #0f0f0f;
align-items: center;
2019-06-20 14:16:20 +00:00
}
.gallery-row {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
overflow: hidden;
flex-grow: 1;
max-height: 379.5px;
max-width: 533px;
2019-06-20 14:16:20 +00:00
}
.gallery-row .attachment, .gallery-row .attachments {
margin: 0 .25em 0 0;
flex-grow: 1;
box-sizing: border-box;
min-width: 2em;
}
2019-06-29 05:45:36 +00:00
.gallery-row .attachment:last-child, .gallery-row .attachments:last-child, .video-container {
2019-06-20 14:16:20 +00:00
margin: 0;
2019-07-15 14:03:01 +00:00
max-height: 530px;
2019-06-20 14:16:20 +00:00
}
.attachments .attachment {
position: relative;
line-height: 0;
border-color: #222;
overflow: hidden;
}
.gallery-row .still-image, .attachments .image-attachment {
2019-06-20 14:16:20 +00:00
width: 100%;
}
2019-06-29 05:45:36 +00:00
.gallery-video {
display: flex;
overflow: hidden;
}
video {
height: 100%;
width: 100%;
}
.media-gif {
2019-07-01 01:56:09 +00:00
display: inline-block;
2019-06-29 05:45:36 +00:00
background-color: unset;
}
.video-overlay {
2019-06-20 14:16:20 +00:00
width: 100%;
2019-06-29 05:45:36 +00:00
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 1;
background-color: #000000bd;
}
.video-overlay p {
position: relative;
z-index: 0;
color: #dcdcdc;
text-align: center;
top: calc(50% - 20px);
font-size: 20px;
2019-06-20 14:16:20 +00:00
}
.still-image {
max-height: 379.5px;
max-width: 533px;
2019-06-20 14:16:20 +00:00
justify-content: center;
}
.still-image img {
object-fit: cover;
max-width: 533px;
2019-06-20 14:16:20 +00:00
max-height: 379.5px;
border-color: #222;
flex-basis: 300px;
}
2019-07-01 01:56:09 +00:00
.image {
display: inline-block;
}
.single-image {
display: inline-block;
width: unset;
}
2019-06-20 14:16:20 +00:00
.avatar {
float: left;
margin-top: 3px;
margin-left: -58px;
position: absolute;
width: 48px;
height: 48px;
border-radius: 50%;
}
2019-06-26 19:55:04 +00:00
.tweet-avatar {
display: contents !important;
}
.retweet {
margin-top: -5px !important;
}
2019-06-20 14:16:20 +00:00
.retweet, .pinned, .tweet-stats {
align-content: center;
color: hsla(240,1%,73%,.7);
display: flex;
flex-shrink: 0;
flex-wrap: wrap;
font-size: 14px;
font-weight: 600;
line-height: 22px;
margin: 0;
max-width: 85%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tweet-stat {
padding-top: 5px;
padding-right: 8px;
}
.show-more {
background-color: #161616;
2019-06-20 14:16:20 +00:00
text-align: center;
padding: .75em 0;
display: block;
}
.show-more.status-el {
border-bottom: 1px solid #3e3e35;
}
.show-more a {
background-color: #242424;
display: inline-block;
height: 2em;
padding: 0 2em;
line-height: 2em;
}
.show-more a:hover {
background-color: #282828;
}
2019-08-06 15:41:06 +00:00
.multi-header {
background-color: #161616;
text-align: center;
padding: 10px;
display: block;
font-weight: bold;
margin-bottom: 5px;
}
.multi-timeline {
max-width: 600px;
margin: 0 auto;
}
2019-06-20 14:16:20 +00:00
.profile-tabs {
max-width: 900px;
2019-06-20 14:16:20 +00:00
margin: 0 auto;
float: none;
border-radius: 0;
position: relative;
width: auto;
}
.timeline-tab {
float: right;
2019-07-03 08:41:42 +00:00
padding: 0;
2019-06-20 14:16:20 +00:00
box-sizing: border-box;
display: inline-block;
font-size: 14px;
margin: 0;
text-align: left;
vertical-align: top;
2019-08-06 15:41:06 +00:00
}
.profile-tabs > .timeline-tab {
width: 68% !important;
2019-06-20 14:16:20 +00:00
}
.profile-tab {
2019-07-03 08:41:42 +00:00
padding: 0 4px 0 0;
2019-06-20 14:16:20 +00:00
box-sizing: border-box;
display: inline-block;
font-size: 14px;
margin: 0;
text-align: left;
vertical-align: top;
max-width: 32%;
2019-07-04 07:34:33 +00:00
position: sticky;
top: 50px;
2019-06-20 14:16:20 +00:00
}
.profile-banner {
2019-07-03 08:41:42 +00:00
padding-bottom: 4px;
}
.profile-banner a {
display: inherit;
line-height: 0;
2019-06-20 14:16:20 +00:00
}
.profile-banner img {
width: 100%;
}
.profile-banner-color {
width: 100%;
padding-bottom: 25%;
}
.profile-card {
flex-wrap: wrap;
background: #161616;
padding: 12px;
display: flex;
}
.profile-card-tabs {
display: flex;
justify-content: space-between;
align-items: center;
flex: 1 1 auto;
max-width: 100%;
2019-06-20 14:16:20 +00:00
}
.profile-card-tabs-name {
max-width: 100%;
2019-06-20 14:16:20 +00:00
}
.profile-card-username, .profile-card-fullname {
2019-06-20 14:16:20 +00:00
color: #f8f8f2;
}
.profile-card-fullname {
2019-06-20 14:16:20 +00:00
font-size: 16px;
text-shadow: none;
text-overflow: ellipsis;
max-width: 100%;
font-weight: bold;
2019-07-31 00:15:43 +00:00
overflow-wrap: break-word;
2019-06-20 14:16:20 +00:00
}
.profile-card-username {
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
display: block;
2019-06-20 14:16:20 +00:00
}
.profile-card-avatar {
display: block;
width: 100%;
padding-bottom: 16px;
margin-right: 4px;
}
.profile-card-avatar img {
display: block;
width: calc(100% - 4px);
height: 100%;
margin: 0;
border: 4px solid #282828;
background: #040404;
}
.profile-card-extra {
display: contents;
2019-06-20 14:16:20 +00:00
flex: 100%;
margin-top: 4px;
}
2019-06-20 14:16:20 +00:00
.profile-bio {
overflow: hidden;
overflow-wrap: break-word;
width: 100%;
2019-07-04 02:18:32 +00:00
margin: 10px -6px 0px 0px;
}
.profile-bio p {
margin: 0;
2019-06-20 14:16:20 +00:00
}
.profile-description {
font-size: 14px;
font-weight: 400;
overflow: hidden;
word-break: normal;
word-wrap: break-word;
}
2019-07-04 02:18:32 +00:00
.photo-rail-card {
float: left;
background: #161616;
border-radius: 0 0 4px 4px;
width: 100%;
margin-top: 5px;
}
.photo-rail-header {
2019-07-04 02:18:32 +00:00
padding: 5px 12px 0px 12px;
}
.photo-rail-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 3px 3px;
padding: 5px 12px 12px 12px;
}
.photo-rail-grid a {
position: relative;
border-radius: 5px;
}
.photo-rail-grid a:before {
content: "";
display: block;
padding-top: 100%;
}
.photo-rail-grid img {
height: 100%;
width: 100%;
2019-07-04 02:39:59 +00:00
border-radius: 4px;
2019-07-04 02:18:32 +00:00
object-fit: cover;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.tab {
align-items: center;
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0 0 5px 0;
background-color: #161616;
padding: 0;
}
.tab .tab-item {
margin-top: 0;
}
.tab-item {
flex: 1 1 0;
text-align: center;
}
.tab .tab-item a.active, .tab .tab-item.active a {
border-bottom-color: #ff6c60;
color: #ff6c60;
}
.tab .tab-item a {
border-bottom: .1rem solid transparent;
color: inherit;
display: block;
padding: 8px 0;
text-decoration: none;
font-weight: bold;
}
2019-06-20 14:16:20 +00:00
.conversation {
2019-07-04 07:34:33 +00:00
max-width: 610px;
2019-06-20 14:16:20 +00:00
margin: 0 auto;
float: none;
border-radius: 0;
position: relative;
width: auto;
background-color: #0f0f0f !important;
}
.main-thread {
margin-bottom: 20px;
background-color: #161616;
}
.main-tweet .status-content {
font-size: 22px;
line-height: 30px;
letter-spacing: .01em;
}
2019-06-25 10:57:19 +00:00
.reply {
2019-06-20 14:16:20 +00:00
background-color: #161616;
margin-bottom: 10px;
}
2019-07-01 01:13:12 +00:00
.more-replies {
padding-top: 0.3em;
}
.more-replies-text {
display: block;
margin-left: 58px;
padding: 7px 0;
text-overflow: ellipsis;
white-space: nowrap;
}
2019-06-26 19:06:42 +00:00
.thread-line .status-el::before {
2019-06-25 10:57:19 +00:00
background: #8a3731;
content: '';
position: relative;
width: 3px;
2019-06-26 19:06:42 +00:00
min-width: 3px;
2019-06-25 10:57:19 +00:00
left: 26px;
2019-06-26 19:06:42 +00:00
border-radius: 2px;
margin-left: -3px;
2019-06-25 10:57:19 +00:00
top: 56px;
margin-bottom: 37px;
2019-06-26 19:06:42 +00:00
}
.thread-line .unavailable::before {
top: 48px;
margin-bottom: 28px;
2019-06-25 10:57:19 +00:00
}
.thread-last .status-el::before {
background: unset;
2019-06-27 19:07:29 +00:00
min-width: unset;
2019-06-25 10:57:19 +00:00
width: 0;
margin: 0;
}
2019-07-01 01:13:12 +00:00
.thread-line .more-replies::before {
content: '...';
background: unset;
color: #ad433b;
2019-07-01 01:13:12 +00:00
font-weight: bold;
font-size: 22px;
line-height: 0.25em;
left: 1.2em;
width: 5px;
top: 2px;
margin-bottom: 0px;
margin-left: -5px;
}
2019-06-20 14:16:20 +00:00
.panel {
margin: auto;
font-size: 130%;
}
.error-panel {
background-color: #420a05 !important;
}
.error-panel, .search-panel > form {
padding: 12px;
border-radius: 4px;
display: flex;
background: #222222;
box-shadow: 0 0 15px rgba(0,0,0,.2);
margin: auto;
margin-top: -50px;
}
.search-panel > form > button {
font-size: 14px;
line-height: 24px;
display: block;
border: 0;
border-radius: 4px;
background: #2f2f2f;
color: #f8f8f2;
outline: 0;
text-decoration: none;
text-align: center;
box-sizing: border-box;
cursor: pointer;
font-weight: bold;
width: 37px;
height: 32px;
padding: 0;
}
.search-panel > form > input {
box-sizing: border-box;
font-size: 16px;
display: block;
width: 100%;
outline: 0;
font-family: inherit;
background: #131419;
color: #f8f8f2;
border: 1px solid #0a0b0e;
border-radius: 4px;
padding: 4px;
margin-right: 8px;
}
.profile-card-extra-links {
margin-top: 8px;
font-size: 14px;
width: 100%;
2019-06-20 14:16:20 +00:00
}
.profile-statlist {
display: flex;
flex-wrap: wrap;
2019-06-20 14:16:20 +00:00
margin: 0;
padding: 0;
2019-06-20 14:16:20 +00:00
width: 100%;
}
.profile-statlist > li {
display: table-cell;
text-align: center;
}
.profile-statlist .posts {
flex: 0.4 1 0;
2019-06-20 14:16:20 +00:00
}
.profile-statlist .followers {
flex: 1 1 0;
padding: 0 3px;
2019-06-20 14:16:20 +00:00
}
.profile-statlist .following {
flex: 0.5 1 0;
2019-06-20 14:16:20 +00:00
}
.profile-stat-header {
font-weight: bold;
}
.profile-stat-num {
display: block;
}
.timeline-tweet {
border-bottom: 1px solid #3e3e35;
}
.timeline-footer, .timeline-header {
background-color: #161616;
2019-06-20 14:16:20 +00:00
padding: 6px 0px;
}
.timeline-protected {
2019-08-06 15:41:06 +00:00
text-align: center;
}
.timeline-protected p {
margin: 8px 0px;
}
.timeline-none, .timeline-protected h2 {
color: #ff6c60;
2019-06-20 14:16:20 +00:00
font-size: 21px;
font-weight: 600;
}
.timeline-end {
background-color: #161616;
text-align: center;
font-size: 16px;
color: #ff6c60;
font-weight: 600;
2019-06-20 14:16:20 +00:00
}
2019-06-20 15:20:32 +00:00
2019-06-26 19:06:42 +00:00
.unavailable-box {
width: 100%;
height: 100%;
padding: 12px;
2019-06-26 19:06:42 +00:00
border: solid 1px #404040;
border-radius: 10px;
background-color: #121212;
}
2019-07-04 02:38:23 +00:00
.unavailable-quote {
padding: 6px;
2019-07-04 02:38:23 +00:00
}
2019-06-24 06:07:36 +00:00
.quote {
margin-top: 10px;
border: solid 1px #404040;
border-radius: 10px;
background-color: #121212;
overflow: auto;
padding: 6px;
position: relative;
2019-06-24 06:07:36 +00:00
}
.quote:hover {
border-color: #808080;
}
.quote.unavailable:hover {
border-color: #404040;
2019-06-24 06:07:36 +00:00
}
.quote-link {
2019-06-24 03:14:14 +00:00
height: 100%;
width: 100%;
2019-06-24 06:07:36 +00:00
left: 0;
top: 0;
position: absolute;
}
.quote-text {
overflow: hidden;
white-space: pre-wrap;
word-wrap: break-word;
}
.quote-media-container {
display: flex;
2019-06-24 20:23:00 +00:00
flex-direction: column;
2019-06-24 06:07:36 +00:00
align-items: center;
overflow: hidden;
max-height: 102px;
width: 102px;
float: left;
margin-right: 7px;
border-radius: 7px;
}
.quote-media {
display: flex;
justify-content: center;
2019-06-25 00:58:33 +00:00
pointer-events: none;
2019-06-24 06:07:36 +00:00
}
.quote-media img {
width: 100%;
height: 100%;
2019-06-24 20:23:00 +00:00
align-self: center;
2019-06-24 06:07:36 +00:00
}
.quote-badge {
2019-06-24 22:39:32 +00:00
left: 6px;
2019-06-24 06:07:36 +00:00
position: absolute;
z-index: 1;
2019-06-24 16:19:43 +00:00
align-self: flex-end;
}
.quote-badge-text {
margin: 4px;
background: rgba(0, 0, 0, 0.66);
border-radius: 4px;
color: #fffffff0;
2019-07-04 02:39:59 +00:00
padding: 1px 3px;
2019-06-24 22:39:32 +00:00
font-size: 12px;
font-weight: bold;
2019-06-24 03:14:14 +00:00
}
2019-06-25 00:58:33 +00:00
.quote-sensitive {
background: #353535;
width: 102px;
height: 102px;
border-radius: 12px;
display: flex;
justify-content: center;
align-items: center;
}
.quote-sensitive-icon {
font-size: 25px;
width: 37px;
height: 32px;
background-color: #4e4e4e;
padding-bottom: 5px;
margin: 0;
}
2019-06-29 12:11:23 +00:00
2019-07-15 11:41:27 +00:00
.card {
margin: 5px 0;
}
.card-container {
border-radius: 10px;
border-width: 1px;
border-style: solid;
border-color: #404040;
background-color: #121212;
overflow: hidden;
color: inherit;
display: flex;
text-decoration: none !important;
}
.card-container:hover {
border-color: #808080;
}
2019-07-15 14:03:01 +00:00
.card-container .attachments {
margin: 0;
border-radius: 0;
}
2019-07-15 11:41:27 +00:00
.large .card-container {
display: block;
}
.card-content {
padding: 0.5em;
}
.card-title {
overflow: hidden;
text-overflow: ellipsis;
font-weight: bold;
font-size: 1.15em;
}
.card-description {
margin: 0.3em 0;
}
.card-destination {
color: hsla(240,1%,73%,.9);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
.card-image-container {
width: 98px;
flex-shrink: 0;
position: relative;
overflow: hidden;
}
.large .card-image-container {
width: unset;
}
.card-image-container:before {
content: "";
display: block;
padding-top: 100%;
}
.large .card-image-container:before {
display: none;
}
.card-image {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: white;
}
.large .card-image {
position: unset;
border-style: solid;
border-color: #404040;
border-width: 0;
border-bottom-width: 1px;
}
.card-image img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.card-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
opacity: 0.8;
}
.card-overlay-circle {
border-radius: 50%;
background-color: #404040;
width: 40px;
height: 40px;
align-items: center;
display: flex;
border-width: 5px;
border-color: #d8574d;
border-style: solid;
}
.card-overlay-triangle {
width: 0;
height: 0;
border-style: solid;
border-width: 12px 0 12px 17px;
border-color: transparent transparent transparent #d8574d;
margin-left: 14px;
}
2019-06-29 12:11:23 +00:00
.poll-meter {
overflow: hidden;
position: relative;
margin: 6px 0;
height: 26px;
background: #0f0f0f;
border-radius: 5px;
display: flex;
align-items: center;
}
.poll-choice-bar {
height: 100%;
position: absolute;
background: #383838;
}
.leader .poll-choice-bar {
background: #8a3731;
}
.poll-choice-value {
position: relative;
font-weight: bold;
margin-left: 5px;
margin-right: 6px;
2019-06-29 22:53:07 +00:00
min-width: 30px;
text-align: right;
2019-06-29 12:11:23 +00:00
}
.poll-choice-option {
position: relative;
}
.poll-info {
color: #868687;
}