mirror of
https://github.com/fenwick67/mastofeed
synced 2024-12-22 15:25:47 +01:00
113 lines
1.9 KiB
CSS
113 lines
1.9 KiB
CSS
html,
|
|
body {
|
|
background-color: #282c37;
|
|
font-family: 'Roboto', roboto, Arial, sans-serif;
|
|
color: #ffffff;
|
|
font-weight: lighter;
|
|
overflow-x: hidden;
|
|
font-size: 100%; }
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0; }
|
|
|
|
a,
|
|
a * {
|
|
color: #2b90d9; }
|
|
|
|
.meta {
|
|
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 {
|
|
font-size: 0.9rem;
|
|
padding: 0.9rem;
|
|
background: rgba(40, 44, 55, 0.85); }
|
|
|
|
.item {
|
|
padding: 1rem;
|
|
border-top: solid 1px #626d80; }
|
|
|
|
.item-content,
|
|
.title {
|
|
font-size: 1.1rem;
|
|
font-weight: lighter; }
|
|
|
|
.item-content * {
|
|
margin: 1rem 0;
|
|
line-height: 1.4rem; }
|
|
|
|
.item-title,
|
|
.date,
|
|
.author-fullname {
|
|
color: #9baec8;
|
|
font-size: 0.9rem; }
|
|
|
|
.date {
|
|
margin: 1rem 0 0 0; }
|
|
|
|
.author {
|
|
display: flex;
|
|
margin: 1rem 0; }
|
|
|
|
.author-info {
|
|
margin: 0 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-around; }
|
|
.author-info .author-displayname {
|
|
font-size: 1.2rem;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
display: block;
|
|
font-weight: bolder; }
|
|
|
|
.avatar {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border: none;
|
|
border-radius: 10%; }
|
|
.avatar.circular {
|
|
border-radius: 100%; }
|
|
|
|
.enclosures {
|
|
padding: 0.5em 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
flex-direction: row;
|
|
overflow: hidden; }
|
|
|
|
.enclosure {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
width: 50%;
|
|
display: inline-block;
|
|
border: none;
|
|
cursor: zoom-in;
|
|
max-height: 12rem; }
|
|
|
|
.enclosure > * {
|
|
flex: 1 1 auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover; }
|
|
|
|
.meta .title {
|
|
font-weight: bold; }
|