quadfile/static/style.css

139 lines
2.1 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-26 15:43:34 +00:00
background-color: #1d1d1d;
2015-12-23 13:11:38 +00:00
}
2015-12-23 15:47:13 +00:00
@keyframes rise {
from {margin-top: 50px;opacity:0;}
2015-12-24 12:46:05 +00:00
to {margin-top: 0;opacity:1;}
2015-12-23 15:47:13 +00:00
}
2015-12-23 21:18:54 +00:00
@keyframes appear {
from {opacity:0;}
2015-12-24 12:46:05 +00:00
to {opacity:1;}
2015-12-23 21:18:54 +00:00
}
2015-12-23 15:30:48 +00:00
.page {
2015-12-23 13:11:38 +00:00
width: 100%;
2015-12-26 17:35:11 +00:00
max-width: 720px;
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
}
.note {
text-align: center;
font-size: 8pt;
color: #AAAAAA;
2015-12-23 22:39:33 +00:00
animation: appear 0.75s ease-out;
}
2015-12-23 15:30:48 +00:00
.title {
font-size: 34pt;
2015-12-23 13:11:38 +00:00
font-weight: 300;
2016-01-16 21:29:29 +00:00
margin-bottom: 5px;
2015-12-23 13:11:38 +00:00
text-align: center;
2015-12-23 21:18:54 +00:00
animation: appear 0.75s 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;
2015-12-26 17:42:09 +00:00
width: 15%;
2015-12-23 21:18:54 +00:00
animation: rise 1s ease-out;
2015-12-23 15:30:48 +00:00
}
2015-12-26 17:42:09 +00:00
@media all and (max-width: 360px){
2015-12-26 17:35:11 +00:00
.links li {
width: 40%;
2015-12-26 17:42:09 +00:00
margin-bottom: 5px;
padding: 5px;
}
}
@media all and (max-width: 600px){
.links li {
width: 20%;
margin-bottom: 5px;
padding: 5px;
2015-12-26 17:35:11 +00:00
}
}
.links li a, .fileLink {
2015-12-23 15:30:48 +00:00
color: inherit;
text-decoration: none;
color: #999999;
2015-12-23 15:30:48 +00:00
}
.links li a:hover, .fileLink {
2015-12-23 15:30:48 +00:00
text-decoration: underline;
2015-12-23 13:11:38 +00:00
}
.uploadForm {
width: 100%;
text-align: center;
2015-12-23 21:18:54 +00:00
animation: appear 0.75s 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-26 23:38:52 +00:00
@keyframes pulse {
0% {background-color: #117711;}
50% {background-color: #44CC44;}
100% {background-color: #117711;}
}
.uploading {
animation: pulse 3s infinite;
}
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;
2016-01-16 21:29:29 +00:00
}