File tree Expand file tree Collapse file tree 1 file changed +29
-19
lines changed
packages/docs/src/scss/components Expand file tree Collapse file tree 1 file changed +29
-19
lines changed Original file line number Diff line number Diff line change 6
6
* Branding image or text of the site
7
7
*/
8
8
.c-logo {
9
- @media all and (min-width : $bp-med ) {
10
- margin-bottom : $spacing-large ;
11
- }
9
+ @media all and (min-width : $bp-med ) {
10
+ margin-bottom : $spacing-large ;
11
+ }
12
12
}
13
13
14
14
/* *
15
15
* Logo link
16
16
*/
17
17
.c-logo__link {
18
- display : flex ;
19
- align-items : center ;
18
+ display : flex ;
19
+ align-items : center ;
20
20
}
21
21
22
22
/* *
23
23
* Logo image
24
24
*/
25
25
.c-logo__img {
26
- display : block ;
27
- max-width : 3rem ;
28
- margin-right : 0.5rem ;
26
+ display : block ;
27
+ max-width : 3rem ;
28
+ margin-right : 0.5rem ;
29
+ animation : rotate 10s linear infinite ;
29
30
}
30
31
31
32
/* *
32
33
* Logo body
33
34
* 1) contains the logo text and meta info
34
35
*/
35
36
.c-logo__body {
36
- position : relative ;
37
+ position : relative ;
37
38
}
38
39
39
40
/* *
40
41
* Logo text
41
42
*/
42
43
.c-logo__text {
43
- text-transform : lowercase ;
44
- font-weight : bold ;
45
- color : $color-white ;
44
+ text-transform : lowercase ;
45
+ font-weight : bold ;
46
+ color : $color-white ;
46
47
}
47
48
48
49
.c-logo__meta {
49
- display : block ;
50
- padding-top : 0.2rem ;
51
- font-size : $font-size-sm ;
52
- color : $color-gray-27 ;
53
- font-weight : 500 ;
54
- position : absolute ;
55
- top : 100% ;
50
+ display : block ;
51
+ padding-top : 0.2rem ;
52
+ font-size : $font-size-sm ;
53
+ color : $color-gray-27 ;
54
+ font-weight : 500 ;
55
+ position : absolute ;
56
+ top : 100% ;
57
+ }
58
+
59
+ @keyframes rotate {
60
+ from {
61
+ transform : rotate (0deg );
62
+ }
63
+ to {
64
+ transform : rotate (360deg );
65
+ }
56
66
}
You can’t perform that action at this time.
0 commit comments