mirror of
https://github.com/comatory/fb2iCal
synced 2024-12-27 08:52:58 +01:00
161 lines
2.1 KiB
CSS
161 lines
2.1 KiB
CSS
/* Define platform-specific typefaces */
|
|
|
|
@font-face {
|
|
font-family: "system";
|
|
font-style: normal;
|
|
src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
|
|
}
|
|
|
|
/* Web query */
|
|
@media screen and (min-width: 501px) {
|
|
img#logo {
|
|
width: 72px;
|
|
height: 72px;
|
|
}
|
|
}
|
|
|
|
/* Mobile screen+ query */
|
|
@media screen and (max-width: 500px) {
|
|
h1 {
|
|
font-size: 1.6rem;
|
|
margin: 0;
|
|
}
|
|
article#main, input {
|
|
font-size: 1.1rem;
|
|
}
|
|
img#logo {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
}
|
|
|
|
/* Mobile screen query */
|
|
@media screen and (max-width: 320px) {
|
|
h1 {
|
|
font-size: 1.2rem;
|
|
margin: 0;
|
|
}
|
|
article#main, input {
|
|
font-size: 1.2rem;
|
|
}
|
|
img#logo {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family:-apple-system, "system";
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
font-size: 16px;
|
|
margin: 0px;
|
|
padding: 5px;
|
|
max-width: 600px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
footer {
|
|
background-color: #fff;
|
|
}
|
|
|
|
article#main {
|
|
flex: 1;
|
|
}
|
|
|
|
img#logo {
|
|
margin: 5px;
|
|
}
|
|
|
|
input {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
#current-download {
|
|
display: none;
|
|
}
|
|
|
|
.list-wrapper {
|
|
max-height: 50vh;
|
|
overflow: auto;
|
|
}
|
|
|
|
#list {
|
|
width: 100%;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
input#url {
|
|
flex: 1;
|
|
}
|
|
|
|
#form {
|
|
flex: 1;
|
|
display: flex;
|
|
min-width: 300px;
|
|
}
|
|
|
|
#form input {
|
|
margin: 5px;
|
|
}
|
|
|
|
#status {
|
|
flex: 1;
|
|
height: 1rem;
|
|
margin: 5px;
|
|
}
|
|
|
|
.status-item {
|
|
display: none;
|
|
min-width: 200px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.show {
|
|
display: block;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
thead {
|
|
font-weight: 800;
|
|
}
|
|
|
|
tbody tr:nth-child(odd) {
|
|
background-color: whitesmoke;
|
|
}
|
|
|
|
tbody tr:nth-child(even) {
|
|
background-color: #e8e8e8;
|
|
}
|
|
|
|
td.actions {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
td.actions a {
|
|
margin: 2px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.delete-record {
|
|
font-size: 1.2rem;
|
|
}
|