bookwyrm/fedireads/static/format.css

176 lines
2.3 KiB
CSS
Raw Normal View History

2020-01-29 01:23:38 +00:00
/* some colors that are okay: #247BA0 #70C1B2 #B2DBBF #F3FFBD #FF1654 */
2020-01-25 23:25:19 +00:00
* {
margin: 0;
padding: 0;
line-height: 1.3em;
2020-01-29 01:23:38 +00:00
font-family: sans-serif;
2020-02-15 05:45:13 +00:00
}
2020-02-19 21:42:45 +00:00
html {
background-color: #FFF;
2020-02-19 21:42:45 +00:00
color: black;
}
a {
color: #00F;
}
a:visited {
color: #808;
}
2020-02-15 05:45:13 +00:00
h1, h2, h3, h4 {
2020-01-29 01:23:38 +00:00
font-weight: normal;
2020-01-25 23:25:19 +00:00
}
2020-01-29 01:23:38 +00:00
h1 {
2020-01-29 20:53:12 +00:00
font-size: 1.5rem;
2020-01-29 01:23:38 +00:00
}
h2 {
font-size: 1rem;
2020-01-29 20:53:12 +00:00
background-color: #B2DBBF;
2020-01-29 01:23:38 +00:00
padding: 0.5rem 0.2rem;
margin-bottom: 1rem;
2020-01-29 23:10:32 +00:00
height: 1rem;
2020-01-29 01:23:38 +00:00
}
2020-01-29 20:53:12 +00:00
#top-bar {
background-color: #70C1B3;
overflow: hidden;
padding: 0.5rem;
2020-01-29 01:39:07 +00:00
}
2020-02-20 02:12:44 +00:00
#warning {
background-color: #FF1654;
text-align: center;
}
2020-01-29 01:39:07 +00:00
#branding, #actions {
margin: 0 1rem;
}
#branding {
flex-grow: 1;
2020-01-29 20:53:12 +00:00
font-size: 2rem;
2020-01-29 01:39:07 +00:00
}
2020-01-29 08:05:58 +00:00
#branding a {
text-decoration: none;
color: black;
}
2020-01-29 01:39:07 +00:00
#actions {
flex-grow: 0;
2020-01-29 07:23:05 +00:00
text-align: right;
2020-01-25 23:25:19 +00:00
}
2020-01-29 20:53:12 +00:00
#main, header > div {
margin: 0 auto;
2020-01-29 01:23:38 +00:00
display: flex;
2020-01-29 20:53:12 +00:00
flex-direction: row;
max-width: 75rem;
width: 100%;
2020-01-29 09:25:56 +00:00
}
2020-01-29 20:53:12 +00:00
#feed, #content, #sidebar {
2020-01-29 09:25:56 +00:00
display: flex;
flex-direction: column;
2020-01-29 23:10:32 +00:00
margin: 0 1rem 1rem 0;
2020-01-27 01:55:02 +00:00
}
2020-01-29 20:53:12 +00:00
#sidebar {
min-width: 20rem;
2020-01-29 23:10:32 +00:00
margin-right: 0;
2020-01-29 20:53:12 +00:00
}
#feed-tabs {
display: flex;
flex-direction: row;
}
.active {
background-color: #FF1654;
}
2020-01-25 23:25:19 +00:00
.user-pic {
2020-01-29 20:53:12 +00:00
width: 2rem;
2020-01-25 23:25:19 +00:00
height: auto;
border-radius: 50%;
2020-01-29 23:10:32 +00:00
vertical-align: top;
position: relative;
bottom: 0.5em;
2020-01-25 23:25:19 +00:00
}
2020-02-20 02:41:37 +00:00
.time-ago {
float: right;
display: block;
}
2020-01-25 23:25:19 +00:00
.book-preview {
overflow: auto;
}
.book-preview img {
float: left;
2020-01-29 20:53:12 +00:00
margin-right: 1em;
2020-01-25 23:25:19 +00:00
}
2020-01-29 08:05:58 +00:00
.book-cover.small {
width: 50px;
height: auto;
}
2020-01-29 01:23:38 +00:00
#content > div, #feed > div, #sidebar > div {
background-color: #EFEFEF;
2020-01-29 20:53:12 +00:00
margin: 1rem 0 0 1rem;
}
#content > div > *, #feed > div > *, #sidebar > div > * {
2020-01-29 01:23:38 +00:00
padding: 1rem;
2020-01-25 23:25:19 +00:00
}
2020-01-29 01:23:38 +00:00
.review-form textarea {
width: 30rem;
height: 10rem;
2020-01-25 23:25:19 +00:00
}
2020-01-29 01:29:02 +00:00
.review {
margin-bottom: 1rem;
}
small {
display: block;
}
2020-01-29 09:25:56 +00:00
blockquote {
white-space: pre-wrap;
}
2020-01-29 20:53:12 +00:00
.interaction {
background-color: #F3FFBD;
clear: both;
margin-top: 1rem;
}
2020-01-29 23:10:32 +00:00
table {
border-collapse: collapse;
margin: 1em;
}
tr {
vertical-align: top;
}
tr:nth-child(even) {
background-color: #DDD;
}
th {
font-weight: bold;
}
th, td {
padding: 1em;
text-align: left;
}
2020-02-11 05:49:18 +00:00
.errorlist {
list-style: none;
font-size: 0.8em;
color: #FF1654;
}