Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多页分割时无法显示图标及如何禁用文字选择 #10

Closed
mcufly opened this issue Apr 2, 2018 · 1 comment
Closed

多页分割时无法显示图标及如何禁用文字选择 #10

mcufly opened this issue Apr 2, 2018 · 1 comment

Comments

@mcufly
Copy link

mcufly commented Apr 2, 2018

您好,对您的这个模版非常喜爱,在使用时发现多页分割时无法显示图标,如book图标在第二页中就无法显示出来。还有请问如何禁用文字选择呢?谢谢。

@Liberxue
Copy link
Owner

Liberxue commented Apr 3, 2018

你好:
1.你GitHub地址https://github.com/mcufly/mcufly.github.io 是fork我的,请你使用右上角fork。您下载或者git clone都是在侵权,MIT许可

在软件和软件的所有副本中都必须包含版权声明和许可声明。

2.您问的禁用文字选中采用的是css(style/style-liberxue.css)
去掉

a::before{
    color: #eb5055;
	content: attr(data-hover);
    position: absolute;
    outline:0;
    white-space: nowrap;
    opacity: 0;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	-webkit-transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
	-moz-transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
	transform: scale(1.1) translateX(10px) translateY(-10px) rotate(4deg);
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}
a:hover::before,
a:focus::before {
    outline:0;
    white-space: nowrap;
	-webkit-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	-moz-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	opacity: 1;
}   

修改为:

 a{text-decoration:none;color:#313131;outline:0;}	 
a{text-decoration:none;color:#313131;outline:0;}
a:active,a:focus,a:hover{color:#eb5055;outline:0;}	

@Liberxue Liberxue closed this as completed Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants