quadfile/static/style.css

91 lines
1.3 KiB
CSS

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700);
/* Being lazy 101 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Open Sans", "Lato", sans-serif;
color: #ffffff;
background-color: #2d2d2d;
}
.page {
width: 100%;
max-width: 920px;
padding: 10px;
margin-left: auto;
margin-right: auto;
margin-top: 50vh;
transform: translateY(-50%)
}
.title {
font-size: 34pt;
font-weight: 300;
margin-bottom: 20px;
text-align: center;
}
.links {
font-size: 0;
margin-top: 20px;
text-align: center;
list-style: none;
}
.links li {
font-size: 12pt;
display: inline-block;
padding: 5px;
width: 25%;
}
.links li a {
color: inherit;
text-decoration: none;
}
.links li a:hover {
text-decoration: underline;
}
.uploadForm {
width: 100%;
text-align: center;
}
.uploadButton {
position: relative;
margin-right: auto;
margin-left: auto;
max-width: 100%;
cursor: pointer;
background-color: #229922;
border-radius: 10px;
transition: background 0.1s ease-out;
overflow: hidden;
}
.uploadButton:hover {
background-color: #33BB33;
}
.uploadButton p {
padding: 20px;
font-weight: 300;
font-size: 24pt;
}
.uploadButton input[type="file"] {
position: absolute;
display: block;
width: 100%;
height: 100%;
top: 0;
right: 0;
opacity: 0;
}