aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx/sites/www/src/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-nginx/sites/www/src/style.css')
-rw-r--r--docker/crupest-nginx/sites/www/src/style.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/docker/crupest-nginx/sites/www/src/style.css b/docker/crupest-nginx/sites/www/src/style.css
index 2dbf0fb..f23bbc0 100644
--- a/docker/crupest-nginx/sites/www/src/style.css
+++ b/docker/crupest-nginx/sites/www/src/style.css
@@ -6,11 +6,23 @@ body {
width: 100%;
margin: 0;
box-sizing: border-box;
- transition: padding-top 1s;
+}
+
+@keyframes article-enter {
+ from {
+ opacity: 0;
+ transform: translateY(100px);
+ }
+
+ to {
+ opacity: 1;
+ transform: translateY(0);
+ }
}
#main-article {
padding: 0 1em;
+ animation: article-enter 1s;
}
@media (min-width: 576px) {