110 lines
1.8 KiB
CSS
110 lines
1.8 KiB
CSS
body {
|
|
margin: 0;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
a,
|
|
button {
|
|
border: 0;
|
|
padding: 0;
|
|
font-family: Times, serif;
|
|
background: transparent;
|
|
text-decoration: underline;
|
|
color: blue;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
}
|
|
|
|
div.foreground {
|
|
background: #88cecb;
|
|
box-sizing: border-box;
|
|
padding: 16px;
|
|
min-height: 180px;
|
|
}
|
|
|
|
div.pattern {
|
|
background: url("/private/bg_pattern.png?v={{ .Version }}");
|
|
background-repeat: repeat-x;
|
|
height: 152px;
|
|
}
|
|
|
|
div.graphic {
|
|
background: url("/private/bg_graphic.png?v={{ .Version }}");
|
|
width: 256px;
|
|
height: 259px;
|
|
position: absolute;
|
|
margin-top: 32px;
|
|
right: 2%;
|
|
}
|
|
|
|
div.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
div.header div.actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
div.directory {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
a.entry[data-type="directory"] div.icon {
|
|
background-size: 32px 32px;
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
a.entry {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100px;
|
|
padding: 8px;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
a.entry img.icon {
|
|
height: 32px;
|
|
width: 32px;
|
|
}
|
|
|
|
a.entry span.filename {
|
|
font-size: 0.8em;
|
|
margin-top: 4px;
|
|
color: blue;
|
|
text-decoration: underline;
|
|
word-break: break-word;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
a.entry {
|
|
padding: 4px;
|
|
width: 100%;
|
|
text-align: left;
|
|
flex-direction: unset;
|
|
gap: 8px;
|
|
}
|
|
|
|
a.entry img.icon,
|
|
a.entry[data-type="directory"] div.icon {
|
|
background-size: 1em 1em;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
a.entry span.filename {
|
|
font-size: 1em;
|
|
}
|
|
}
|