Files
gonic/server/assets/stylesheets/main.css
2019-07-06 21:53:07 +01:00

162 lines
2.2 KiB
CSS

body {
max-width: 780px;
margin: 0 auto;
padding: 0 20px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
line-height: 1rem;
overflow-y: scroll;
}
@media only screen and (max-width: 780px) {
.no-small {
display: none;
}
}
table td:first-child::after {
content: " ";
white-space: pre;
}
@media only screen and (max-width: 780px) {
table#recent-folders td:first-child::after {
content: "";
}
}
form input[type],
form select,
form textarea {
margin-bottom: 0;
}
form {
max-width: 400px;
margin-left: auto;
margin-right: 0;
display: flex;
flex-direction: column;
align-items: flex-end;
}
form > * {
width: 100%;
}
form input {
padding: 3px;
border: 1px solid #ccc;
box-sizing: border-box;
}
form input[type=password],
form input[type=text] {
margin-bottom: 0.25rem;
}
form input[type=submit] {
width: 8rem;
background-color: white;
cursor: pointer;
}
div {
margin: 0;
padding: 0;
}
table td,
table th {
border: none;
margin: 0;
}
table {
overflow: hidden;
white-space: nowrap;
}
a,
a:visited {
color: #0064c1;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#content > * {
margin: 2rem 0;
}
#header {
border-bottom: 2px solid #0000001a;
padding-top: 3rem;
}
#header img {
width: 60%;
display: block;
margin: 0 auto;
height: auto;
}
.flash-warning {
background-color: #fd1b1b1c;
border-right: 2px solid #fd1b1b1c;
border-bottom: 2px solid #fd1b1b1c;
}
.flash-normal {
background-color: #15ff5452;
border-right: 2px solid #15ff5452;
border-bottom: 2px solid #15ff5452;
}
.text-right {
text-align: right;
}
.block-right > * {
margin-left: auto;
}
.light {
color: #00000082;
}
.mono {
font-family: monospace;
}
.box {
background-color: #00000005;
border-right: 2px solid #0000000c;
border-bottom: 2px solid #0000000c;
}
.box-title {
margin-bottom: 0.5rem;
}
.padded {
padding: 1rem;
}
.side-padded {
padding: 0 1rem;
}
.angry {
background-color: #f4433669;
}
i.mdi {
font-size: 14px;
}