jsquotes/style.css

107 lines
1.6 KiB
CSS

body {
margin: auto;
padding-top: 4rem;
background-color: beige;
font-size: 18px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.hidden {
display: none;
}
.display {
width: 80vw;
max-width: 500px;
height: 240px;
margin: 12rem auto;
background: linear-gradient(to bottom right, #0c024d, #0dbcc5);
background-attachment: fixed;
color: white;
font-size: 1.3rem;
padding: 2rem;
border-radius: 12px;
}
.anim {
animation: fadeIn linear 4s;
-webkit-animation: fadeIn linear 4s;
-moz-animation: fadeIn linear 4s;
-o-animation: fadeIn linear 4s;
-ms-animation: fadeIn linear 4s
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-moz-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-o-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-ms-keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.instructions {
display: none;
margin-top: 2rem;
text-align: center;
border-bottom: 1px dotted #0c024d;
font-style: italic;
font-size: 0.9rem;
}
.footer {
text-align: center;
font-size: 0.8rem;
margin: 2rem auto;
}
.footer a:any-link {
text-decoration: none;
color: #0c024d;
}
.footer a:hover {
color: #0dbcc5;
}