1
0
mirror of https://github.com/fenwick67/mastofeed synced 2024-12-22 15:25:47 +01:00
mastofeed-iframe-embed/static/dark.css

158 lines
2.7 KiB
CSS
Raw Normal View History

2017-04-30 04:14:25 +02:00
html,
body {
2017-05-02 05:11:29 +02:00
background-color: #282c37;
font-family: 'Roboto', roboto, Arial, sans-serif;
color: #ffffff;
2017-04-30 19:57:21 +02:00
font-weight: lighter;
2017-04-30 21:22:56 +02:00
overflow-x: hidden;
2018-09-30 06:14:46 +02:00
font-size: 100%;
word-break: break-word; }
2017-05-02 05:11:29 +02:00
2017-04-30 04:14:25 +02:00
* {
margin: 0;
2017-05-02 05:11:29 +02:00
padding: 0; }
2017-04-30 04:14:25 +02:00
a,
a * {
2017-05-02 05:11:29 +02:00
color: #2b90d9; }
2017-04-30 04:14:25 +02:00
.meta {
2017-05-02 05:11:29 +02:00
background-color: #39404d; }
.header {
display: flex;
background-size: cover;
min-height: 8rem;
color: #ffffff; }
.header .header-left, .header .header-right {
margin: 0; }
.header .header-left {
min-width: 8rem;
position: relative;
text-align: center;
background: rgba(40, 44, 55, 0.3); }
.header .header-left .avatar {
width: 6rem;
height: 6rem;
position: relative;
top: calc(50% - 3rem); }
.header .header-right {
flex-grow: 1;
font-size: 0.9rem;
padding: 0.9rem;
background: rgba(40, 44, 55, 0.85); }
2017-05-02 05:11:29 +02:00
2017-04-30 04:14:25 +02:00
.item {
2017-04-30 21:22:56 +02:00
padding: 1rem;
2017-05-02 05:11:29 +02:00
border-top: solid 1px #626d80; }
2017-04-30 04:14:25 +02:00
.item-content,
2018-09-30 00:29:17 +02:00
.cw,
2017-04-30 04:14:25 +02:00
.title {
2017-05-02 05:11:29 +02:00
font-size: 1.1rem;
font-weight: lighter; }
2018-09-30 00:29:17 +02:00
.item-content *, .cw {
2017-05-02 05:11:29 +02:00
margin: 1rem 0;
line-height: 1.4rem; }
2017-04-30 04:14:25 +02:00
.item-title,
.date,
.author-fullname {
2017-05-02 05:11:29 +02:00
color: #9baec8;
font-size: 0.9rem; }
.date {
margin: 1rem 0 0 0; }
2017-04-30 04:14:25 +02:00
.author {
display: flex;
2017-05-02 05:11:29 +02:00
margin: 1rem 0; }
2017-04-30 04:14:25 +02:00
.author-info {
2017-04-30 21:22:56 +02:00
margin: 0 1rem;
2017-04-30 04:14:25 +02:00
display: flex;
flex-direction: column;
2017-05-02 05:11:29 +02:00
justify-content: space-around; }
.author-info .author-displayname {
font-size: 1.2rem;
color: #ffffff;
text-decoration: none;
display: block;
font-weight: bolder; }
2017-04-30 04:14:25 +02:00
.avatar {
2017-04-30 21:22:56 +02:00
width: 3rem;
height: 3rem;
2017-04-30 04:14:25 +02:00
border: none;
2017-05-02 05:11:29 +02:00
border-radius: 10%; }
.avatar.circular {
border-radius: 100%; }
2017-05-02 05:11:29 +02:00
2017-04-30 04:14:25 +02:00
.enclosures {
padding: 0.5em 0;
display: flex;
2017-05-02 05:11:29 +02:00
flex-wrap: wrap;
2017-04-30 04:14:25 +02:00
flex-direction: row;
2017-05-02 05:11:29 +02:00
overflow: hidden; }
.enclosure {
display: flex;
flex: 1 1 auto;
width: 50%;
2017-04-30 04:14:25 +02:00
display: inline-block;
border: none;
cursor: zoom-in;
2017-05-02 05:11:29 +02:00
max-height: 12rem; }
.enclosure > * {
flex: 1 1 auto;
width: 100%;
height: 100%;
object-fit: cover; }
.meta .title {
font-weight: bold; }
.hidden {
display: none; }
.button {
padding: 0.5rem 1rem;
border: none;
margin: 1rem;
border-radius: 0.5rem;
display: inline-block;
text-decoration: none;
background: #2b90d9;
color: #ffffff;
2018-09-30 00:29:17 +02:00
font-weight: 400;
cursor: pointer;
2018-09-30 06:14:46 +02:00
text-transform: uppercase;
user-select: none; }
2018-09-30 00:29:17 +02:00
label.button {
padding: 0.25rem 0.5rem;
margin: 0.4rem;
background: #626d80;
color: #282c37;
font-size: 0.8rem; }
input[type=checkbox] {
position: absolute;
left: -9999px; }
label {
-webkit-appearance: push-button;
-moz-appearance: button;
cursor: pointer; }
input[type=checkbox]:checked ~ label::after {
content: " Less"; }
input[type=checkbox]:not(:checked) ~ label::after {
content: " More"; }
input[type=checkbox]:not(:checked) ~ div {
display: none; }