fedifeed/static/light.css

162 lines
2.8 KiB
CSS
Raw Normal View History

2017-04-30 19:44:32 +00:00
html,
body {
2017-05-02 03:11:29 +00:00
background-color: #ffffff;
font-family: 'Roboto', roboto, Arial, sans-serif;
color: #282c37;
font-weight: lighter;
2017-04-30 19:44:32 +00:00
overflow-x: hidden;
2018-09-30 04:14:46 +00:00
font-size: 100%;
word-break: break-word; }
2017-05-02 03:11:29 +00:00
2017-04-30 19:44:32 +00:00
* {
margin: 0;
2017-05-02 03:11:29 +00:00
padding: 0; }
2017-04-30 19:44:32 +00:00
a,
a * {
2017-05-02 03:11:29 +00:00
color: #2b90d9; }
2017-04-30 19:44:32 +00:00
.meta {
2017-05-02 03:11:29 +00:00
background-color: #ecf0f4; }
.header {
display: flex;
background-size: cover;
min-height: 8rem;
color: #282c37; }
.header .header-left, .header .header-right {
margin: 0; }
.header .header-left {
min-width: 8rem;
position: relative;
text-align: center;
background: rgba(255, 255, 255, 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(255, 255, 255, 0.85); }
2017-05-02 03:11:29 +00:00
2017-04-30 19:44:32 +00:00
.item {
padding: 1rem;
2017-05-02 03:11:29 +00:00
border-top: solid 1px #8494ab; }
2017-04-30 19:44:32 +00:00
.item-content,
2018-09-29 22:29:17 +00:00
.cw,
2017-04-30 19:44:32 +00:00
.title {
2017-05-02 03:11:29 +00:00
font-size: 1.1rem;
font-weight: lighter; }
2018-09-29 22:29:17 +00:00
.item-content *, .cw {
2017-05-02 03:11:29 +00:00
margin: 1rem 0;
line-height: 1.4rem; }
2017-04-30 19:44:32 +00:00
.item-title,
.date,
.author-fullname {
2017-05-02 03:11:29 +00:00
color: #90a1ba;
font-size: 0.9rem; }
.date {
margin: 1rem 0 0 0; }
2017-04-30 19:44:32 +00:00
.author {
display: flex;
2017-05-02 03:11:29 +00:00
margin: 1rem 0; }
2017-04-30 19:44:32 +00:00
.author-info {
margin: 0 1rem;
display: flex;
flex-direction: column;
2017-05-02 03:11:29 +00:00
justify-content: space-around; }
.author-info .author-displayname {
font-size: 1.2rem;
color: #282c37;
text-decoration: none;
display: block;
font-weight: bolder; }
2017-04-30 19:44:32 +00:00
.avatar {
width: 3rem;
height: 3rem;
border: none;
2017-05-02 03:11:29 +00:00
border-radius: 10%; }
.avatar.circular {
border-radius: 100%; }
2017-05-02 03:11:29 +00:00
2017-04-30 19:44:32 +00:00
.enclosures {
padding: 0.5em 0;
display: flex;
2017-05-02 03:11:29 +00:00
flex-wrap: wrap;
2017-04-30 19:44:32 +00:00
flex-direction: row;
2017-05-02 03:11:29 +00:00
overflow: hidden; }
.enclosure {
display: flex;
flex: 1 1 auto;
width: 50%;
2017-04-30 19:44:32 +00:00
display: inline-block;
border: none;
2017-05-02 03:11:29 +00:00
max-height: 12rem; }
2019-03-02 19:48:47 +00:00
a.enclosure {
cursor: zoom-in; }
2017-05-02 03:11:29 +00:00
.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: #282c37;
2018-09-29 22:29:17 +00:00
font-weight: 400;
cursor: pointer;
2018-09-30 04:14:46 +00:00
text-transform: uppercase;
user-select: none; }
2018-09-29 22:29:17 +00:00
label.button {
padding: 0.25rem 0.5rem;
margin: 0.4rem;
background: #8494ab;
color: #ffffff;
font-size: 0.8rem; }
input[type=checkbox] {
position: absolute;
left: -9999px; }
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; }
2017-05-02 03:11:29 +00:00
.item-content,
.description,
.title,
html,
body {
font-weight: normal; }