@@ -10,14 +10,33 @@ $main-color: #7d2000;
10
10
$main-color-light : #b88574 ;
11
11
$main-color-white : #c1a0a0 ;
12
12
$main-color-light : #cfa090 ;
13
- $background-color : $grey-color-light !default ;
13
+ // $background-color: $grey-color-light !default;
14
+ // $background-color: #3d3d3d !default;
15
+ // $background-color: #707070 !default;
16
+ $background-color : #1e1e2e !default ;
14
17
$content-width : 100vh ;
15
18
19
+ $fade-delay-0 : 0ms !default ;
20
+ $fade-delay-1 : 200ms !default ;
21
+ $fade-delay-2 : 400ms !default ;
22
+
16
23
@import " minima" ;
17
24
25
+ @keyframes fadeIn {
26
+ 0% {
27
+ opacity : 0 ;
28
+ padding-left : 25px ;
29
+ }
30
+ 100% {
31
+ opacity : 100% ;
32
+ padding-left : 0px ;
33
+ }
34
+ }
35
+
18
36
.site-header {
19
37
border : 5px solid $background-color ;
20
38
border : 0px ;
39
+ border : 3px solid darken ($main-color-light , 25% );
21
40
22
41
background : $main-color-light ;
23
42
border-radius : 25px ;
@@ -27,28 +46,45 @@ $content-width: 100vh;
27
46
margin-bottom : 0px ;
28
47
29
48
width : $content-width ;
49
+
50
+ opacity : 0 ;
51
+ animation : fadeIn ease 1s $fade-delay-0 ;
52
+ animation-iteration-count : 1 ;
53
+ animation-fill-mode : forwards ;
30
54
}
31
55
32
56
.site-footer {
33
57
background : #d0d0e0 ;
34
58
border : 0px ;
59
+ border : 3px solid darken (#d0d0e0 , 25% );
35
60
border-radius : 25px ;
36
61
margin : 20px ;
37
62
margin-top : 0px ;
38
63
margin-left : auto ;
39
64
margin-right : auto ;
40
65
41
66
width : $content-width ;
67
+
68
+ opacity : 0 ;
69
+ animation : fadeIn ease 1s $fade-delay-2 ;
70
+ animation-iteration-count : 1 ;
71
+ animation-fill-mode : forwards ;
42
72
}
43
73
44
74
.page-content {
45
75
border-radius : 25px ;
76
+ border : 3px solid #cfcf8f ;
46
77
background : lighten (#cfcf8f , 25% );
47
78
margin : 20px ;
48
79
margin-left : auto ;
49
80
margin-right : auto ;
50
81
51
82
width : $content-width ;
83
+
84
+ opacity : 0 ;
85
+ animation : fadeIn ease 1s $fade-delay-1 ;
86
+ animation-iteration-count : 1 ;
87
+ animation-fill-mode : forwards ;
52
88
}
53
89
54
90
/* *
0 commit comments