@@ -53,51 +53,71 @@ a:focus {
5353}
5454
5555.js .loading ::after {
56- content : 'Pluto a planet? ' ;
57- font-size : 1.625 em ;
56+ content : '' ;
57+ font-size : .62 em ;
5858 font-weight : 500 ;
59- line-height : 1.5 ;
59+ line-height : 3.8em ;
60+ letter-spacing : .62em ;
6061 margin : 0 ;
6162 padding : 0.5em 0 ;
62- letter-spacing : 1.62em ;
6363 text-transform : uppercase;
64+ text-align : center;
6465
6566 position : fixed;
6667 z-index : 1001 ;
6768 top : 50% ;
6869 left : 50% ;
69- display : flex;
70- flex-direction : column;
71- text-align : center;
72- align-content : space-around;
73- width : 62vw ;
74- height : 62vw ;
75- margin : -31vw 0 0 -31vw ;
70+ width : 100px ;
71+ height : 100px ;
72+ margin : -50px 0 0 -50px ;
7673 border-radius : 50% ;
7774 pointer-events : none;
78- background : # 3F51B5 ;
79- /*animation: loaderAnim 4s ease-out infinite alternate forwards;*/
80- animation-name : loaderAnim;
81- animation-duration : 3s ;
82- animation-iteration-count : infinite;
83- animation-direction : alternate;
84- animation-timing-function : ease-in-out;
85- animation-fill-mode : both;
75+ animation : loaderAnim 4s ease-in-out infinite normal forwards;
8676}
8777
8878@keyframes loaderAnim {
89- to {
90- transform : scale3d (0.5 , 0.5 , 1 );
91- background-color : # 7670bd ;
92- letter-spacing : 1em ;
93- }
94- /*
95- 0% {background-color:#366bbd; left:25%; top:25%;}
96- 25% {background-color:#3d8fbd; left:75%; top:25%;}
97- 50% {background-color:#6a7dbd; left:75%; top:75%;}
98- 75% {background-color:#585abc; left:25%; top:75%;}
99- 100% {background-color:#7670bd; left:25%; top:25%;}
100- */
79+
80+ 0% {
81+ border-radius : 5% 5% 5% 5% ;
82+ transform : rotate (0deg );
83+ background : # 3f51b5 ;
84+ }
85+ 12% {
86+ border-radius : 50% 5% 5% 5% ;
87+ transform : rotate (45deg );
88+ }
89+ 25% {
90+ border-radius : 50% 50% 5% 5% ;
91+ transform : rotate (90deg );
92+ background : # 2196f3 ;
93+ }
94+ 37% {
95+ border-radius : 50% 50% 50% 5% ;
96+ transform : rotate (135deg );
97+ }
98+ 50% {
99+ border-radius : 50% ;
100+ transform : rotate (180deg );
101+ background : # 03a9f4 ;
102+ }
103+ 62% {
104+ border-radius : 5% 50% 50% 50% ;
105+ transform : rotate (225deg );
106+ }
107+ 75% {
108+ border-radius : 5% 5% 50% 50% ;
109+ transform : rotate (270deg );
110+ background : # 2196f3 ;
111+ }
112+ 87% {
113+ border-radius : 5% 5% 5% 50% ;
114+ transform : rotate (315deg );
115+ }
116+ 100% {
117+ border-radius : 5% 5% 5% 5% ;
118+ transform : rotate (360deg );
119+ background : # 3f51b5 ;
120+ }
101121}
102122
103123main {
@@ -119,7 +139,7 @@ main {
119139}
120140
121141/* Header */
122- .codrops- header {
142+ .header {
123143 position : relative;
124144 display : flex;
125145 flex-direction : column;
@@ -128,7 +148,7 @@ main {
128148 padding : 5vw ;
129149}
130150
131- .codrops- header__title {
151+ .header__title {
132152 font-size : 1.625em ;
133153 font-weight : 500 ;
134154 line-height : 1.5 ;
@@ -251,7 +271,7 @@ main {
251271}
252272
253273@media screen and (max-width : 40em ) {
254- .codrops- header__title {
274+ .header__title {
255275 font-size : 1em ;
256276 }
257277 .content--grid {
0 commit comments