This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Expand file tree Collapse file tree 2 files changed +23
-19
lines changed Original file line number Diff line number Diff line change 52
52
li <a href =" https://angular.cn/" >中文版</a >
53
53
54
54
footer( class ="background-midnight" )
55
- small.text-caption Powered by Google ©2010-2016. Code licensed under an <a href =" /license" class = " text-snow " >MIT-style License</a >. Documentation licensed under <a class = " text-snow " href =" http://creativecommons.org/licenses/by/4.0/" >CC BY 4.0</a >.
56
- a( aria-label ="View Style Guide" href =styleguide title ="Style Guide" class ="styleguide-trigger text-snow " )
55
+ small.text-caption Powered by Google ©2010-2016. Code licensed under an <a href =" /license" >MIT-style License</a >. Documentation licensed under <a href =" http://creativecommons.org/licenses/by/4.0/" >CC BY 4.0</a >.
56
+ a( aria-label ="View Style Guide" href =styleguide title ="Style Guide" class ="styleguide-trigger" )
57
57
span.icon-favorite
Original file line number Diff line number Diff line change 80
80
footer {
81
81
text-align : left ;
82
82
padding : ($unit * 2 ) ($unit * 6 );
83
- position : relative ;
83
+
84
+ @include respond-to (' mobile' ) {
85
+ text-align : center ;
86
+ }
87
+
88
+ a {
89
+ color : $snow ;
90
+ }
84
91
85
92
.styleguide-trigger {
86
- box-sizing : border-box ;
87
- position : absolute ;
88
- display : inline-block ;
89
- bottom : $unit * 2 ;
90
- right : $unit * 2 ;
91
- font-size : 14px ;
92
- line-height : 24px ;
93
- height : 24px ;
94
- margin : 0 ;
95
- padding : 0 ($unit * 3 );
96
- opacity : .24 ;
97
- transition : all .3s ;
93
+ color : $darkgrey ;
94
+ text-decoration : none ;
95
+ float : right ;
96
+ transition : color .3s ;
97
+
98
+ @include respond-to (' mobile' ) {
99
+ display : block ;
100
+ margin-top : $unit ;
101
+ font-size : 18px ;
102
+ float : none ;
103
+ }
98
104
99
105
& :hover {
100
- background : $blue-grey-700 ;
101
- text-decoration : none ;
106
+ color : $red-600 ;
102
107
}
103
108
104
109
.icon-favorite {
105
- display : inline-block ;
106
- line-height : 24px ;
110
+ line-height : 20px ;
107
111
}
108
112
}
109
113
}
You can’t perform that action at this time.
0 commit comments