nitter/public/style.css

859 lines
14 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
}
#tweets {
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
}
.media-heading {
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
}
.media-heading a {
display: inline-block;
word-break: break-all;
max-width: 100%;
}
.heading-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
}
.heading-right {
display: flex;
flex-shrink: 0;
margin-left: 4px;
2019-06-20 14:16:20 +00:00
}
.replying-to {
color: hsla(240,1%,73%,.7);
margin: 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: 506px;
}
.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-06-29 05:45:36 +00:00
max-height: 500px;
2019-06-20 14:16:20 +00:00
}
.attachments .attachment {
position: relative;
line-height: 0;
border-color: #222;
overflow: hidden;
}
2019-06-29 05:45:36 +00:00
.gallery-row .image-attachment, .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: 506px;
justify-content: center;
}
.still-image img {
object-fit: cover;
max-width: 506px;
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;
}
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 {
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;
}
.profile-tabs {
max-width: 846px;
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;
width: 70% !important;
}
.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;
width: 30% !important;
}
.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%;
margin-bottom: 8px;
}
.profile-card {
float: left;
flex-wrap: wrap;
margin-top: 0;
background: #161616;
border-radius: 0 0 4px 4px;
padding: 12px;
position: relative;
display: flex;
justify-content: flex-start;
max-width: 90%;
2019-06-20 14:16:20 +00:00
}
.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-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: block;
flex: 100%;
margin-top: 4px;
}
.profile-bio {
border-radius: 0;
box-shadow: none;
background: transparent;
overflow: hidden;
margin-right: -5px
}
.profile-description {
font-size: 14px;
font-weight: 400;
overflow: hidden;
word-break: normal;
word-wrap: break-word;
}
.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 {
max-width: 580px;
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: 40px;
margin-bottom: 19px;
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: #b94e46;
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;
}
.profile-statlist {
vertical-align: bottom;
table-layout: fixed;
box-sizing: border-box;
display: flex;
margin: 0;
2019-06-24 22:55:41 +00:00
padding: 0 2px;
2019-06-20 14:16:20 +00:00
width: 100%;
}
.profile-statlist > li {
display: table-cell;
text-align: center;
}
.profile-statlist .tweets {
flex-shrink: 2;
}
.profile-statlist .followers {
flex-grow: 2;
}
.profile-statlist .following {
flex-shrink: 1.5;
}
.profile-stat-header {
font-weight: bold;
}
.timeline-tweet {
border-bottom: 1px solid #3e3e35;
}
.timeline-footer, .timeline-header {
2019-06-20 14:16:20 +00:00
max-width: 550px;
margin: 0 auto;
padding: 6px 0px;
}
.timeline-none, .timeline-protected {
color: #ff6c60;
2019-06-20 14:16:20 +00:00
font-size: 21px;
font-weight: 600;
}
.timeline-end {
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: 8px;
border: solid 1px #404040;
border-radius: 10px;
background-color: #121212;
}
2019-06-24 06:07:36 +00:00
.quote {
margin-top: 10px;
border: solid 1px #404040;
border-radius: 10px;
background-color: #121212;
}
.quote:hover {
border-color: #808080;
}
.quote-container {
position: relative;
overflow: auto;
2019-06-24 20:54:56 +00:00
padding: 6px;
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;
padding: 0px 2px;
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
.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;
}