quadfile/static/style.css

99 lines
1.5 KiB
CSS
Raw Normal View History

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