Files
opds-proxy/html/static/style.css
Evan Buss 7170d35962 style: full width links
Wrap all content in the anchor tag rather than just the title so
the user can click anywhere on the item to navigate / download
2024-07-08 23:38:33 -04:00

104 lines
1.4 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;
}