修改登陆界面的背景图片以及主题风格
在外观--编辑--模板函数,里面新增加如下内容
或者在改配置文件中新增如下内容functions.php
//自定义登录页面 function custom_login_logo() { echo '<link rel="stylesheet" id="wp-admin-css" href="'.get_bloginfo('template_directory').'/css/login.css?v=2" type="text/css" />';} add_action('login_head', 'custom_login_logo');
在主题的css
目录中新增login.css
文件如下内容
body,textarea{font-size:14px;font-family:"Microsoft Yahei",宋体,PMingLiU,Verdana,Arial,Helvetica,sans-serif !important;} input{font-size:14px;font-family:Tahoma,Arial,sans-serif !important;} /*body{background:#92C1D1 url("https://picsum.photos/200/300/?random") fixed center top no-repeat !important;}*/ body{background: url('https://picsum.photos/1920/1080/?random');width:100%;height:100%;background-image:url('https://picsum.photos/1920/1080/?random');-moz-background-size: 100% 100%;-o-background-size: 100% 100%;-webkit-background-size: 100% 100%;background-size: 100% 100%;-moz-border-image: url('https://picsum.photos/1920/1080/?random') 0;background-repeat:no-repeat\9;background-image:none\9;} .login h1 a {background-image:url('/wp-content/uploads/2018/10/log20181031150644721.png') !important;background-size:170px 35px;background-position:top center; background-repeat:no-repeat;width:170px;margin:auto;margin-top:35px;height:35px;text-indent:-9999px;overflow:hidden;padding-bottom:15px;display:block;} #login { width:320px; background:rgba(0, 0, 0, 0.2); padding:0 20px 100% 12px; margin:auto; top:0px; right:15%; position:fixed; box-shadow:0px 0px 5px 0px #333; } .login form { margin-left:8px; padding:26px 24px 46px; font-weight:normal; background:rgba(255, 255, 255, 0.2); border:none; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:#000 0 0px 10px -1px;} #loginform {-webkit-border-radius:0px;border-radius:0px;} .login form .input, .login input[type="text"] { color:#555; font-weight:200; font-size:24px; line-height:1; width:100%; padding:5px; margin-top:2px; margin-right:6px; margin-bottom:16px; border:1px solid #FFF; background:#FFF !important; outline:0; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:none; } .login form .input, .login input[type="text"] { font-size:17px; padding-bottom:11px; padding-top:11px; text-indent:3px; } .login form .input, .login input[type="text"] {border:2px solid #DCE4EC;} input.button-primary{ margin-top:8px; border:#000; font-weight:bold; text-shadow:#FFF 0 0px 10px;} .login .button-primary { font-size:14px!important; line-height:22px; padding:8px 117px; border-radius:0px; } input.button-primary { background:rgba(255, 255, 255, 0.5);color:#000; } input.button-primary:hover,input.button-primary:focus { background:rgba(255, 255, 255, 0.8);color:#000; } input.button-primary:active{ background:rgba(255, 255, 255, 0.2);color:#000; } .login form .forgetmenot { font-weight:normal; float:none; margin-top:-10px; } .login #nav, .login #backtoblog {text-shadow:none;float:right;margin:0 30px 0 0px;padding:16px 0px 0 20px;} .login #nav a, .login #backtoblog a{color:#FFF!important;text-decoration:none;} .login #nav a:hover, .login #backtoblog a:hover{color:#444!important;text-decoration:none;} div.error, .login #login_error {display:none;} div.updated, .login .message {background-color: #E0FFE1;border-color: #ACE655;} .wumii-footer{display:none !important;}
最新评论
# 这只是一个创建远程登录并授权的语句、仅作为记录 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'Fit2cloud!' WITH GRANT OPTION;
当MGR集群初始化结束后,需要开启MGR集群自启动(需要有一台节点是自动开启引导) loose-group_replication_start_on_boot = ON #设置节点是否在启动时自动启动 MGR 集群 loose-group_replication_bootstrap_group = ON #设置节点是否作为初始引导节点启动集群
密码:blog.sirliu.com
本内容密码:blog.sirliu.com 最新整理的文章在这里喔:https://blog.sirliu.com/2018/11/shell_lian_xi_ti.html