html and css updates

This commit is contained in:
Zed
2020-06-01 02:22:22 +02:00
parent 762d00b21d
commit 2950c0de35
14 changed files with 246 additions and 224 deletions

View File

@@ -76,7 +76,7 @@
left: 0;
bottom: 0;
right: 0;
background-color: var(--fg_color);
background-color: var(--bg_overlays);
img {
width: 100%;

View File

@@ -13,7 +13,7 @@
.still-image {
width: 100%;
display: block;
display: flex;
}
}
@@ -67,17 +67,17 @@
display: inline-block;
}
.single-image {
display: inline-block;
width: 100%;
max-height: 600px;
// .single-image {
// display: inline-block;
// width: 100%;
// max-height: 600px;
.attachments {
width: unset;
max-height: unset;
display: inherit;
}
}
// .attachments {
// width: unset;
// max-height: unset;
// display: inherit;
// }
// }
.overlay-circle {
border-radius: 50%;

View File

@@ -5,10 +5,10 @@
border: solid 1px var(--dark_grey);
border-radius: 10px;
background-color: var(--bg_elements);
overflow: auto;
padding: 6px;
position: relative;
overflow: hidden;
pointer-events: all;
position: relative;
width: 100%;
&:hover {
border-color: var(--grey);
@@ -17,91 +17,73 @@
&.unavailable:hover {
border-color: var(--dark_grey);
}
.tweet-name-row {
padding: 6px 6px 0px 6px;
}
.quote-text {
overflow: hidden;
white-space: pre-wrap;
word-wrap: break-word;
padding: 3px 6px 6px 6px;
}
.show-thread {
padding: 0px 6px 3px 6px;
margin-top: -3px;
}
.replying-to {
padding: 0px 6px;
margin: unset;
}
}
.unavailable-quote {
padding: 6px;
padding: 12px;
}
.quote-link {
height: 100%;
width: 100%;
height: 100%;
left: 0;
top: 0;
position: absolute;
}
.quote .quote-link {
z-index: 1;
}
.quote-text {
overflow: hidden;
white-space: pre-wrap;
word-wrap: break-word;
}
.quote-media-container {
max-height: 300px;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
max-height: 102px;
width: 102px;
float: left;
margin-right: 7px;
border-radius: 7px;
position: relative;
}
.quote-media {
display: flex;
justify-content: center;
pointer-events: none;
.card {
margin: unset;
}
img {
.media-gif {
width: 100%;
height: 100%;
align-self: center;
}
}
.quote-badge {
left: 0;
bottom: 0;
position: absolute;
z-index: 1;
align-self: flex-end;
}
.quote-badge-text {
margin: 4px;
background: $shadow;
border-radius: 4px;
color: #fffffff0;
padding: 1px 3px;
font-size: 12px;
font-weight: bold;
}
.quote-sensitive {
background: var(--darker_grey);
width: 102px;
height: 102px;
border-radius: 12px;
display: flex;
justify-content: center;
align-items: center;
}
.quote-sensitive-icon {
font-size: 40px;
color: var(--grey);
}
@media(max-width: 600px) {
.quote-media-container {
width: 70px;
max-height: 70px;
}
.attachments {
border-radius: 0;
}
.gallery-gif .attachment {
display: flex;
justify-content: center;
background-color: var(--bg_color);
video {
height: unset;
width: unset;
}
}
.gallery-video, .gallery-gif {
max-height: 300px;
}
.still-image img {
max-height: 250px
}
}