File tree Expand file tree Collapse file tree 5 files changed +52
-0
lines changed Expand file tree Collapse file tree 5 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 5
5
"reportInvalidScopeDisables" : true ,
6
6
"reportNeedlessDisables" : true ,
7
7
"rules" : {
8
+ "at-rule-no-vendor-prefix" : null ,
8
9
"no-duplicate-selectors" : true ,
9
10
"property-no-vendor-prefix" : null ,
10
11
"value-no-vendor-prefix" : null
Original file line number Diff line number Diff line change 1
1
// Our bundle CSS files are listed here so that we inlcude the dist file in Jekyll
2
2
@use " page" ;
3
+ @use " gh-corners" ;
3
4
@use " syntax" ;
Original file line number Diff line number Diff line change 18
18
</ head >
19
19
20
20
< body >
21
+ < a href ="https://github.com/mdo/github-buttons " class ="github-corner " aria-label ="View repository on GitHub ">
22
+ {% include gh-corner.svg %}
23
+ </ a >
21
24
< div class ="container ">
22
25
< div class ="tweet-button ">
23
26
< a href ="https://twitter.com/share " class ="twitter-share-button " data-count ="none " data-via ="mdo "> Tweet</ a >
Original file line number Diff line number Diff line change
1
+ // https://github.com/tholman/github-corners
2
+ .github-corner :hover .octo-arm {
3
+ -webkit-animation : octocat- wave .56s ease-in-out ;
4
+ animation : octocat- wave .56s ease-in-out ;
5
+ }
6
+
7
+ @-webkit-keyframes octocat-wave {
8
+ 0%,
9
+ 100% {
10
+ transform : rotate (0 );
11
+ }
12
+ 20%,
13
+ 60% {
14
+ transform : rotate (-25deg );
15
+ }
16
+ 40%,
17
+ 80% {
18
+ transform : rotate (10deg );
19
+ }
20
+ }
21
+
22
+ @keyframes octocat-wave {
23
+ 0%,
24
+ 100% {
25
+ transform : rotate (0 );
26
+ }
27
+ 20%,
28
+ 60% {
29
+ transform : rotate (-25deg );
30
+ }
31
+ 40%,
32
+ 80% {
33
+ transform : rotate (10deg );
34
+ }
35
+ }
36
+
37
+ @media (max-width : 500px ) {
38
+ .github-corner :hover .octo-arm {
39
+ -webkit-animation : none ;
40
+ animation : none ;
41
+ }
42
+ .github-corner .octo-arm {
43
+ -webkit-animation : octocat- wave .56s ease-in-out ;
44
+ animation : octocat- wave .56s ease-in-out ;
45
+ }
46
+ }
You can’t perform that action at this time.
0 commit comments