Files
opds-proxy/html/static/style.css
Evan Buss 4f3948943a feat: cookie authentication
use encrypted cookies to authenticate
basic auth feeds. most eReader browsers
don't support basic auth
2024-07-13 01:55:48 +00:00

124 lines
1.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: serif, sans-serif;
font-style: italic;
font-size: 1.25rem;
}
#container {
padding: 1rem;
width: 100%;
}
#container > ul {
margin-top: 75px;
list-style-type: none;
}
@media (max-width: 500px) {
#container > ul {
margin-top: 125px;
}
}
#container > ul > li {
padding: 1rem;
white-space: nowrap;
}
#container > ul > li > a > img {
display: inline-block;
height: 75px;
margin-right: 1rem;
}
#container > ul > li > a > .info {
display: inline-block;
vertical-align: top;
white-space: normal;
max-width: calc(100% - 3rem - 75px);
}
.info > p:not(:first-child) {
font-size: 1rem;
}
a {
display: inline-block;
text-decoration: none;
color: black;
}
#container > ul > li a {
width: 100%;
}
#container > ul > li:not(:last-child) {
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.navigation {
background-color: white;
position: fixed;
top: 0;
left: 0;
right: 0;
display: block;
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}
.search {
width: 100px;
display: inline-block;
}
.search:focus {
outline: none;
box-shadow: none;
}
.search > a {
padding-top: 1rem;
padding-left: 1rem;
display: block;
margin: auto;
}
.nav-controls {
float: right;
}
.nav-controls > a {
padding: 1rem 0.5rem;
font-size: 1rem;
}
.nav-controls:last-child {
padding-right: 1rem;
}
*, *::before, *::after {
box-sizing: border-box;
}
* {
margin: 0;
}
body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}
input, button, textarea, select {
font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}