bookwyrm/fedireads/static/format.css

106 lines
1.4 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;
overflow: auto;
2020-01-29 01:23:38 +00:00
font-family: sans-serif;
font-weight: normal;
2020-01-25 23:25:19 +00:00
}
2020-01-29 01:23:38 +00:00
h1 {
font-size: 1.2rem;
}
h2 {
font-size: 1rem;
background-color: #F3FFBD;
padding: 0.5rem 0.2rem;
margin-bottom: 1rem;
}
2020-01-29 01:39:07 +00:00
#main, header > div {
2020-01-25 23:25:19 +00:00
margin: 0 auto;
2020-01-29 01:23:38 +00:00
display: flex;
flex-flow: row wrap;
2020-01-25 23:25:19 +00:00
max-width: 75rem;
2020-01-29 01:39:07 +00:00
width: 100%;
}
#branding, #actions {
margin: 0 1rem;
}
#branding {
flex-grow: 1;
}
#actions {
flex-grow: 0;
2020-01-25 23:25:19 +00:00
}
#top-bar {
2020-01-29 01:23:38 +00:00
background-color: #B2DBBF;
overflow: hidden;
padding: 0.5rem;
}
#top-bar a {
color: black;
text-decoration: none;
2020-01-25 23:25:19 +00:00
}
#branding {
font-size: 2em;
}
#sidebar {
2020-01-29 01:23:38 +00:00
display: flex;
flex-direction: column;
flex-grow: 1;
2020-01-27 01:55:02 +00:00
}
2020-01-25 23:25:19 +00:00
.user-pic {
width: 2em;
height: auto;
border-radius: 50%;
vertical-align: middle;
}
.book-preview {
overflow: auto;
margin-bottom: 1em;
}
.book-preview img {
float: left;
margin-right: 0.5em;
}
2020-01-29 01:23:38 +00:00
#feed, #content {
display: flex;
flex-direction: column;
flex-grow: 3;
}
#content > div, #feed > div, #sidebar > div {
background-color: #EFEFEF;
margin: 1rem auto;
padding: 1rem;
width: 90%;
2020-01-25 23:25:19 +00:00
}
2020-01-29 01:23:38 +00:00
form label {
display: block;
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;
}