nitter/public/style.css

679 lines
11 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;
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;
}
.timeline-tweet {
border-bottom: 1px solid #3e3e35;
}
.status-body {
flex: 1;
min-width: 0;
}
.media-heading {
2019-06-20 14:16:20 +00:00
padding: 0;
vertical-align: bottom;
flex-basis: 100%;
margin-bottom: .2em;
}
.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
}
.status-el .status-content {
font-family: sans-serif;
line-height: 1.4em;
}
.status-el .media-body {
flex: 1;
padding: 0;
}
.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 {
margin-top: .5em;
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;
}
.gallery-row .attachment:last-child, .gallery-row .attachments:last-child {
margin: 0;
}
.attachments .attachment {
position: relative;
line-height: 0;
border-color: #222;
overflow: hidden;
}
.gallery-row .image-attachment {
width: 100%;
}
.attachments .image-attachment {
width: 100%;
}
.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;
}
.status-body {
margin-left: 58px;
}
.avatar {
float: left;
margin-top: 3px;
margin-left: -58px;
position: absolute;
width: 48px;
height: 48px;
border-radius: 50%;
}
.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;
padding: 0 4px;
box-sizing: border-box;
display: inline-block;
font-size: 14px;
margin: 0;
text-align: left;
vertical-align: top;
width: 70% !important;
}
.profile-tab {
padding: 0 4px;
box-sizing: border-box;
display: inline-block;
font-size: 14px;
margin: 0;
text-align: left;
vertical-align: top;
width: 30% !important;
}
.profile-banner {
padding: 0 4px;
}
.profile-banner img {
width: 100%;
padding-bottom: 3px;
}
.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;
}
.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;
}
.thread {
background-color: #161616;
margin-bottom: 10px;
}
.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-protected {
max-width: 550px;
margin: 0 auto;
padding: 6px 0px;
}
.timeline-protected-header {
color: #d0564c;
font-size: 21px;
font-weight: bold;
}
2019-06-20 15:20:32 +00:00
2019-06-24 06:24:43 +00:00
.media-gif {
display: table-cell;
padding-top: 5px !important;
background-color: unset;
}
2019-06-24 06:07:36 +00:00
video {
height: 100%;
width: 100%;
}
2019-06-20 15:20:32 +00:00
.video-overlay {
width: 100%;
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-24 03:14:14 +00:00
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;
}
.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
}